Skip to content

Commit c3f1cd5

Browse files
authored
Merge pull request #55 from OneSignal/user-api-updates
Add v5.2.2-beta1 package updates
2 parents 72fa10e + 36feb11 commit c3f1cd5

File tree

122 files changed

+137
-127
lines changed

Some content is hidden

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

122 files changed

+137
-127
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
1818

19-
- API version: 5.2.0
20-
- Package version: 5.2.1-beta1
19+
- API version: 5.2.1
20+
- Package version: 5.2.2-beta1
2121
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
2222

2323
## Requirements.

docs/NotificationWithMeta.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ Name | Type | Description | Notes
123123
**send_after** | **int, none_type** | Unix timestamp indicating when notification delivery should begin. | [optional]
124124
**completed_at** | **int, none_type** | Unix timestamp indicating when notification delivery completed. The delivery duration from start to finish can be calculated with completed_at - send_after. | [optional]
125125
**platform_delivery_stats** | [**PlatformDeliveryData**](PlatformDeliveryData.md) | | [optional]
126+
**canceled** | **bool** | Indicates whether the notification was canceled before it could be sent. | [optional]
126127
**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]
127128

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

docs/NotificationWithMetaAllOf.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
1515
**platform_delivery_stats** | [**PlatformDeliveryData**](PlatformDeliveryData.md) | | [optional]
1616
**received** | **int, none_type** | Confirmed Deliveries number of devices that received the push notification. Paid Feature Only. Free accounts will see 0. | [optional]
1717
**throttle_rate_per_minute** | **int, none_type** | number of push notifications sent per minute. Paid Feature Only. If throttling is not enabled for the app or the notification, and for free accounts, null is returned. Refer to Throttling for more details. | [optional]
18+
**canceled** | **bool** | Indicates whether the notification was canceled before it could be sent. | [optional]
1819
**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]
1920

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

onesignal/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
66
A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501
77
8-
The version of the OpenAPI document: 5.2.0
8+
The version of the OpenAPI document: 5.2.1
99
1010
Generated by: https://openapi-generator.tech
1111
"""
1212

1313

14-
__version__ = "5.2.1-beta1"
14+
__version__ = "5.2.2-beta1"
1515

1616
# import ApiClient
1717
from onesignal.api_client import ApiClient

onesignal/api/default_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501
55
6-
The version of the OpenAPI document: 5.2.0
6+
The version of the OpenAPI document: 5.2.1
77
88
Generated by: https://openapi-generator.tech
99
"""

onesignal/api_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501
55
6-
The version of the OpenAPI document: 5.2.0
6+
The version of the OpenAPI document: 5.2.1
77
88
Generated by: https://openapi-generator.tech
99
"""
@@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7777
self.default_headers[header_name] = header_value
7878
self.cookie = cookie
7979
# Set default User-Agent.
80-
self.user_agent = 'OpenAPI-Generator/5.2.1-beta1/python'
80+
self.user_agent = 'OpenAPI-Generator/5.2.2-beta1/python'
8181

8282
def __enter__(self):
8383
return self
@@ -142,7 +142,7 @@ def __call_api(
142142
# header parameters
143143
header_params = header_params or {}
144144
header_params.update(self.default_headers)
145-
header_params['OS-Usage-Data'] = "kind=sdk, sdk-name=onesignal-python, version=5.2.1-beta1"
145+
header_params['OS-Usage-Data'] = "kind=sdk, sdk-name=onesignal-python, version=5.2.2-beta1"
146146
if self.cookie:
147147
header_params['Cookie'] = self.cookie
148148
if header_params:

onesignal/configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501
55
6-
The version of the OpenAPI document: 5.2.0
6+
The version of the OpenAPI document: 5.2.1
77
88
Generated by: https://openapi-generator.tech
99
"""
@@ -399,8 +399,8 @@ def to_debug_report(self):
399399
return "Python SDK Debug Report:\n"\
400400
"OS: {env}\n"\
401401
"Python Version: {pyversion}\n"\
402-
"Version of the API: 5.2.0\n"\
403-
"SDK Package Version: 5.2.1-beta1".\
402+
"Version of the API: 5.2.1\n"\
403+
"SDK Package Version: 5.2.2-beta1".\
404404
format(env=sys.platform, pyversion=sys.version)
405405

406406
def get_host_settings(self):

onesignal/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501
55
6-
The version of the OpenAPI document: 5.2.0
6+
The version of the OpenAPI document: 5.2.1
77
88
Generated by: https://openapi-generator.tech
99
"""

onesignal/model/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501
55
6-
The version of the OpenAPI document: 5.2.0
6+
The version of the OpenAPI document: 5.2.1
77
88
Generated by: https://openapi-generator.tech
99
"""

onesignal/model/apps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com # noqa: E501
55
6-
The version of the OpenAPI document: 5.2.0
6+
The version of the OpenAPI document: 5.2.1
77
88
Generated by: https://openapi-generator.tech
99
"""

0 commit comments

Comments
 (0)