diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index 3776496..becf95b 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -545,7 +545,7 @@ with onesignal.ApiClient(configuration) as api_client: type="iOSPush", token="token_example", enabled=True, - notification_types=3.14, + notification_types=1, session_time=3.14, session_count=3.14, sdk="sdk_example", @@ -659,7 +659,7 @@ with onesignal.ApiClient(configuration) as api_client: type="iOSPush", token="token_example", enabled=True, - notification_types=3.14, + notification_types=1, session_time=3.14, session_count=3.14, sdk="sdk_example", @@ -2722,7 +2722,7 @@ with onesignal.ApiClient(configuration) as api_client: type="iOSPush", token="token_example", enabled=True, - notification_types=3.14, + notification_types=1, session_time=3.14, session_count=3.14, sdk="sdk_example", diff --git a/docs/SubscriptionObject.md b/docs/SubscriptionObject.md index d6d5247..b1d59cc 100644 --- a/docs/SubscriptionObject.md +++ b/docs/SubscriptionObject.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **type** | **str** | | [optional] **token** | **str** | | [optional] **enabled** | **bool** | | [optional] -**notification_types** | **float** | | [optional] +**notification_types** | **int** | | [optional] **session_time** | **float** | | [optional] **session_count** | **float** | | [optional] **sdk** | **str** | | [optional] diff --git a/onesignal/model/subscription_object.py b/onesignal/model/subscription_object.py index 9725c91..cb7d949 100644 --- a/onesignal/model/subscription_object.py +++ b/onesignal/model/subscription_object.py @@ -101,7 +101,7 @@ def openapi_types(): 'type': (str,), # noqa: E501 'token': (str,), # noqa: E501 'enabled': (bool,), # noqa: E501 - 'notification_types': (float,), # noqa: E501 + 'notification_types': (int,), # noqa: E501 'session_time': (float,), # noqa: E501 'session_count': (float,), # noqa: E501 'sdk': (str,), # noqa: E501 @@ -186,7 +186,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 type (str): [optional] # noqa: E501 token (str): [optional] # noqa: E501 enabled (bool): [optional] # noqa: E501 - notification_types (float): [optional] # noqa: E501 + notification_types (int): [optional] # noqa: E501 session_time (float): [optional] # noqa: E501 session_count (float): [optional] # noqa: E501 sdk (str): [optional] # noqa: E501 @@ -288,7 +288,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 type (str): [optional] # noqa: E501 token (str): [optional] # noqa: E501 enabled (bool): [optional] # noqa: E501 - notification_types (float): [optional] # noqa: E501 + notification_types (int): [optional] # noqa: E501 session_time (float): [optional] # noqa: E501 session_count (float): [optional] # noqa: E501 sdk (str): [optional] # noqa: E501