@@ -6,8 +6,8 @@ A powerful way to send personalized messages at scale and build effective custom
66
77This SDK is automatically generated by the [ OpenAPI Generator] ( https://openapi-generator.tech ) project:
88
9- - API version: 1.0.2
10- - Package version: 1 .0.2
9+ - API version: 1.2.1
10+ - Package version: 2 .0.0
1111- Build package: org.openapitools.codegen.languages.RubyClientCodegen
1212For more information, please visit [ https://onesignal.com ] ( https://onesignal.com )
1313
@@ -24,16 +24,16 @@ gem build onesignal.gemspec
2424Then either install the gem locally:
2525
2626``` shell
27- gem install ./onesignal-1 .0.2 .gem
27+ gem install ./onesignal-2 .0.0 .gem
2828```
2929
30- (for development, run ` gem install --dev ./onesignal-1 .0.2 .gem ` to install the development dependencies)
30+ (for development, run ` gem install --dev ./onesignal-2 .0.0 .gem ` to install the development dependencies)
3131
3232or publish the gem to a gem hosting service, e.g. [ RubyGems] ( https://rubygems.org/ ) .
3333
3434Finally add this to the Gemfile:
3535
36- gem 'onesignal', '~> 1 .0.2 '
36+ gem 'onesignal', '~> 2 .0.0 '
3737
3838### Install from Git
3939
@@ -89,22 +89,36 @@ Class | Method | HTTP request | Description
8989* OneSignal::DefaultApi* | [ ** create_notification** ] ( docs/DefaultApi.md#create_notification ) | ** POST** /notifications | Create notification
9090* OneSignal::DefaultApi* | [ ** create_player** ] ( docs/DefaultApi.md#create_player ) | ** POST** /players | Add a device
9191* OneSignal::DefaultApi* | [ ** create_segments** ] ( docs/DefaultApi.md#create_segments ) | ** POST** /apps/{app_id}/segments | Create Segments
92+ * OneSignal::DefaultApi* | [ ** create_subscription** ] ( docs/DefaultApi.md#create_subscription ) | ** POST** /apps/{app_id}/users/by/{alias_label}/{alias_id}/subscriptions |
93+ * OneSignal::DefaultApi* | [ ** create_user** ] ( docs/DefaultApi.md#create_user ) | ** POST** /apps/{app_id}/users |
94+ * OneSignal::DefaultApi* | [ ** delete_alias** ] ( docs/DefaultApi.md#delete_alias ) | ** DELETE** /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity/{alias_label_to_delete} |
9295* OneSignal::DefaultApi* | [ ** delete_player** ] ( docs/DefaultApi.md#delete_player ) | ** DELETE** /players/{player_id} | Delete a user record
9396* OneSignal::DefaultApi* | [ ** delete_segments** ] ( docs/DefaultApi.md#delete_segments ) | ** DELETE** /apps/{app_id}/segments/{segment_id} | Delete Segments
97+ * OneSignal::DefaultApi* | [ ** delete_subscription** ] ( docs/DefaultApi.md#delete_subscription ) | ** DELETE** /apps/{app_id}/subscriptions/{subscription_id} |
98+ * OneSignal::DefaultApi* | [ ** delete_user** ] ( docs/DefaultApi.md#delete_user ) | ** DELETE** /apps/{app_id}/users/by/{alias_label}/{alias_id} |
9499* OneSignal::DefaultApi* | [ ** end_live_activity** ] ( docs/DefaultApi.md#end_live_activity ) | ** DELETE** /apps/{app_id}/live_activities/{activity_id}/token/{subscription_id} | Stop Live Activity
95100* OneSignal::DefaultApi* | [ ** export_players** ] ( docs/DefaultApi.md#export_players ) | ** POST** /players/csv_export?app_id= ; {app_id} | CSV export
101+ * OneSignal::DefaultApi* | [ ** fetch_aliases** ] ( docs/DefaultApi.md#fetch_aliases ) | ** GET** /apps/{app_id}/subscriptions/{subscription_id}/user/identity |
102+ * OneSignal::DefaultApi* | [ ** fetch_user** ] ( docs/DefaultApi.md#fetch_user ) | ** GET** /apps/{app_id}/users/by/{alias_label}/{alias_id} |
103+ * OneSignal::DefaultApi* | [ ** fetch_user_identity** ] ( docs/DefaultApi.md#fetch_user_identity ) | ** GET** /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity |
96104* OneSignal::DefaultApi* | [ ** get_app** ] ( docs/DefaultApi.md#get_app ) | ** GET** /apps/{app_id} | View an app
97105* OneSignal::DefaultApi* | [ ** get_apps** ] ( docs/DefaultApi.md#get_apps ) | ** GET** /apps | View apps
106+ * OneSignal::DefaultApi* | [ ** get_eligible_iams** ] ( docs/DefaultApi.md#get_eligible_iams ) | ** GET** /apps/{app_id}/subscriptions/{subscription_id}/iams |
98107* OneSignal::DefaultApi* | [ ** get_notification** ] ( docs/DefaultApi.md#get_notification ) | ** GET** /notifications/{notification_id} | View notification
99108* OneSignal::DefaultApi* | [ ** get_notification_history** ] ( docs/DefaultApi.md#get_notification_history ) | ** POST** /notifications/{notification_id}/history | Notification History
100109* OneSignal::DefaultApi* | [ ** get_notifications** ] ( docs/DefaultApi.md#get_notifications ) | ** GET** /notifications | View notifications
101110* OneSignal::DefaultApi* | [ ** get_outcomes** ] ( docs/DefaultApi.md#get_outcomes ) | ** GET** /apps/{app_id}/outcomes | View Outcomes
102111* OneSignal::DefaultApi* | [ ** get_player** ] ( docs/DefaultApi.md#get_player ) | ** GET** /players/{player_id} | View device
103112* OneSignal::DefaultApi* | [ ** get_players** ] ( docs/DefaultApi.md#get_players ) | ** GET** /players | View devices
113+ * OneSignal::DefaultApi* | [ ** identify_user_by_alias** ] ( docs/DefaultApi.md#identify_user_by_alias ) | ** PATCH** /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity |
114+ * OneSignal::DefaultApi* | [ ** identify_user_by_subscription_id** ] ( docs/DefaultApi.md#identify_user_by_subscription_id ) | ** PATCH** /apps/{app_id}/subscriptions/{subscription_id}/user/identity |
115+ * OneSignal::DefaultApi* | [ ** transfer_subscription** ] ( docs/DefaultApi.md#transfer_subscription ) | ** PATCH** /apps/{app_id}/subscriptions/{subscription_id}/owner |
104116* OneSignal::DefaultApi* | [ ** update_app** ] ( docs/DefaultApi.md#update_app ) | ** PUT** /apps/{app_id} | Update an app
105117* OneSignal::DefaultApi* | [ ** update_live_activity** ] ( docs/DefaultApi.md#update_live_activity ) | ** POST** /apps/{app_id}/live_activities/{activity_id}/notifications | Update a Live Activity via Push
106118* OneSignal::DefaultApi* | [ ** update_player** ] ( docs/DefaultApi.md#update_player ) | ** PUT** /players/{player_id} | Edit device
107119* OneSignal::DefaultApi* | [ ** update_player_tags** ] ( docs/DefaultApi.md#update_player_tags ) | ** PUT** /apps/{app_id}/users/{external_user_id} | Edit tags with external user id
120+ * OneSignal::DefaultApi* | [ ** update_subscription** ] ( docs/DefaultApi.md#update_subscription ) | ** PATCH** /apps/{app_id}/subscriptions/{subscription_id} |
121+ * OneSignal::DefaultApi* | [ ** update_user** ] ( docs/DefaultApi.md#update_user ) | ** PATCH** /apps/{app_id}/users/by/{alias_label}/{alias_id} |
108122
109123
110124## Documentation for Models
@@ -121,6 +135,10 @@ Class | Method | HTTP request | Description
121135 - [ OneSignal::CreatePlayerSuccessResponse] ( docs/CreatePlayerSuccessResponse.md )
122136 - [ OneSignal::CreateSegmentConflictResponse] ( docs/CreateSegmentConflictResponse.md )
123137 - [ OneSignal::CreateSegmentSuccessResponse] ( docs/CreateSegmentSuccessResponse.md )
138+ - [ OneSignal::CreateSubscriptionRequestBody] ( docs/CreateSubscriptionRequestBody.md )
139+ - [ OneSignal::CreateUserConflictResponse] ( docs/CreateUserConflictResponse.md )
140+ - [ OneSignal::CreateUserConflictResponseErrorsInner] ( docs/CreateUserConflictResponseErrorsInner.md )
141+ - [ OneSignal::CreateUserConflictResponseErrorsItemsMeta] ( docs/CreateUserConflictResponseErrorsItemsMeta.md )
124142 - [ OneSignal::DeletePlayerNotFoundResponse] ( docs/DeletePlayerNotFoundResponse.md )
125143 - [ OneSignal::DeletePlayerSuccessResponse] ( docs/DeletePlayerSuccessResponse.md )
126144 - [ OneSignal::DeleteSegmentNotFoundResponse] ( docs/DeleteSegmentNotFoundResponse.md )
@@ -131,6 +149,12 @@ Class | Method | HTTP request | Description
131149 - [ OneSignal::Filter] ( docs/Filter.md )
132150 - [ OneSignal::FilterExpressions] ( docs/FilterExpressions.md )
133151 - [ OneSignal::GetNotificationRequestBody] ( docs/GetNotificationRequestBody.md )
152+ - [ OneSignal::IdentifyUserConflictResponse] ( docs/IdentifyUserConflictResponse.md )
153+ - [ OneSignal::IdentifyUserConflictResponseErrorsInner] ( docs/IdentifyUserConflictResponseErrorsInner.md )
154+ - [ OneSignal::InlineResponse200] ( docs/InlineResponse200.md )
155+ - [ OneSignal::InlineResponse2003] ( docs/InlineResponse2003.md )
156+ - [ OneSignal::InlineResponse201] ( docs/InlineResponse201.md )
157+ - [ OneSignal::InlineResponse202] ( docs/InlineResponse202.md )
134158 - [ OneSignal::InvalidIdentifierError] ( docs/InvalidIdentifierError.md )
135159 - [ OneSignal::Notification] ( docs/Notification.md )
136160 - [ OneSignal::Notification200Errors] ( docs/Notification200Errors.md )
@@ -148,16 +172,27 @@ Class | Method | HTTP request | Description
148172 - [ OneSignal::PlatformDeliveryDataSmsAllOf] ( docs/PlatformDeliveryDataSmsAllOf.md )
149173 - [ OneSignal::Player] ( docs/Player.md )
150174 - [ OneSignal::PlayerNotificationTarget] ( docs/PlayerNotificationTarget.md )
175+ - [ OneSignal::PlayerNotificationTargetIncludeAliases] ( docs/PlayerNotificationTargetIncludeAliases.md )
151176 - [ OneSignal::PlayerSlice] ( docs/PlayerSlice.md )
177+ - [ OneSignal::PropertiesDeltas] ( docs/PropertiesDeltas.md )
178+ - [ OneSignal::PropertiesObject] ( docs/PropertiesObject.md )
152179 - [ OneSignal::Purchase] ( docs/Purchase.md )
153180 - [ OneSignal::Segment] ( docs/Segment.md )
154181 - [ OneSignal::SegmentNotificationTarget] ( docs/SegmentNotificationTarget.md )
155182 - [ OneSignal::StringMap] ( docs/StringMap.md )
183+ - [ OneSignal::SubscriptionObject] ( docs/SubscriptionObject.md )
184+ - [ OneSignal::TransferSubscriptionRequestBody] ( docs/TransferSubscriptionRequestBody.md )
156185 - [ OneSignal::UpdateLiveActivityRequest] ( docs/UpdateLiveActivityRequest.md )
157186 - [ OneSignal::UpdateLiveActivitySuccessResponse] ( docs/UpdateLiveActivitySuccessResponse.md )
158187 - [ OneSignal::UpdatePlayerSuccessResponse] ( docs/UpdatePlayerSuccessResponse.md )
159188 - [ OneSignal::UpdatePlayerTagsRequestBody] ( docs/UpdatePlayerTagsRequestBody.md )
160189 - [ OneSignal::UpdatePlayerTagsSuccessResponse] ( docs/UpdatePlayerTagsSuccessResponse.md )
190+ - [ OneSignal::UpdateSubscriptionRequestBody] ( docs/UpdateSubscriptionRequestBody.md )
191+ - [ OneSignal::UpdateUserRequest] ( docs/UpdateUserRequest.md )
192+ - [ OneSignal::User] ( docs/User.md )
193+ - [ OneSignal::UserIdentityRequestBody] ( docs/UserIdentityRequestBody.md )
194+ - [ OneSignal::UserIdentityResponse] ( docs/UserIdentityResponse.md )
195+ - [ OneSignal::UserSubscriptionOptions] ( docs/UserSubscriptionOptions.md )
161196
162197
163198## Documentation for Authorization
0 commit comments