Skip to content

Commit 06d381b

Browse files
authored
Merge pull request #53 from OneSignal/player-api-updates
Add v2.2.1 package updates
2 parents f9b89bb + b681ad2 commit 06d381b

File tree

94 files changed

+225
-225
lines changed

Some content is hidden

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

94 files changed

+225
-225
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# onesignal-java-client
22

33
OneSignal
4-
- API version: 1.4.0
5-
- Build date: 2025-05-14T20:38:10.394Z[Etc/UTC]
4+
- API version: 1.4.1
5+
- Build date: 2025-05-30T03:48:43.907Z[Etc/UTC]
66

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

@@ -41,7 +41,7 @@ Add this dependency to your project's POM:
4141
<dependency>
4242
<groupId>org.openapitools</groupId>
4343
<artifactId>onesignal-java-client</artifactId>
44-
<version>1.4.0</version>
44+
<version>1.4.1</version>
4545
<scope>compile</scope>
4646
</dependency>
4747
```
@@ -57,7 +57,7 @@ Add this dependency to your project's build file:
5757
}
5858
5959
dependencies {
60-
implementation "org.openapitools:onesignal-java-client:1.4.0"
60+
implementation "org.openapitools:onesignal-java-client:1.4.1"
6161
}
6262
```
6363

@@ -71,7 +71,7 @@ mvn clean package
7171

7272
Then manually install the following JARs:
7373

74-
* `target/onesignal-java-client-1.4.0.jar`
74+
* `target/onesignal-java-client-1.4.1.jar`
7575
* `target/lib/*.jar`
7676

7777
## Getting Started

api/openapi.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ info:
88
customer engagement strategies. Learn more at onesignal.com
99
termsOfService: https://onesignal.com/tos
1010
title: OneSignal
11-
version: 1.4.0
11+
version: 1.4.1
1212
servers:
1313
- url: https://api.onesignal.com
1414
paths:
@@ -3100,7 +3100,7 @@ components:
31003100
type: object
31013101
SubscriptionObject:
31023102
example:
3103-
notification_types: 7.061401241503109
3103+
notification_types: 7
31043104
device_model: device_model
31053105
app_version: app_version
31063106
web_p256: web_p256
@@ -3141,7 +3141,7 @@ components:
31413141
enabled:
31423142
type: boolean
31433143
notification_types:
3144-
type: number
3144+
type: integer
31453145
session_time:
31463146
type: number
31473147
session_count:
@@ -3170,7 +3170,7 @@ components:
31703170
User:
31713171
example:
31723172
subscriptions:
3173-
- notification_types: 7.061401241503109
3173+
- notification_types: 7
31743174
device_model: device_model
31753175
app_version: app_version
31763176
web_p256: web_p256
@@ -3187,7 +3187,7 @@ components:
31873187
rooted: true
31883188
id: id
31893189
sdk: sdk
3190-
- notification_types: 7.061401241503109
3190+
- notification_types: 7
31913191
device_model: device_model
31923192
app_version: app_version
31933193
web_p256: web_p256
@@ -3431,7 +3431,7 @@ components:
34313431
CreateSubscriptionRequestBody:
34323432
example:
34333433
subscription:
3434-
notification_types: 7.061401241503109
3434+
notification_types: 7
34353435
device_model: device_model
34363436
app_version: app_version
34373437
web_p256: web_p256
@@ -3458,7 +3458,7 @@ components:
34583458
UpdateSubscriptionRequestBody:
34593459
example:
34603460
subscription:
3461-
notification_types: 7.061401241503109
3461+
notification_types: 7
34623462
device_model: device_model
34633463
app_version: app_version
34643464
web_p256: web_p256
@@ -3586,7 +3586,7 @@ components:
35863586
inline_response_201:
35873587
example:
35883588
subscription:
3589-
notification_types: 7.061401241503109
3589+
notification_types: 7
35903590
device_model: device_model
35913591
app_version: app_version
35923592
web_p256: web_p256

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'org.openapitools'
7-
version = '1.4.0'
7+
version = '1.4.1'
88

99
buildscript {
1010
repositories {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "org.openapitools",
44
name := "onesignal-java-client",
5-
version := "1.4.0",
5+
version := "1.4.1",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/SubscriptionObject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
|**type** | [**TypeEnum**](#TypeEnum) | | [optional] |
1212
|**token** | **String** | | [optional] |
1313
|**enabled** | **Boolean** | | [optional] |
14-
|**notificationTypes** | **BigDecimal** | | [optional] |
14+
|**notificationTypes** | **Integer** | | [optional] |
1515
|**sessionTime** | **BigDecimal** | | [optional] |
1616
|**sessionCount** | **BigDecimal** | | [optional] |
1717
|**sdk** | **String** | | [optional] |

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>onesignal-java-client</artifactId>
66
<packaging>jar</packaging>
77
<name>onesignal-java-client</name>
8-
<version>1.4.0</version>
8+
<version>1.4.1</version>
99
<url>https://github.com/openapitools/openapi-generator</url>
1010
<description>OpenAPI Java</description>
1111
<scm>

src/main/java/com/onesignal/client/ApiCallback.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 1.4.0
5+
* The version of the OpenAPI document: 1.4.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/onesignal/client/ApiClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 1.4.0
5+
* The version of the OpenAPI document: 1.4.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -133,7 +133,7 @@ private void init() {
133133
json = new JSON();
134134

135135
// Set default User-Agent.
136-
setUserAgent("OpenAPI-Generator/1.4.0/java");
136+
setUserAgent("OpenAPI-Generator/1.4.1/java");
137137

138138
authentications = new HashMap<String, Authentication>();
139139
}

src/main/java/com/onesignal/client/ApiException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 1.4.0
5+
* The version of the OpenAPI document: 1.4.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@
2222
* <p>ApiException class.</p>
2323
*/
2424
@SuppressWarnings("serial")
25-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-14T20:38:10.394Z[Etc/UTC]")
25+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-05-30T03:48:43.907Z[Etc/UTC]")
2626
public class ApiException extends Exception {
2727
private int code = 0;
2828
private Map<String, List<String>> responseHeaders = null;

src/main/java/com/onesignal/client/ApiResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 1.4.0
5+
* The version of the OpenAPI document: 1.4.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)