Skip to content

Commit afced56

Browse files
onesignal-deployOneSignal
andauthored
Dependency Update (#20)
Update Java API Co-authored-by: OneSignal <noreply@onesignal.com>
1 parent 6e9bcde commit afced56

77 files changed

Lines changed: 2402 additions & 205 deletions

File tree

Some content is hidden

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

README.md

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

33
OneSignal
4-
- API version: 1.0.1
5-
- Build date: 2022-11-10T01:03:22.700Z[Etc/UTC]
4+
- API version: 1.0.2
5+
- Build date: 2022-12-20T21:16:30.715Z[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.0.1</version>
44+
<version>1.0.2</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.1"
60+
implementation "org.openapitools:onesignal-java-client:1.0.2"
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.0.1.jar`
74+
* `target/onesignal-java-client-1.0.2.jar`
7575
* `target/lib/*.jar`
7676

7777
## Getting Started
@@ -134,13 +134,15 @@ All URIs are relative to *https://onesignal.com/api/v1*
134134

135135
Class | Method | HTTP request | Description
136136
------------ | ------------- | ------------- | -------------
137+
*DefaultApi* | [**beginLiveActivity**](docs/DefaultApi.md#beginLiveActivity) | **POST** /apps/{app_id}/live_activities/{activity_id}/token | Start Live Activity
137138
*DefaultApi* | [**cancelNotification**](docs/DefaultApi.md#cancelNotification) | **DELETE** /notifications/{notification_id} | Stop a scheduled or currently outgoing notification
138139
*DefaultApi* | [**createApp**](docs/DefaultApi.md#createApp) | **POST** /apps | Create an app
139140
*DefaultApi* | [**createNotification**](docs/DefaultApi.md#createNotification) | **POST** /notifications | Create notification
140141
*DefaultApi* | [**createPlayer**](docs/DefaultApi.md#createPlayer) | **POST** /players | Add a device
141142
*DefaultApi* | [**createSegments**](docs/DefaultApi.md#createSegments) | **POST** /apps/{app_id}/segments | Create Segments
142143
*DefaultApi* | [**deletePlayer**](docs/DefaultApi.md#deletePlayer) | **DELETE** /players/{player_id} | Delete a user record
143144
*DefaultApi* | [**deleteSegments**](docs/DefaultApi.md#deleteSegments) | **DELETE** /apps/{app_id}/segments/{segment_id} | Delete Segments
145+
*DefaultApi* | [**endLiveActivity**](docs/DefaultApi.md#endLiveActivity) | **DELETE** /apps/{app_id}/live_activities/{activity_id}/token/{subscription_id} | Stop Live Activity
144146
*DefaultApi* | [**exportPlayers**](docs/DefaultApi.md#exportPlayers) | **POST** /players/csv_export?app_id&#x3D;{app_id} | CSV export
145147
*DefaultApi* | [**getApp**](docs/DefaultApi.md#getApp) | **GET** /apps/{app_id} | View an app
146148
*DefaultApi* | [**getApps**](docs/DefaultApi.md#getApps) | **GET** /apps | View apps
@@ -151,28 +153,27 @@ Class | Method | HTTP request | Description
151153
*DefaultApi* | [**getPlayer**](docs/DefaultApi.md#getPlayer) | **GET** /players/{player_id} | View device
152154
*DefaultApi* | [**getPlayers**](docs/DefaultApi.md#getPlayers) | **GET** /players | View devices
153155
*DefaultApi* | [**updateApp**](docs/DefaultApi.md#updateApp) | **PUT** /apps/{app_id} | Update an app
156+
*DefaultApi* | [**updateLiveActivity**](docs/DefaultApi.md#updateLiveActivity) | **POST** /apps/{app_id}/live_activities/{activity_id}/notifications | Update a Live Activity via Push
154157
*DefaultApi* | [**updatePlayer**](docs/DefaultApi.md#updatePlayer) | **PUT** /players/{player_id} | Edit device
155158
*DefaultApi* | [**updatePlayerTags**](docs/DefaultApi.md#updatePlayerTags) | **PUT** /apps/{app_id}/users/{external_user_id} | Edit tags with external user id
156159

157160

158161
## Documentation for Models
159162

160163
- [App](docs/App.md)
164+
- [BadRequestError](docs/BadRequestError.md)
161165
- [BasicNotification](docs/BasicNotification.md)
162166
- [BasicNotificationAllOf](docs/BasicNotificationAllOf.md)
163167
- [BasicNotificationAllOfAndroidBackgroundLayout](docs/BasicNotificationAllOfAndroidBackgroundLayout.md)
168+
- [BeginLiveActivityRequest](docs/BeginLiveActivityRequest.md)
164169
- [Button](docs/Button.md)
165170
- [CancelNotificationSuccessResponse](docs/CancelNotificationSuccessResponse.md)
166-
- [CreateNotificationBadRequestResponse](docs/CreateNotificationBadRequestResponse.md)
167171
- [CreateNotificationSuccessResponse](docs/CreateNotificationSuccessResponse.md)
168172
- [CreatePlayerSuccessResponse](docs/CreatePlayerSuccessResponse.md)
169-
- [CreateSegmentBadRequestResponse](docs/CreateSegmentBadRequestResponse.md)
170173
- [CreateSegmentConflictResponse](docs/CreateSegmentConflictResponse.md)
171174
- [CreateSegmentSuccessResponse](docs/CreateSegmentSuccessResponse.md)
172-
- [DeletePlayerBadRequestResponse](docs/DeletePlayerBadRequestResponse.md)
173175
- [DeletePlayerNotFoundResponse](docs/DeletePlayerNotFoundResponse.md)
174176
- [DeletePlayerSuccessResponse](docs/DeletePlayerSuccessResponse.md)
175-
- [DeleteSegmentBadRequestResponse](docs/DeleteSegmentBadRequestResponse.md)
176177
- [DeleteSegmentNotFoundResponse](docs/DeleteSegmentNotFoundResponse.md)
177178
- [DeleteSegmentSuccessResponse](docs/DeleteSegmentSuccessResponse.md)
178179
- [DeliveryData](docs/DeliveryData.md)
@@ -185,7 +186,6 @@ Class | Method | HTTP request | Description
185186
- [Notification](docs/Notification.md)
186187
- [Notification200Errors](docs/Notification200Errors.md)
187188
- [NotificationAllOf](docs/NotificationAllOf.md)
188-
- [NotificationHistoryBadRequestResponse](docs/NotificationHistoryBadRequestResponse.md)
189189
- [NotificationHistorySuccessResponse](docs/NotificationHistorySuccessResponse.md)
190190
- [NotificationSlice](docs/NotificationSlice.md)
191191
- [NotificationTarget](docs/NotificationTarget.md)
@@ -204,6 +204,8 @@ Class | Method | HTTP request | Description
204204
- [Segment](docs/Segment.md)
205205
- [SegmentNotificationTarget](docs/SegmentNotificationTarget.md)
206206
- [StringMap](docs/StringMap.md)
207+
- [UpdateLiveActivityRequest](docs/UpdateLiveActivityRequest.md)
208+
- [UpdateLiveActivitySuccessResponse](docs/UpdateLiveActivitySuccessResponse.md)
207209
- [UpdatePlayerSuccessResponse](docs/UpdatePlayerSuccessResponse.md)
208210
- [UpdatePlayerTagsRequestBody](docs/UpdatePlayerTagsRequestBody.md)
209211
- [UpdatePlayerTagsSuccessResponse](docs/UpdatePlayerTagsSuccessResponse.md)

0 commit comments

Comments
 (0)