Skip to content

Commit 525f83a

Browse files
authored
Merge pull request #49 from OneSignal/player-api-updates
Add v2.2.1 package updates
2 parents 5dc9e49 + 8d7783d commit 525f83a

File tree

164 files changed

+176
-176
lines changed

Some content is hidden

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

164 files changed

+176
-176
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: 1.4.0
20-
- Package version: 2.2.0
19+
- API version: 1.4.1
20+
- Package version: 2.2.1
2121
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
2222

2323
## Requirements.

docs/DefaultApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ with onesignal.ApiClient(configuration) as api_client:
545545
type="iOSPush",
546546
token="token_example",
547547
enabled=True,
548-
notification_types=3.14,
548+
notification_types=1,
549549
session_time=3.14,
550550
session_count=3.14,
551551
sdk="sdk_example",
@@ -659,7 +659,7 @@ with onesignal.ApiClient(configuration) as api_client:
659659
type="iOSPush",
660660
token="token_example",
661661
enabled=True,
662-
notification_types=3.14,
662+
notification_types=1,
663663
session_time=3.14,
664664
session_count=3.14,
665665
sdk="sdk_example",
@@ -2722,7 +2722,7 @@ with onesignal.ApiClient(configuration) as api_client:
27222722
type="iOSPush",
27232723
token="token_example",
27242724
enabled=True,
2725-
notification_types=3.14,
2725+
notification_types=1,
27262726
session_time=3.14,
27272727
session_count=3.14,
27282728
sdk="sdk_example",

docs/SubscriptionObject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**type** | **str** | | [optional]
99
**token** | **str** | | [optional]
1010
**enabled** | **bool** | | [optional]
11-
**notification_types** | **float** | | [optional]
11+
**notification_types** | **int** | | [optional]
1212
**session_time** | **float** | | [optional]
1313
**session_count** | **float** | | [optional]
1414
**sdk** | **str** | | [optional]

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: 1.4.0
8+
The version of the OpenAPI document: 1.4.1
99
1010
Generated by: https://openapi-generator.tech
1111
"""
1212

1313

14-
__version__ = "2.2.0"
14+
__version__ = "2.2.1"
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: 1.4.0
6+
The version of the OpenAPI document: 1.4.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: 1.4.0
6+
The version of the OpenAPI document: 1.4.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/2.2.0/python'
80+
self.user_agent = 'OpenAPI-Generator/2.2.1/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=2.2.0"
145+
header_params['OS-Usage-Data'] = "kind=sdk, sdk-name=onesignal-python, version=2.2.1"
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: 1.4.0
6+
The version of the OpenAPI document: 1.4.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: 1.4.0\n"\
403-
"SDK Package Version: 2.2.0".\
402+
"Version of the API: 1.4.1\n"\
403+
"SDK Package Version: 2.2.1".\
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: 1.4.0
6+
The version of the OpenAPI document: 1.4.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: 1.4.0
6+
The version of the OpenAPI document: 1.4.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: 1.4.0
6+
The version of the OpenAPI document: 1.4.1
77
88
Generated by: https://openapi-generator.tech
99
"""

0 commit comments

Comments
 (0)