diff --git a/README.md b/README.md index 02d2e63..110ba9c 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -- API version: 5.7.0 -- Package version: 5.7.0 +- API version: 5.8.0 +- Package version: 5.8.0 ## Requirements diff --git a/docs/CreateNotificationSuccessResponse.md b/docs/CreateNotificationSuccessResponse.md index 3c715fc..1979319 100644 --- a/docs/CreateNotificationSuccessResponse.md +++ b/docs/CreateNotificationSuccessResponse.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | Notification identifier when the request created a notification. An empty string means no notification was created; read `errors` for details (HTTP may still be 200). | [optional] +**id** | **str** | Notification identifier when the request created a notification. An empty string means no notification was created; read `errors` for details (HTTP may still be 200). All OneSignal server SDKs expose message-sent / message-not-sent narrowing helpers (named idiomatically per language — e.g. `isMessageSent`, `is_message_sent`, `message_sent?`); prefer them over comparing `id` directly. | [optional] **external_id** | **str, none_type** | Optional correlation / idempotency-related value from the API response. This is not the end-user External ID used for targeting recipients (that lives under `include_aliases.external_id`). | [optional] **errors** | **bool, date, datetime, dict, float, int, list, str, none_type** | Polymorphic field: may be an array of human-readable strings and/or an object (for example with `invalid_aliases`, `invalid_external_user_ids`, or `invalid_player_ids`) depending on the API response; HTTP may still be 200 with partial success. Typed SDKs model this loosely so both shapes deserialize. | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index ff3744b..70814ca 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -161,6 +161,7 @@ Name | Type | Description | Notes **400** | Bad Request | - | **404** | Not Found | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -242,6 +243,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | OK | - | **400** | Bad Request | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -329,6 +331,7 @@ Name | Type | Description | Notes **404** | Not Found | - | **409** | Conflict | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -414,6 +417,7 @@ Name | Type | Description | Notes **404** | Not Found | - | **409** | Conflict | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -497,6 +501,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | OK | - | **400** | Bad Request | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -595,6 +600,7 @@ Name | Type | Description | Notes **200** | OK | - | **400** | Bad Request | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -684,6 +690,7 @@ Name | Type | Description | Notes **400** | Bad Request | - | **401** | Unauthorized | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -823,6 +830,7 @@ Name | Type | Description | Notes **200** | OK, invalid_aliases, or No Subscribed Players If a message was successfully created, you will get a 200 response with a non-empty `id` for the notification. If the 200 response contains `invalid_aliases`, that marks devices that exist in the provided app_id but are no longer subscribed. If `id` is an empty string, no notification was created: check the `errors` array (for example messages such as \"All included players are not subscribed\") even though HTTP status is still 200. This can happen when alias keys are wrong, External IDs do not resolve to subscribed users, or other validation issues. If no id is returned, then a message was not created and the targeted User IDs do not exist under the provided app_id. Any User IDs sent in the request that do not exist under the specified app_id will be ignored. | - | **400** | Bad Request | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -921,6 +929,7 @@ Name | Type | Description | Notes **400** | Bad Request | - | **409** | Conflict | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -1025,6 +1034,7 @@ Name | Type | Description | Notes **404** | Not Found | - | **409** | Operation is not permitted due to user having the maximum number of subscriptions assigned | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -1247,6 +1257,7 @@ Name | Type | Description | Notes **200** | OK | - | **400** | Bad Request | - | **422** | Unprocessable Entity | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -1385,6 +1396,7 @@ Name | Type | Description | Notes **400** | Bad Request | - | **409** | Multiple User Identity Conflict | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -1468,6 +1480,7 @@ Name | Type | Description | Notes **404** | Not Found | - | **409** | Conflict | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -1543,6 +1556,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | OK | - | **400** | Bad Request | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -1622,6 +1636,7 @@ Name | Type | Description | Notes **400** | Bad Request | - | **404** | Not Found | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -1699,6 +1714,7 @@ void (empty response body) **404** | Not Found | - | **409** | Conflict | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -1776,6 +1792,7 @@ Name | Type | Description | Notes **200** | OK | - | **400** | Bad Request | - | **404** | Not Found | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -1854,6 +1871,7 @@ void (empty response body) **400** | Bad Request | - | **409** | Conflict | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -1933,6 +1951,7 @@ Name | Type | Description | Notes **400** | Bad Request | - | **404** | Not Found | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -2029,6 +2048,7 @@ Name | Type | Description | Notes **200** | OK | - | **400** | Bad Request | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -2109,6 +2129,7 @@ Name | Type | Description | Notes **400** | Bad Request | - | **404** | Not Found | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -2185,6 +2206,7 @@ Name | Type | Description | Notes **200** | OK | - | **400** | Bad Request | - | **404** | Not Found | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -2261,6 +2283,7 @@ Name | Type | Description | Notes **200** | OK | - | **400** | Bad Request | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -2333,6 +2356,7 @@ This endpoint does not need any parameter. **200** | OK | - | **400** | Bad Request | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -2412,6 +2436,7 @@ Name | Type | Description | Notes **400** | Bad Request | - | **404** | Not Found | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -2496,6 +2521,7 @@ Name | Type | Description | Notes **400** | Bad Request | - | **404** | Not Found | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -2535,6 +2561,7 @@ with onesignal.ApiClient(configuration) as api_client: limit = 10 # How many notifications to return. Max is 50. Default is 50. (optional) offset = 0 # Page offset. Default is 0. Results are sorted by queued_at in descending order. queued_at is a representation of the time that the notification was queued at. (optional) kind = 0 # Kind of notifications returned: * unset - All notification types (default) * `0` - Dashboard only * `1` - API only * `3` - Automated only (optional) + time_offset = "2025-01-01T00:00:00.000Z" # Time-offset pagination cursor for sequential pulls of all messages. Accepts either an ISO 8601 formatted timestamp (e.g. `2025-01-01T00:00:00.000Z`) or the opaque Base64 cursor token returned as `next_time_offset` in a prior response. When set, results are sorted ascending by send_after and the standard `offset` parameter cannot be used. Repeat the request with each `next_time_offset` until an empty notifications array is returned. (optional) # example passing only required values which don't have defaults set try: @@ -2550,7 +2577,7 @@ with onesignal.ApiClient(configuration) as api_client: # and optional values try: # View notifications - api_response = api_instance.get_notifications(app_id, limit=limit, offset=offset, kind=kind) + api_response = api_instance.get_notifications(app_id, limit=limit, offset=offset, kind=kind, time_offset=time_offset) pprint(api_response) except onesignal.ApiException as e: print("Exception when calling DefaultApi->get_notifications: %s\n" % e) @@ -2567,6 +2594,7 @@ Name | Type | Description | Notes **limit** | **int**| How many notifications to return. Max is 50. Default is 50. | [optional] **offset** | **int**| Page offset. Default is 0. Results are sorted by queued_at in descending order. queued_at is a representation of the time that the notification was queued at. | [optional] **kind** | **int**| Kind of notifications returned: * unset - All notification types (default) * `0` - Dashboard only * `1` - API only * `3` - Automated only | [optional] + **time_offset** | **str**| Time-offset pagination cursor for sequential pulls of all messages. Accepts either an ISO 8601 formatted timestamp (e.g. `2025-01-01T00:00:00.000Z`) or the opaque Base64 cursor token returned as `next_time_offset` in a prior response. When set, results are sorted ascending by send_after and the standard `offset` parameter cannot be used. Repeat the request with each `next_time_offset` until an empty notifications array is returned. | [optional] ### Return type @@ -2589,6 +2617,7 @@ Name | Type | Description | Notes **200** | OK | - | **400** | Bad Request | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -2686,6 +2715,7 @@ Name | Type | Description | Notes **200** | OK | - | **400** | Bad Request | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -2777,6 +2807,7 @@ Name | Type | Description | Notes **201** | OK | - | **400** | Bad Request | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -2857,6 +2888,7 @@ Name | Type | Description | Notes **400** | Bad Request | - | **404** | Not Found | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -2933,6 +2965,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | OK | - | **400** | Bad Request | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -3131,6 +3164,7 @@ Name | Type | Description | Notes **201** | Created | - | **400** | Bad Request | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -3217,6 +3251,7 @@ Name | Type | Description | Notes **404** | Not Found | - | **409** | Conflict | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -3297,6 +3332,7 @@ Name | Type | Description | Notes **202** | OK | - | **400** | Bad Request | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -3381,6 +3417,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | OK | - | **400** | Bad Request | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -3481,6 +3518,7 @@ Name | Type | Description | Notes **200** | OK | - | **400** | Bad Request | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -3660,6 +3698,7 @@ Name | Type | Description | Notes **200** | OK | - | **400** | Bad Request | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -3760,6 +3799,7 @@ void (empty response body) **404** | Not Found | - | **409** | Conflict | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -3861,6 +3901,7 @@ Name | Type | Description | Notes **202** | ACCEPTED | - | **400** | Bad Request | - | **404** | Not Found | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -4085,6 +4126,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | OK | - | **400** | Bad Request | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -4202,6 +4244,7 @@ Name | Type | Description | Notes **400** | Bad Request | - | **409** | Conflict | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -4276,6 +4319,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | OK | - | **400** | Bad Request | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -4353,6 +4397,7 @@ Name | Type | Description | Notes **200** | OK | - | **400** | Bad Request | - | **404** | Not Found | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) @@ -4446,6 +4491,7 @@ Name | Type | Description | Notes **200** | OK | - | **400** | Bad Request | - | **429** | Rate Limit Exceeded | - | +**0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api) diff --git a/docs/NotificationSlice.md b/docs/NotificationSlice.md index f6ba919..6970bef 100644 --- a/docs/NotificationSlice.md +++ b/docs/NotificationSlice.md @@ -7,6 +7,8 @@ Name | Type | Description | Notes **total_count** | **int** | | [optional] **offset** | **int** | | [optional] **limit** | **int** | | [optional] +**time_offset** | **str** | The time_offset cursor specified in the request, if any. | [optional] +**next_time_offset** | **str** | An opaque Base64 cursor token representing the next page of messages to fetch. Present when time_offset was provided in the request. Pass this value as time_offset on the next request to continue paginating. | [optional] **notifications** | [**[NotificationWithMeta]**](NotificationWithMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/onesignal/__init__.py b/onesignal/__init__.py index e6232d7..ab9a648 100644 --- a/onesignal/__init__.py +++ b/onesignal/__init__.py @@ -5,13 +5,13 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ -__version__ = "5.7.0" +__version__ = "5.8.0" # import ApiClient from onesignal.api_client import ApiClient diff --git a/onesignal/api/default_api.py b/onesignal/api/default_api.py index 29c4bb3..a72398d 100644 --- a/onesignal/api/default_api.py +++ b/onesignal/api/default_api.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ @@ -1608,6 +1608,7 @@ def __init__(self, api_client=None): 'limit', 'offset', 'kind', + 'time_offset', ], 'required': [ 'app_id', @@ -1640,18 +1641,22 @@ def __init__(self, api_client=None): (int,), 'kind': (int,), + 'time_offset': + (str,), }, 'attribute_map': { 'app_id': 'app_id', 'limit': 'limit', 'offset': 'offset', 'kind': 'kind', + 'time_offset': 'time_offset', }, 'location_map': { 'app_id': 'query', 'limit': 'query', 'offset': 'query', 'kind': 'query', + 'time_offset': 'query', }, 'collection_format_map': { } @@ -5041,6 +5046,7 @@ def get_notifications( limit (int): How many notifications to return. Max is 50. Default is 50.. [optional] offset (int): Page offset. Default is 0. Results are sorted by queued_at in descending order. queued_at is a representation of the time that the notification was queued at.. [optional] kind (int): Kind of notifications returned: * unset - All notification types (default) * `0` - Dashboard only * `1` - API only * `3` - Automated only . [optional] + time_offset (str): Time-offset pagination cursor for sequential pulls of all messages. Accepts either an ISO 8601 formatted timestamp (e.g. `2025-01-01T00:00:00.000Z`) or the opaque Base64 cursor token returned as `next_time_offset` in a prior response. When set, results are sorted ascending by send_after and the standard `offset` parameter cannot be used. Repeat the request with each `next_time_offset` until an empty notifications array is returned.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/onesignal/api_client.py b/onesignal/api_client.py index 2f0760b..02bb610 100644 --- a/onesignal/api_client.py +++ b/onesignal/api_client.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/5.7.0/python' + self.user_agent = 'OpenAPI-Generator/5.8.0/python' def __enter__(self): return self @@ -142,7 +142,7 @@ def __call_api( # header parameters header_params = header_params or {} header_params.update(self.default_headers) - header_params['OS-Usage-Data'] = "kind=sdk, sdk-name=onesignal-python, version=5.7.0" + header_params['OS-Usage-Data'] = "kind=sdk, sdk-name=onesignal-python, version=5.8.0" if self.cookie: header_params['Cookie'] = self.cookie if header_params: diff --git a/onesignal/configuration.py b/onesignal/configuration.py index ad32d4f..d781e4e 100644 --- a/onesignal/configuration.py +++ b/onesignal/configuration.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ @@ -399,8 +399,8 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 5.7.0\n"\ - "SDK Package Version: 5.7.0".\ + "Version of the API: 5.8.0\n"\ + "SDK Package Version: 5.8.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/onesignal/exceptions.py b/onesignal/exceptions.py index bd8fb01..1f07a5e 100644 --- a/onesignal/exceptions.py +++ b/onesignal/exceptions.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/helpers.py b/onesignal/helpers.py index 45a85a8..f44c150 100644 --- a/onesignal/helpers.py +++ b/onesignal/helpers.py @@ -96,3 +96,30 @@ def create_notification_with_retry(api, notification, max_retries=3, base_delay= if delay > 0: time.sleep(delay) attempt += 1 + + +def is_message_sent(response): + """Return True when a POST /notifications 200 response is the "message + sent" branch -- a notification was created and ``id`` is a non-empty string. + + POST /notifications returns 200 in two cases that share the + ``CreateNotificationSuccessResponse`` shape: a notification was created + (non-empty ``id``), or none was (empty ``id``, with ``errors`` carrying the + reason). Prefer this guard over inspecting ``id`` directly. + + :param response: a ``CreateNotificationSuccessResponse`` + :return: True if a notification was created + """ + notification_id = getattr(response, 'id', None) + return isinstance(notification_id, str) and len(notification_id) > 0 + + +def is_message_not_sent(response): + """Return True when a POST /notifications 200 response is the "message not + sent" branch -- no notification was created (``id`` is absent or empty); + inspect ``errors`` for why. + + :param response: a ``CreateNotificationSuccessResponse`` + :return: True if no notification was created + """ + return not is_message_sent(response) diff --git a/onesignal/model/api_key_token.py b/onesignal/model/api_key_token.py index 59c289c..b21fe37 100644 --- a/onesignal/model/api_key_token.py +++ b/onesignal/model/api_key_token.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/api_key_tokens_list_response.py b/onesignal/model/api_key_tokens_list_response.py index c87cfc9..f222724 100644 --- a/onesignal/model/api_key_tokens_list_response.py +++ b/onesignal/model/api_key_tokens_list_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/app.py b/onesignal/model/app.py index 066232f..a9a8e17 100644 --- a/onesignal/model/app.py +++ b/onesignal/model/app.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/apps.py b/onesignal/model/apps.py index 731c35c..a626a9c 100644 --- a/onesignal/model/apps.py +++ b/onesignal/model/apps.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/basic_notification.py b/onesignal/model/basic_notification.py index a952b71..bc5e65c 100644 --- a/onesignal/model/basic_notification.py +++ b/onesignal/model/basic_notification.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/basic_notification_all_of.py b/onesignal/model/basic_notification_all_of.py index d8c4621..dff315e 100644 --- a/onesignal/model/basic_notification_all_of.py +++ b/onesignal/model/basic_notification_all_of.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/basic_notification_all_of_android_background_layout.py b/onesignal/model/basic_notification_all_of_android_background_layout.py index b99df62..38e8c85 100644 --- a/onesignal/model/basic_notification_all_of_android_background_layout.py +++ b/onesignal/model/basic_notification_all_of_android_background_layout.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/button.py b/onesignal/model/button.py index d6dbdea..ae1397d 100644 --- a/onesignal/model/button.py +++ b/onesignal/model/button.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/copy_template_request.py b/onesignal/model/copy_template_request.py index 4eda75b..a7505f1 100644 --- a/onesignal/model/copy_template_request.py +++ b/onesignal/model/copy_template_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/create_api_key_request.py b/onesignal/model/create_api_key_request.py index a35797b..07c3bb6 100644 --- a/onesignal/model/create_api_key_request.py +++ b/onesignal/model/create_api_key_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/create_api_key_response.py b/onesignal/model/create_api_key_response.py index 9fc9c15..caaf71b 100644 --- a/onesignal/model/create_api_key_response.py +++ b/onesignal/model/create_api_key_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/create_notification_success_response.py b/onesignal/model/create_notification_success_response.py index 4065ce0..b4152e1 100644 --- a/onesignal/model/create_notification_success_response.py +++ b/onesignal/model/create_notification_success_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ @@ -139,7 +139,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): Notification identifier when the request created a notification. An empty string means no notification was created; read `errors` for details (HTTP may still be 200).. [optional] # noqa: E501 + id (str): Notification identifier when the request created a notification. An empty string means no notification was created; read `errors` for details (HTTP may still be 200). All OneSignal server SDKs expose message-sent / message-not-sent narrowing helpers (named idiomatically per language — e.g. `isMessageSent`, `is_message_sent`, `message_sent?`); prefer them over comparing `id` directly.. [optional] # noqa: E501 external_id (str, none_type): Optional correlation / idempotency-related value from the API response. This is not the end-user External ID used for targeting recipients (that lives under `include_aliases.external_id`).. [optional] # noqa: E501 errors (bool, date, datetime, dict, float, int, list, str, none_type): Polymorphic field: may be an array of human-readable strings and/or an object (for example with `invalid_aliases`, `invalid_external_user_ids`, or `invalid_player_ids`) depending on the API response; HTTP may still be 200 with partial success. Typed SDKs model this loosely so both shapes deserialize.. [optional] # noqa: E501 """ @@ -227,7 +227,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): Notification identifier when the request created a notification. An empty string means no notification was created; read `errors` for details (HTTP may still be 200).. [optional] # noqa: E501 + id (str): Notification identifier when the request created a notification. An empty string means no notification was created; read `errors` for details (HTTP may still be 200). All OneSignal server SDKs expose message-sent / message-not-sent narrowing helpers (named idiomatically per language — e.g. `isMessageSent`, `is_message_sent`, `message_sent?`); prefer them over comparing `id` directly.. [optional] # noqa: E501 external_id (str, none_type): Optional correlation / idempotency-related value from the API response. This is not the end-user External ID used for targeting recipients (that lives under `include_aliases.external_id`).. [optional] # noqa: E501 errors (bool, date, datetime, dict, float, int, list, str, none_type): Polymorphic field: may be an array of human-readable strings and/or an object (for example with `invalid_aliases`, `invalid_external_user_ids`, or `invalid_player_ids`) depending on the API response; HTTP may still be 200 with partial success. Typed SDKs model this loosely so both shapes deserialize.. [optional] # noqa: E501 """ diff --git a/onesignal/model/create_segment_conflict_response.py b/onesignal/model/create_segment_conflict_response.py index d02569f..fdbf421 100644 --- a/onesignal/model/create_segment_conflict_response.py +++ b/onesignal/model/create_segment_conflict_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/create_segment_success_response.py b/onesignal/model/create_segment_success_response.py index 9828e64..6a63bd4 100644 --- a/onesignal/model/create_segment_success_response.py +++ b/onesignal/model/create_segment_success_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/create_template_request.py b/onesignal/model/create_template_request.py index 9e288b5..38ea7fd 100644 --- a/onesignal/model/create_template_request.py +++ b/onesignal/model/create_template_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/create_user_conflict_response.py b/onesignal/model/create_user_conflict_response.py index 1b98a1c..0d02aac 100644 --- a/onesignal/model/create_user_conflict_response.py +++ b/onesignal/model/create_user_conflict_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/create_user_conflict_response_errors_inner.py b/onesignal/model/create_user_conflict_response_errors_inner.py index dadcecf..4ac40a1 100644 --- a/onesignal/model/create_user_conflict_response_errors_inner.py +++ b/onesignal/model/create_user_conflict_response_errors_inner.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/create_user_conflict_response_errors_items_meta.py b/onesignal/model/create_user_conflict_response_errors_items_meta.py index 7b9cb8e..76f3375 100644 --- a/onesignal/model/create_user_conflict_response_errors_items_meta.py +++ b/onesignal/model/create_user_conflict_response_errors_items_meta.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/custom_event.py b/onesignal/model/custom_event.py index f873377..60c838a 100644 --- a/onesignal/model/custom_event.py +++ b/onesignal/model/custom_event.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/custom_events_request.py b/onesignal/model/custom_events_request.py index cd39fdd..4b256d7 100644 --- a/onesignal/model/custom_events_request.py +++ b/onesignal/model/custom_events_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/delivery_data.py b/onesignal/model/delivery_data.py index a68aa7f..dca1c5e 100644 --- a/onesignal/model/delivery_data.py +++ b/onesignal/model/delivery_data.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/export_events_success_response.py b/onesignal/model/export_events_success_response.py index 1d14ca6..e9f6cd9 100644 --- a/onesignal/model/export_events_success_response.py +++ b/onesignal/model/export_events_success_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/export_subscriptions_request_body.py b/onesignal/model/export_subscriptions_request_body.py index 6aed1bb..0a4f0d4 100644 --- a/onesignal/model/export_subscriptions_request_body.py +++ b/onesignal/model/export_subscriptions_request_body.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/export_subscriptions_success_response.py b/onesignal/model/export_subscriptions_success_response.py index de57973..0ed258c 100644 --- a/onesignal/model/export_subscriptions_success_response.py +++ b/onesignal/model/export_subscriptions_success_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/filter.py b/onesignal/model/filter.py index 5e18008..ee2aee9 100644 --- a/onesignal/model/filter.py +++ b/onesignal/model/filter.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/filter_expression.py b/onesignal/model/filter_expression.py index b4ab911..ba23779 100644 --- a/onesignal/model/filter_expression.py +++ b/onesignal/model/filter_expression.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/generic_error.py b/onesignal/model/generic_error.py index d7c55f4..5a338a4 100644 --- a/onesignal/model/generic_error.py +++ b/onesignal/model/generic_error.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/generic_success_bool_response.py b/onesignal/model/generic_success_bool_response.py index 760ffb8..777883b 100644 --- a/onesignal/model/generic_success_bool_response.py +++ b/onesignal/model/generic_success_bool_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/get_notification_history_request_body.py b/onesignal/model/get_notification_history_request_body.py index 4b8490b..feaa6b0 100644 --- a/onesignal/model/get_notification_history_request_body.py +++ b/onesignal/model/get_notification_history_request_body.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/get_segments_success_response.py b/onesignal/model/get_segments_success_response.py index 97ca0c6..d326d4c 100644 --- a/onesignal/model/get_segments_success_response.py +++ b/onesignal/model/get_segments_success_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/identity_object.py b/onesignal/model/identity_object.py index 1cd206e..953b14e 100644 --- a/onesignal/model/identity_object.py +++ b/onesignal/model/identity_object.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/include_aliases.py b/onesignal/model/include_aliases.py index 4b80d30..3e22b0f 100644 --- a/onesignal/model/include_aliases.py +++ b/onesignal/model/include_aliases.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/language_string_map.py b/onesignal/model/language_string_map.py index 8d2741c..f4f2542 100644 --- a/onesignal/model/language_string_map.py +++ b/onesignal/model/language_string_map.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/notification.py b/onesignal/model/notification.py index bdcc3c1..99faa83 100644 --- a/onesignal/model/notification.py +++ b/onesignal/model/notification.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/notification_all_of.py b/onesignal/model/notification_all_of.py index f588cbe..f23097e 100644 --- a/onesignal/model/notification_all_of.py +++ b/onesignal/model/notification_all_of.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/notification_history_success_response.py b/onesignal/model/notification_history_success_response.py index 8ec7816..b938383 100644 --- a/onesignal/model/notification_history_success_response.py +++ b/onesignal/model/notification_history_success_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/notification_slice.py b/onesignal/model/notification_slice.py index 1bef8a7..d1fc921 100644 --- a/onesignal/model/notification_slice.py +++ b/onesignal/model/notification_slice.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ @@ -91,6 +91,8 @@ def openapi_types(): 'total_count': (int,), # noqa: E501 'offset': (int,), # noqa: E501 'limit': (int,), # noqa: E501 + 'time_offset': (str,), # noqa: E501 + 'next_time_offset': (str,), # noqa: E501 'notifications': ([NotificationWithMeta],), # noqa: E501 } @@ -103,6 +105,8 @@ def discriminator(): 'total_count': 'total_count', # noqa: E501 'offset': 'offset', # noqa: E501 'limit': 'limit', # noqa: E501 + 'time_offset': 'time_offset', # noqa: E501 + 'next_time_offset': 'next_time_offset', # noqa: E501 'notifications': 'notifications', # noqa: E501 } @@ -150,6 +154,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 total_count (int): [optional] # noqa: E501 offset (int): [optional] # noqa: E501 limit (int): [optional] # noqa: E501 + time_offset (str): The time_offset cursor specified in the request, if any.. [optional] # noqa: E501 + next_time_offset (str): An opaque Base64 cursor token representing the next page of messages to fetch. Present when time_offset was provided in the request. Pass this value as time_offset on the next request to continue paginating.. [optional] # noqa: E501 notifications ([NotificationWithMeta]): [optional] # noqa: E501 """ @@ -239,6 +245,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 total_count (int): [optional] # noqa: E501 offset (int): [optional] # noqa: E501 limit (int): [optional] # noqa: E501 + time_offset (str): The time_offset cursor specified in the request, if any.. [optional] # noqa: E501 + next_time_offset (str): An opaque Base64 cursor token representing the next page of messages to fetch. Present when time_offset was provided in the request. Pass this value as time_offset on the next request to continue paginating.. [optional] # noqa: E501 notifications ([NotificationWithMeta]): [optional] # noqa: E501 """ diff --git a/onesignal/model/notification_target.py b/onesignal/model/notification_target.py index 942003f..70050b3 100644 --- a/onesignal/model/notification_target.py +++ b/onesignal/model/notification_target.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/notification_with_meta.py b/onesignal/model/notification_with_meta.py index 8f99e64..ee79fae 100644 --- a/onesignal/model/notification_with_meta.py +++ b/onesignal/model/notification_with_meta.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/notification_with_meta_all_of.py b/onesignal/model/notification_with_meta_all_of.py index cf5aabc..e71a597 100644 --- a/onesignal/model/notification_with_meta_all_of.py +++ b/onesignal/model/notification_with_meta_all_of.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/operator.py b/onesignal/model/operator.py index 9695c44..bd1710a 100644 --- a/onesignal/model/operator.py +++ b/onesignal/model/operator.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/outcome_data.py b/onesignal/model/outcome_data.py index 79f4250..5d198d7 100644 --- a/onesignal/model/outcome_data.py +++ b/onesignal/model/outcome_data.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/outcomes_data.py b/onesignal/model/outcomes_data.py index c7a28f0..aa76fd5 100644 --- a/onesignal/model/outcomes_data.py +++ b/onesignal/model/outcomes_data.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/platform_delivery_data.py b/onesignal/model/platform_delivery_data.py index 5d1bc8f..54eece2 100644 --- a/onesignal/model/platform_delivery_data.py +++ b/onesignal/model/platform_delivery_data.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/platform_delivery_data_email_all_of.py b/onesignal/model/platform_delivery_data_email_all_of.py index 9742e6b..733756b 100644 --- a/onesignal/model/platform_delivery_data_email_all_of.py +++ b/onesignal/model/platform_delivery_data_email_all_of.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/platform_delivery_data_sms_all_of.py b/onesignal/model/platform_delivery_data_sms_all_of.py index dcba928..9ecc3dc 100644 --- a/onesignal/model/platform_delivery_data_sms_all_of.py +++ b/onesignal/model/platform_delivery_data_sms_all_of.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/properties_body.py b/onesignal/model/properties_body.py index c378a54..4a9daec 100644 --- a/onesignal/model/properties_body.py +++ b/onesignal/model/properties_body.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/properties_deltas.py b/onesignal/model/properties_deltas.py index 544661a..ffad08e 100644 --- a/onesignal/model/properties_deltas.py +++ b/onesignal/model/properties_deltas.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/properties_object.py b/onesignal/model/properties_object.py index 1210ee5..8ff98ff 100644 --- a/onesignal/model/properties_object.py +++ b/onesignal/model/properties_object.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/purchase.py b/onesignal/model/purchase.py index c8d368f..6683633 100644 --- a/onesignal/model/purchase.py +++ b/onesignal/model/purchase.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/rate_limit_error.py b/onesignal/model/rate_limit_error.py index 8a397d9..03dc2f8 100644 --- a/onesignal/model/rate_limit_error.py +++ b/onesignal/model/rate_limit_error.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/segment.py b/onesignal/model/segment.py index 5b7177c..e4a0ecd 100644 --- a/onesignal/model/segment.py +++ b/onesignal/model/segment.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/segment_data.py b/onesignal/model/segment_data.py index 3f51d53..ea984a7 100644 --- a/onesignal/model/segment_data.py +++ b/onesignal/model/segment_data.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/segment_notification_target.py b/onesignal/model/segment_notification_target.py index 0b260a3..0b2d70e 100644 --- a/onesignal/model/segment_notification_target.py +++ b/onesignal/model/segment_notification_target.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/start_live_activity_request.py b/onesignal/model/start_live_activity_request.py index 7d8c31e..652b877 100644 --- a/onesignal/model/start_live_activity_request.py +++ b/onesignal/model/start_live_activity_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/start_live_activity_success_response.py b/onesignal/model/start_live_activity_success_response.py index 9a2b85e..654ef78 100644 --- a/onesignal/model/start_live_activity_success_response.py +++ b/onesignal/model/start_live_activity_success_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/subscription.py b/onesignal/model/subscription.py index a9052fe..d76318a 100644 --- a/onesignal/model/subscription.py +++ b/onesignal/model/subscription.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/subscription_body.py b/onesignal/model/subscription_body.py index 04b28c6..f008730 100644 --- a/onesignal/model/subscription_body.py +++ b/onesignal/model/subscription_body.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/subscription_notification_target.py b/onesignal/model/subscription_notification_target.py index c4cd9cf..586f7f8 100644 --- a/onesignal/model/subscription_notification_target.py +++ b/onesignal/model/subscription_notification_target.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/template_resource.py b/onesignal/model/template_resource.py index dddf49c..9966c54 100644 --- a/onesignal/model/template_resource.py +++ b/onesignal/model/template_resource.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/templates_list_response.py b/onesignal/model/templates_list_response.py index e649c78..279efda 100644 --- a/onesignal/model/templates_list_response.py +++ b/onesignal/model/templates_list_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/transfer_subscription_request_body.py b/onesignal/model/transfer_subscription_request_body.py index 8e39ee9..30c5f01 100644 --- a/onesignal/model/transfer_subscription_request_body.py +++ b/onesignal/model/transfer_subscription_request_body.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/update_api_key_request.py b/onesignal/model/update_api_key_request.py index 15b0ff4..9b8cb39 100644 --- a/onesignal/model/update_api_key_request.py +++ b/onesignal/model/update_api_key_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/update_live_activity_request.py b/onesignal/model/update_live_activity_request.py index 81fe5bd..5c4a579 100644 --- a/onesignal/model/update_live_activity_request.py +++ b/onesignal/model/update_live_activity_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/update_live_activity_success_response.py b/onesignal/model/update_live_activity_success_response.py index f15bc5d..a0e1473 100644 --- a/onesignal/model/update_live_activity_success_response.py +++ b/onesignal/model/update_live_activity_success_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/update_template_request.py b/onesignal/model/update_template_request.py index 4ed4ba7..3a67fef 100644 --- a/onesignal/model/update_template_request.py +++ b/onesignal/model/update_template_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/update_user_request.py b/onesignal/model/update_user_request.py index 6178961..984be9c 100644 --- a/onesignal/model/update_user_request.py +++ b/onesignal/model/update_user_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/user.py b/onesignal/model/user.py index 38873e0..de66d96 100644 --- a/onesignal/model/user.py +++ b/onesignal/model/user.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/user_identity_body.py b/onesignal/model/user_identity_body.py index 6890215..74da98a 100644 --- a/onesignal/model/user_identity_body.py +++ b/onesignal/model/user_identity_body.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model/web_button.py b/onesignal/model/web_button.py index 6ed3114..a4c4e45 100644 --- a/onesignal/model/web_button.py +++ b/onesignal/model/web_button.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/model_utils.py b/onesignal/model_utils.py index 088b9f4..af3931b 100644 --- a/onesignal/model_utils.py +++ b/onesignal/model_utils.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/onesignal/rest.py b/onesignal/rest.py index 92dba0f..85e4873 100644 --- a/onesignal/rest.py +++ b/onesignal/rest.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/setup.py b/setup.py index 4d4c3be..4cd94cc 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ @@ -12,7 +12,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "onesignal_python_api" -VERSION = "5.7.0" +VERSION = "5.8.0" # To install the library, run the following # # python setup.py install diff --git a/test/test_api_key_token.py b/test/test_api_key_token.py index a44dd60..0b892bf 100644 --- a/test/test_api_key_token.py +++ b/test/test_api_key_token.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_key_tokens_list_response.py b/test/test_api_key_tokens_list_response.py index c21afbb..ce4816b 100644 --- a/test/test_api_key_tokens_list_response.py +++ b/test/test_api_key_tokens_list_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_app.py b/test/test_app.py index d29a333..222cad2 100644 --- a/test/test_app.py +++ b/test/test_app.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_apps.py b/test/test_apps.py index cda105f..c5c7920 100644 --- a/test/test_apps.py +++ b/test/test_apps.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_basic_notification.py b/test/test_basic_notification.py index 4d50783..373317f 100644 --- a/test/test_basic_notification.py +++ b/test/test_basic_notification.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_basic_notification_all_of.py b/test/test_basic_notification_all_of.py index daa6c57..516e52b 100644 --- a/test/test_basic_notification_all_of.py +++ b/test/test_basic_notification_all_of.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_basic_notification_all_of_android_background_layout.py b/test/test_basic_notification_all_of_android_background_layout.py index 8e2e79a..94ae8c7 100644 --- a/test/test_basic_notification_all_of_android_background_layout.py +++ b/test/test_basic_notification_all_of_android_background_layout.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_button.py b/test/test_button.py index a78f129..cf4a093 100644 --- a/test/test_button.py +++ b/test/test_button.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_copy_template_request.py b/test/test_copy_template_request.py index e014c96..ba17139 100644 --- a/test/test_copy_template_request.py +++ b/test/test_copy_template_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_create_api_key_request.py b/test/test_create_api_key_request.py index 00dff1b..98aa640 100644 --- a/test/test_create_api_key_request.py +++ b/test/test_create_api_key_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_create_api_key_response.py b/test/test_create_api_key_response.py index d73b959..ff67e5b 100644 --- a/test/test_create_api_key_response.py +++ b/test/test_create_api_key_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_create_notification_success_response.py b/test/test_create_notification_success_response.py index 282169f..dda438a 100644 --- a/test/test_create_notification_success_response.py +++ b/test/test_create_notification_success_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_create_segment_conflict_response.py b/test/test_create_segment_conflict_response.py index 0ff6857..f144237 100644 --- a/test/test_create_segment_conflict_response.py +++ b/test/test_create_segment_conflict_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_create_segment_success_response.py b/test/test_create_segment_success_response.py index c3ec707..f286e99 100644 --- a/test/test_create_segment_success_response.py +++ b/test/test_create_segment_success_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_create_template_request.py b/test/test_create_template_request.py index f67de73..200c863 100644 --- a/test/test_create_template_request.py +++ b/test/test_create_template_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_create_user_conflict_response.py b/test/test_create_user_conflict_response.py index 2620a43..1df919e 100644 --- a/test/test_create_user_conflict_response.py +++ b/test/test_create_user_conflict_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_create_user_conflict_response_errors_inner.py b/test/test_create_user_conflict_response_errors_inner.py index a423caa..4b0da88 100644 --- a/test/test_create_user_conflict_response_errors_inner.py +++ b/test/test_create_user_conflict_response_errors_inner.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_create_user_conflict_response_errors_items_meta.py b/test/test_create_user_conflict_response_errors_items_meta.py index 917a79a..423fc6c 100644 --- a/test/test_create_user_conflict_response_errors_items_meta.py +++ b/test/test_create_user_conflict_response_errors_items_meta.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_custom_event.py b/test/test_custom_event.py index 82cc195..10a4247 100644 --- a/test/test_custom_event.py +++ b/test/test_custom_event.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_custom_events_request.py b/test/test_custom_events_request.py index 555d7a0..388c881 100644 --- a/test/test_custom_events_request.py +++ b/test/test_custom_events_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_default_api.py b/test/test_default_api.py index e9c0286..9584bd3 100644 --- a/test/test_default_api.py +++ b/test/test_default_api.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_delivery_data.py b/test/test_delivery_data.py index 3fcb4fb..435fc52 100644 --- a/test/test_delivery_data.py +++ b/test/test_delivery_data.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_export_events_success_response.py b/test/test_export_events_success_response.py index 5a3bf59..48e651a 100644 --- a/test/test_export_events_success_response.py +++ b/test/test_export_events_success_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_export_subscriptions_request_body.py b/test/test_export_subscriptions_request_body.py index ad62f20..e27bf94 100644 --- a/test/test_export_subscriptions_request_body.py +++ b/test/test_export_subscriptions_request_body.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_export_subscriptions_success_response.py b/test/test_export_subscriptions_success_response.py index 3ceae5e..afb4328 100644 --- a/test/test_export_subscriptions_success_response.py +++ b/test/test_export_subscriptions_success_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_filter.py b/test/test_filter.py index 22f0a61..e24a849 100644 --- a/test/test_filter.py +++ b/test/test_filter.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_filter_expression.py b/test/test_filter_expression.py index 5fadbd4..cebaf24 100644 --- a/test/test_filter_expression.py +++ b/test/test_filter_expression.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_generic_error.py b/test/test_generic_error.py index 85bbe5c..3c0af5a 100644 --- a/test/test_generic_error.py +++ b/test/test_generic_error.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_generic_success_bool_response.py b/test/test_generic_success_bool_response.py index 41ef92d..69589a6 100644 --- a/test/test_generic_success_bool_response.py +++ b/test/test_generic_success_bool_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_get_notification_history_request_body.py b/test/test_get_notification_history_request_body.py index 0ed33f8..997d3ee 100644 --- a/test/test_get_notification_history_request_body.py +++ b/test/test_get_notification_history_request_body.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_get_segments_success_response.py b/test/test_get_segments_success_response.py index 9bf2b8e..957a7b9 100644 --- a/test/test_get_segments_success_response.py +++ b/test/test_get_segments_success_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_identity_object.py b/test/test_identity_object.py index 72ed686..6cd53ee 100644 --- a/test/test_identity_object.py +++ b/test/test_identity_object.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_include_aliases.py b/test/test_include_aliases.py index d02d5fb..af2ce75 100644 --- a/test/test_include_aliases.py +++ b/test/test_include_aliases.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_language_string_map.py b/test/test_language_string_map.py index 004aae9..d31c891 100644 --- a/test/test_language_string_map.py +++ b/test/test_language_string_map.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_notification.py b/test/test_notification.py index 47ad8a3..7e05596 100644 --- a/test/test_notification.py +++ b/test/test_notification.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_notification_all_of.py b/test/test_notification_all_of.py index 63cec38..3684501 100644 --- a/test/test_notification_all_of.py +++ b/test/test_notification_all_of.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_notification_history_success_response.py b/test/test_notification_history_success_response.py index 173ee96..b7d7ab0 100644 --- a/test/test_notification_history_success_response.py +++ b/test/test_notification_history_success_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_notification_slice.py b/test/test_notification_slice.py index db42584..609d552 100644 --- a/test/test_notification_slice.py +++ b/test/test_notification_slice.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_notification_target.py b/test/test_notification_target.py index 28edd1f..22d5a83 100644 --- a/test/test_notification_target.py +++ b/test/test_notification_target.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_notification_with_meta.py b/test/test_notification_with_meta.py index 74a8cdf..132b2ae 100644 --- a/test/test_notification_with_meta.py +++ b/test/test_notification_with_meta.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_notification_with_meta_all_of.py b/test/test_notification_with_meta_all_of.py index 227cc03..c6e7f6f 100644 --- a/test/test_notification_with_meta_all_of.py +++ b/test/test_notification_with_meta_all_of.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_operator.py b/test/test_operator.py index 454dc78..59899f2 100644 --- a/test/test_operator.py +++ b/test/test_operator.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_outcome_data.py b/test/test_outcome_data.py index 4e64129..4893fcc 100644 --- a/test/test_outcome_data.py +++ b/test/test_outcome_data.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_outcomes_data.py b/test/test_outcomes_data.py index 136659b..c5a6daf 100644 --- a/test/test_outcomes_data.py +++ b/test/test_outcomes_data.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_platform_delivery_data.py b/test/test_platform_delivery_data.py index 7e858bb..228b226 100644 --- a/test/test_platform_delivery_data.py +++ b/test/test_platform_delivery_data.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_platform_delivery_data_email_all_of.py b/test/test_platform_delivery_data_email_all_of.py index fb3f0f5..e171435 100644 --- a/test/test_platform_delivery_data_email_all_of.py +++ b/test/test_platform_delivery_data_email_all_of.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_platform_delivery_data_sms_all_of.py b/test/test_platform_delivery_data_sms_all_of.py index 2295318..782d586 100644 --- a/test/test_platform_delivery_data_sms_all_of.py +++ b/test/test_platform_delivery_data_sms_all_of.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_properties_body.py b/test/test_properties_body.py index 27fbdd0..6075757 100644 --- a/test/test_properties_body.py +++ b/test/test_properties_body.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_properties_deltas.py b/test/test_properties_deltas.py index e21dd2b..6a3975d 100644 --- a/test/test_properties_deltas.py +++ b/test/test_properties_deltas.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_properties_object.py b/test/test_properties_object.py index 83f0331..76dd19f 100644 --- a/test/test_properties_object.py +++ b/test/test_properties_object.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_purchase.py b/test/test_purchase.py index 19d1dd8..bb97765 100644 --- a/test/test_purchase.py +++ b/test/test_purchase.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_rate_limit_error.py b/test/test_rate_limit_error.py index 466ad99..a37b09b 100644 --- a/test/test_rate_limit_error.py +++ b/test/test_rate_limit_error.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_segment.py b/test/test_segment.py index fd73c4f..bb9a056 100644 --- a/test/test_segment.py +++ b/test/test_segment.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_segment_data.py b/test/test_segment_data.py index 2dd90ac..bc4a360 100644 --- a/test/test_segment_data.py +++ b/test/test_segment_data.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_segment_notification_target.py b/test/test_segment_notification_target.py index de37db5..305747e 100644 --- a/test/test_segment_notification_target.py +++ b/test/test_segment_notification_target.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_start_live_activity_request.py b/test/test_start_live_activity_request.py index 3303c80..066d8e6 100644 --- a/test/test_start_live_activity_request.py +++ b/test/test_start_live_activity_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_start_live_activity_success_response.py b/test/test_start_live_activity_success_response.py index 6219d71..3552ecb 100644 --- a/test/test_start_live_activity_success_response.py +++ b/test/test_start_live_activity_success_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_subscription.py b/test/test_subscription.py index d9fb347..8bbea20 100644 --- a/test/test_subscription.py +++ b/test/test_subscription.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_subscription_body.py b/test/test_subscription_body.py index ae95c24..c5b3964 100644 --- a/test/test_subscription_body.py +++ b/test/test_subscription_body.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_subscription_notification_target.py b/test/test_subscription_notification_target.py index 31b8e38..1864fea 100644 --- a/test/test_subscription_notification_target.py +++ b/test/test_subscription_notification_target.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_template_resource.py b/test/test_template_resource.py index bf1bd10..d4d7d7f 100644 --- a/test/test_template_resource.py +++ b/test/test_template_resource.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_templates_list_response.py b/test/test_templates_list_response.py index 50762b2..e2cd20b 100644 --- a/test/test_templates_list_response.py +++ b/test/test_templates_list_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_transfer_subscription_request_body.py b/test/test_transfer_subscription_request_body.py index 6f3dad3..eea129d 100644 --- a/test/test_transfer_subscription_request_body.py +++ b/test/test_transfer_subscription_request_body.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_update_api_key_request.py b/test/test_update_api_key_request.py index d427ba0..8e5e6ce 100644 --- a/test/test_update_api_key_request.py +++ b/test/test_update_api_key_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_update_live_activity_request.py b/test/test_update_live_activity_request.py index 76f7b01..9b72629 100644 --- a/test/test_update_live_activity_request.py +++ b/test/test_update_live_activity_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_update_live_activity_success_response.py b/test/test_update_live_activity_success_response.py index a257520..67df28b 100644 --- a/test/test_update_live_activity_success_response.py +++ b/test/test_update_live_activity_success_response.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_update_template_request.py b/test/test_update_template_request.py index 22c6f87..3e5ba80 100644 --- a/test/test_update_template_request.py +++ b/test/test_update_template_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_update_user_request.py b/test/test_update_user_request.py index c62bb6b..2d4b8f2 100644 --- a/test/test_update_user_request.py +++ b/test/test_update_user_request.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_user.py b/test/test_user.py index c9143e2..693f76b 100644 --- a/test/test_user.py +++ b/test/test_user.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_user_identity_body.py b/test/test_user_identity_body.py index 9f680e2..c4076d4 100644 --- a/test/test_user_identity_body.py +++ b/test/test_user_identity_body.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_web_button.py b/test/test_web_button.py index ec4ec39..36ff79c 100644 --- a/test/test_web_button.py +++ b/test/test_web_button.py @@ -3,7 +3,7 @@ A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501 - The version of the OpenAPI document: 5.7.0 + The version of the OpenAPI document: 5.8.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech """