11# onesignal-java-client
22
33OneSignal
4- - API version: 1.0.2
5- - Build date: 2022-12-29T22:16:40.373Z [ Etc/UTC]
4+ - API version: 1.2.1
5+ - Build date: 2023-04-18T17:19:38.684Z [ Etc/UTC]
66
77A 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.0.2 </version >
44+ <version >1.2.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.0.2 "
60+ implementation "org.openapitools:onesignal-java-client:1.2.1 "
6161 }
6262```
6363
@@ -71,7 +71,7 @@ mvn clean package
7171
7272Then manually install the following JARs:
7373
74- * ` target/onesignal-java-client-1.0.2 .jar `
74+ * ` target/onesignal-java-client-1.2.1 .jar `
7575* ` target/lib/*.jar `
7676
7777## Getting Started
@@ -140,22 +140,36 @@ Class | Method | HTTP request | Description
140140* DefaultApi * | [** createNotification** ](docs/ DefaultApi . md#createNotification) | ** POST ** / notifications | Create notification
141141* DefaultApi * | [** createPlayer** ](docs/ DefaultApi . md#createPlayer) | ** POST ** / players | Add a device
142142* DefaultApi * | [** createSegments** ](docs/ DefaultApi . md#createSegments) | ** POST ** / apps/ {app_id}/ segments | Create Segments
143+ * DefaultApi * | [** createSubscription** ](docs/ DefaultApi . md#createSubscription) | ** POST ** / apps/ {app_id}/ users/ by/ {alias_label}/ {alias_id}/ subscriptions |
144+ * DefaultApi * | [** createUser** ](docs/ DefaultApi . md#createUser) | ** POST ** / apps/ {app_id}/ users |
145+ * DefaultApi * | [** deleteAlias** ](docs/ DefaultApi . md#deleteAlias) | ** DELETE ** / apps/ {app_id}/ users/ by/ {alias_label}/ {alias_id}/ identity/ {alias_label_to_delete} |
143146* DefaultApi * | [** deletePlayer** ](docs/ DefaultApi . md#deletePlayer) | ** DELETE ** / players/ {player_id} | Delete a user record
144147* DefaultApi * | [** deleteSegments** ](docs/ DefaultApi . md#deleteSegments) | ** DELETE ** / apps/ {app_id}/ segments/ {segment_id} | Delete Segments
148+ * DefaultApi * | [** deleteSubscription** ](docs/ DefaultApi . md#deleteSubscription) | ** DELETE ** / apps/ {app_id}/ subscriptions/ {subscription_id} |
149+ * DefaultApi * | [** deleteUser** ](docs/ DefaultApi . md#deleteUser) | ** DELETE ** / apps/ {app_id}/ users/ by/ {alias_label}/ {alias_id} |
145150* DefaultApi * | [** endLiveActivity** ](docs/ DefaultApi . md#endLiveActivity) | ** DELETE ** / apps/ {app_id}/ live_activities/ {activity_id}/ token/ {subscription_id} | Stop Live Activity
146151* DefaultApi * | [** exportPlayers** ](docs/ DefaultApi . md#exportPlayers) | ** POST ** / players/ csv_export? app_id& #x3D;{app_id} | CSV export
152+ * DefaultApi * | [** fetchAliases** ](docs/ DefaultApi . md#fetchAliases) | ** GET ** / apps/ {app_id}/ subscriptions/ {subscription_id}/ user/ identity |
153+ * DefaultApi * | [** fetchUser** ](docs/ DefaultApi . md#fetchUser) | ** GET ** / apps/ {app_id}/ users/ by/ {alias_label}/ {alias_id} |
154+ * DefaultApi * | [** fetchUserIdentity** ](docs/ DefaultApi . md#fetchUserIdentity) | ** GET ** / apps/ {app_id}/ users/ by/ {alias_label}/ {alias_id}/ identity |
147155* DefaultApi * | [** getApp** ](docs/ DefaultApi . md#getApp) | ** GET ** / apps/ {app_id} | View an app
148156* DefaultApi * | [** getApps** ](docs/ DefaultApi . md#getApps) | ** GET ** / apps | View apps
157+ * DefaultApi * | [** getEligibleIams** ](docs/ DefaultApi . md#getEligibleIams) | ** GET ** / apps/ {app_id}/ subscriptions/ {subscription_id}/ iams |
149158* DefaultApi * | [** getNotification** ](docs/ DefaultApi . md#getNotification) | ** GET ** / notifications/ {notification_id} | View notification
150159* DefaultApi * | [** getNotificationHistory** ](docs/ DefaultApi . md#getNotificationHistory) | ** POST ** / notifications/ {notification_id}/ history | Notification History
151160* DefaultApi * | [** getNotifications** ](docs/ DefaultApi . md#getNotifications) | ** GET ** / notifications | View notifications
152161* DefaultApi * | [** getOutcomes** ](docs/ DefaultApi . md#getOutcomes) | ** GET ** / apps/ {app_id}/ outcomes | View Outcomes
153162* DefaultApi * | [** getPlayer** ](docs/ DefaultApi . md#getPlayer) | ** GET ** / players/ {player_id} | View device
154163* DefaultApi * | [** getPlayers** ](docs/ DefaultApi . md#getPlayers) | ** GET ** / players | View devices
164+ * DefaultApi * | [** identifyUserByAlias** ](docs/ DefaultApi . md#identifyUserByAlias) | ** PATCH ** / apps/ {app_id}/ users/ by/ {alias_label}/ {alias_id}/ identity |
165+ * DefaultApi * | [** identifyUserBySubscriptionId** ](docs/ DefaultApi . md#identifyUserBySubscriptionId) | ** PATCH ** / apps/ {app_id}/ subscriptions/ {subscription_id}/ user/ identity |
166+ * DefaultApi * | [** transferSubscription** ](docs/ DefaultApi . md#transferSubscription) | ** PATCH ** / apps/ {app_id}/ subscriptions/ {subscription_id}/ owner |
155167* DefaultApi * | [** updateApp** ](docs/ DefaultApi . md#updateApp) | ** PUT ** / apps/ {app_id} | Update an app
156168* DefaultApi * | [** updateLiveActivity** ](docs/ DefaultApi . md#updateLiveActivity) | ** POST ** / apps/ {app_id}/ live_activities/ {activity_id}/ notifications | Update a Live Activity via Push
157169* DefaultApi * | [** updatePlayer** ](docs/ DefaultApi . md#updatePlayer) | ** PUT ** / players/ {player_id} | Edit device
158170* DefaultApi * | [** updatePlayerTags** ](docs/ DefaultApi . md#updatePlayerTags) | ** PUT ** / apps/ {app_id}/ users/ {external_user_id} | Edit tags with external user id
171+ * DefaultApi * | [** updateSubscription** ](docs/ DefaultApi . md#updateSubscription) | ** PATCH ** / apps/ {app_id}/ subscriptions/ {subscription_id} |
172+ * DefaultApi * | [** updateUser** ](docs/ DefaultApi . md#updateUser) | ** PATCH ** / apps/ {app_id}/ users/ by/ {alias_label}/ {alias_id} |
159173
160174
161175## Documentation for Models
@@ -172,6 +186,10 @@ Class | Method | HTTP request | Description
172186 - [CreatePlayerSuccessResponse ](docs/ CreatePlayerSuccessResponse . md)
173187 - [CreateSegmentConflictResponse ](docs/ CreateSegmentConflictResponse . md)
174188 - [CreateSegmentSuccessResponse ](docs/ CreateSegmentSuccessResponse . md)
189+ - [CreateSubscriptionRequestBody ](docs/ CreateSubscriptionRequestBody . md)
190+ - [CreateUserConflictResponse ](docs/ CreateUserConflictResponse . md)
191+ - [CreateUserConflictResponseErrorsInner ](docs/ CreateUserConflictResponseErrorsInner . md)
192+ - [CreateUserConflictResponseErrorsItemsMeta ](docs/ CreateUserConflictResponseErrorsItemsMeta . md)
175193 - [DeletePlayerNotFoundResponse ](docs/ DeletePlayerNotFoundResponse . md)
176194 - [DeletePlayerSuccessResponse ](docs/ DeletePlayerSuccessResponse . md)
177195 - [DeleteSegmentNotFoundResponse ](docs/ DeleteSegmentNotFoundResponse . md)
@@ -182,6 +200,12 @@ Class | Method | HTTP request | Description
182200 - [Filter ](docs/ Filter . md)
183201 - [FilterExpressions ](docs/ FilterExpressions . md)
184202 - [GetNotificationRequestBody ](docs/ GetNotificationRequestBody . md)
203+ - [IdentifyUserConflictResponse ](docs/ IdentifyUserConflictResponse . md)
204+ - [IdentifyUserConflictResponseErrorsInner ](docs/ IdentifyUserConflictResponseErrorsInner . md)
205+ - [InlineResponse200 ](docs/ InlineResponse200 . md)
206+ - [InlineResponse2003 ](docs/ InlineResponse2003 . md)
207+ - [InlineResponse201 ](docs/ InlineResponse201 . md)
208+ - [InlineResponse202 ](docs/ InlineResponse202 . md)
185209 - [InvalidIdentifierError ](docs/ InvalidIdentifierError . md)
186210 - [Notification ](docs/ Notification . md)
187211 - [Notification200Errors ](docs/ Notification200Errors . md)
@@ -199,16 +223,27 @@ Class | Method | HTTP request | Description
199223 - [PlatformDeliveryDataSmsAllOf ](docs/ PlatformDeliveryDataSmsAllOf . md)
200224 - [Player ](docs/ Player . md)
201225 - [PlayerNotificationTarget ](docs/ PlayerNotificationTarget . md)
226+ - [PlayerNotificationTargetIncludeAliases ](docs/ PlayerNotificationTargetIncludeAliases . md)
202227 - [PlayerSlice ](docs/ PlayerSlice . md)
228+ - [PropertiesDeltas ](docs/ PropertiesDeltas . md)
229+ - [PropertiesObject ](docs/ PropertiesObject . md)
203230 - [Purchase ](docs/ Purchase . md)
204231 - [Segment ](docs/ Segment . md)
205232 - [SegmentNotificationTarget ](docs/ SegmentNotificationTarget . md)
206233 - [StringMap ](docs/ StringMap . md)
234+ - [SubscriptionObject ](docs/ SubscriptionObject . md)
235+ - [TransferSubscriptionRequestBody ](docs/ TransferSubscriptionRequestBody . md)
207236 - [UpdateLiveActivityRequest ](docs/ UpdateLiveActivityRequest . md)
208237 - [UpdateLiveActivitySuccessResponse ](docs/ UpdateLiveActivitySuccessResponse . md)
209238 - [UpdatePlayerSuccessResponse ](docs/ UpdatePlayerSuccessResponse . md)
210239 - [UpdatePlayerTagsRequestBody ](docs/ UpdatePlayerTagsRequestBody . md)
211240 - [UpdatePlayerTagsSuccessResponse ](docs/ UpdatePlayerTagsSuccessResponse . md)
241+ - [UpdateSubscriptionRequestBody ](docs/ UpdateSubscriptionRequestBody . md)
242+ - [UpdateUserRequest ](docs/ UpdateUserRequest . md)
243+ - [User ](docs/ User . md)
244+ - [UserIdentityRequestBody ](docs/ UserIdentityRequestBody . md)
245+ - [UserIdentityResponse ](docs/ UserIdentityResponse . md)
246+ - [UserSubscriptionOptions ](docs/ UserSubscriptionOptions . md)
212247
213248
214249## Documentation for Authorization
0 commit comments