Skip to content

Commit

Permalink
Merge pull request #22 from OneSignal/api
Browse files Browse the repository at this point in the history
Dependency Update
  • Loading branch information
kesheshyan authored Dec 21, 2022
2 parents 90036fb + 0defd29 commit 5dcfe86
Show file tree
Hide file tree
Showing 75 changed files with 1,887 additions and 90 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

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

- API version: 1.0.1
- SDK version: 1.0.3
- API version: 1.0.2
- SDK version: 1.0.4
- Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen
For more information, please visit [https://onesignal.com](https://onesignal.com)

Expand Down Expand Up @@ -126,13 +126,15 @@ All URIs are relative to *https://onesignal.com/api/v1*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DefaultApi* | [**BeginLiveActivity**](docs/DefaultApi.md#beginliveactivity) | **POST** /apps/{app_id}/live_activities/{activity_id}/token | Start Live Activity
*DefaultApi* | [**CancelNotification**](docs/DefaultApi.md#cancelnotification) | **DELETE** /notifications/{notification_id} | Stop a scheduled or currently outgoing notification
*DefaultApi* | [**CreateApp**](docs/DefaultApi.md#createapp) | **POST** /apps | Create an app
*DefaultApi* | [**CreateNotification**](docs/DefaultApi.md#createnotification) | **POST** /notifications | Create notification
*DefaultApi* | [**CreatePlayer**](docs/DefaultApi.md#createplayer) | **POST** /players | Add a device
*DefaultApi* | [**CreateSegments**](docs/DefaultApi.md#createsegments) | **POST** /apps/{app_id}/segments | Create Segments
*DefaultApi* | [**DeletePlayer**](docs/DefaultApi.md#deleteplayer) | **DELETE** /players/{player_id} | Delete a user record
*DefaultApi* | [**DeleteSegments**](docs/DefaultApi.md#deletesegments) | **DELETE** /apps/{app_id}/segments/{segment_id} | Delete Segments
*DefaultApi* | [**EndLiveActivity**](docs/DefaultApi.md#endliveactivity) | **DELETE** /apps/{app_id}/live_activities/{activity_id}/token/{subscription_id} | Stop Live Activity
*DefaultApi* | [**ExportPlayers**](docs/DefaultApi.md#exportplayers) | **POST** /players/csv_export?app_id={app_id} | CSV export
*DefaultApi* | [**GetApp**](docs/DefaultApi.md#getapp) | **GET** /apps/{app_id} | View an app
*DefaultApi* | [**GetApps**](docs/DefaultApi.md#getapps) | **GET** /apps | View apps
Expand All @@ -143,6 +145,7 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**GetPlayer**](docs/DefaultApi.md#getplayer) | **GET** /players/{player_id} | View device
*DefaultApi* | [**GetPlayers**](docs/DefaultApi.md#getplayers) | **GET** /players | View devices
*DefaultApi* | [**UpdateApp**](docs/DefaultApi.md#updateapp) | **PUT** /apps/{app_id} | Update an app
*DefaultApi* | [**UpdateLiveActivity**](docs/DefaultApi.md#updateliveactivity) | **POST** /apps/{app_id}/live_activities/{activity_id}/notifications | Update a Live Activity via Push
*DefaultApi* | [**UpdatePlayer**](docs/DefaultApi.md#updateplayer) | **PUT** /players/{player_id} | Edit device
*DefaultApi* | [**UpdatePlayerTags**](docs/DefaultApi.md#updateplayertags) | **PUT** /apps/{app_id}/users/{external_user_id} | Edit tags with external user id

Expand All @@ -151,21 +154,19 @@ Class | Method | HTTP request | Description
## Documentation for Models

- [Model.App](docs/App.md)
- [Model.BadRequestError](docs/BadRequestError.md)
- [Model.BasicNotification](docs/BasicNotification.md)
- [Model.BasicNotificationAllOf](docs/BasicNotificationAllOf.md)
- [Model.BasicNotificationAllOfAndroidBackgroundLayout](docs/BasicNotificationAllOfAndroidBackgroundLayout.md)
- [Model.BeginLiveActivityRequest](docs/BeginLiveActivityRequest.md)
- [Model.Button](docs/Button.md)
- [Model.CancelNotificationSuccessResponse](docs/CancelNotificationSuccessResponse.md)
- [Model.CreateNotificationBadRequestResponse](docs/CreateNotificationBadRequestResponse.md)
- [Model.CreateNotificationSuccessResponse](docs/CreateNotificationSuccessResponse.md)
- [Model.CreatePlayerSuccessResponse](docs/CreatePlayerSuccessResponse.md)
- [Model.CreateSegmentBadRequestResponse](docs/CreateSegmentBadRequestResponse.md)
- [Model.CreateSegmentConflictResponse](docs/CreateSegmentConflictResponse.md)
- [Model.CreateSegmentSuccessResponse](docs/CreateSegmentSuccessResponse.md)
- [Model.DeletePlayerBadRequestResponse](docs/DeletePlayerBadRequestResponse.md)
- [Model.DeletePlayerNotFoundResponse](docs/DeletePlayerNotFoundResponse.md)
- [Model.DeletePlayerSuccessResponse](docs/DeletePlayerSuccessResponse.md)
- [Model.DeleteSegmentBadRequestResponse](docs/DeleteSegmentBadRequestResponse.md)
- [Model.DeleteSegmentNotFoundResponse](docs/DeleteSegmentNotFoundResponse.md)
- [Model.DeleteSegmentSuccessResponse](docs/DeleteSegmentSuccessResponse.md)
- [Model.DeliveryData](docs/DeliveryData.md)
Expand All @@ -178,7 +179,6 @@ Class | Method | HTTP request | Description
- [Model.Notification](docs/Notification.md)
- [Model.Notification200Errors](docs/Notification200Errors.md)
- [Model.NotificationAllOf](docs/NotificationAllOf.md)
- [Model.NotificationHistoryBadRequestResponse](docs/NotificationHistoryBadRequestResponse.md)
- [Model.NotificationHistorySuccessResponse](docs/NotificationHistorySuccessResponse.md)
- [Model.NotificationSlice](docs/NotificationSlice.md)
- [Model.NotificationTarget](docs/NotificationTarget.md)
Expand All @@ -197,6 +197,8 @@ Class | Method | HTTP request | Description
- [Model.Segment](docs/Segment.md)
- [Model.SegmentNotificationTarget](docs/SegmentNotificationTarget.md)
- [Model.StringMap](docs/StringMap.md)
- [Model.UpdateLiveActivityRequest](docs/UpdateLiveActivityRequest.md)
- [Model.UpdateLiveActivitySuccessResponse](docs/UpdateLiveActivitySuccessResponse.md)
- [Model.UpdatePlayerSuccessResponse](docs/UpdatePlayerSuccessResponse.md)
- [Model.UpdatePlayerTagsRequestBody](docs/UpdatePlayerTagsRequestBody.md)
- [Model.UpdatePlayerTagsSuccessResponse](docs/UpdatePlayerTagsSuccessResponse.md)
Expand Down
4 changes: 4 additions & 0 deletions docs/App.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ Name | Type | Description | Notes
**SafariApnsCertificates** | **string** | | [optional] [readonly]
**SafariApnsP12** | **string** | Safari: Your apple push notification p12 certificate file for Safari Push Notifications, converted to a string and Base64 encoded. | [optional]
**SafariApnsP12Password** | **string** | Safari: Password for safari_apns_p12 file | [optional]
**ApnsKeyId** | **string** | iOS: Required if using p8. Unique identifier for the p8 authentication key. | [optional]
**ApnsTeamId** | **string** | iOS: Required if using p8. Team ID generated by Apple for your developer account. | [optional]
**ApnsBundleId** | **string** | iOS: Required if using p8. Bundle ID for your app in the Apple ecosystem. | [optional]
**ApnsP8** | **string** | iOS: Required if using p8. Base64 encoded p8 key | [optional]
**SafariSiteOrigin** | **string** | Safari (Recommended): The hostname to your website including http(s):// | [optional]
**SafariPushId** | **string** | | [optional] [readonly]
**SafariIcon1616** | **string** | | [optional] [readonly]
Expand Down
10 changes: 10 additions & 0 deletions docs/BadRequestError.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# OneSignalApi.Model.BadRequestError

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Errors** | **List<string>** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

11 changes: 11 additions & 0 deletions docs/BeginLiveActivityRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# OneSignalApi.Model.BeginLiveActivityRequest

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**PushToken** | **string** | |
**SubscriptionId** | **string** | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Loading

0 comments on commit 5dcfe86

Please sign in to comment.