@@ -6,8 +6,8 @@ A powerful way to send personalized messages at scale and build effective custom
6
6
7
7
This SDK is automatically generated by the [ OpenAPI Generator] ( https://openapi-generator.tech ) project:
8
8
9
- - API version: 1.0.2
10
- - Package version: 1 .0.2
9
+ - API version: 1.2.1
10
+ - Package version: 2 .0.0
11
11
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
For more information, please visit [ https://onesignal.com ] ( https://onesignal.com )
13
13
@@ -24,16 +24,16 @@ gem build onesignal.gemspec
24
24
Then either install the gem locally:
25
25
26
26
``` shell
27
- gem install ./onesignal-1 .0.2 .gem
27
+ gem install ./onesignal-2 .0.0 .gem
28
28
```
29
29
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)
31
31
32
32
or publish the gem to a gem hosting service, e.g. [ RubyGems] ( https://rubygems.org/ ) .
33
33
34
34
Finally add this to the Gemfile:
35
35
36
- gem 'onesignal', '~> 1 .0.2 '
36
+ gem 'onesignal', '~> 2 .0.0 '
37
37
38
38
### Install from Git
39
39
@@ -89,22 +89,36 @@ Class | Method | HTTP request | Description
89
89
* OneSignal::DefaultApi* | [ ** create_notification** ] ( docs/DefaultApi.md#create_notification ) | ** POST** /notifications | Create notification
90
90
* OneSignal::DefaultApi* | [ ** create_player** ] ( docs/DefaultApi.md#create_player ) | ** POST** /players | Add a device
91
91
* 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} |
92
95
* OneSignal::DefaultApi* | [ ** delete_player** ] ( docs/DefaultApi.md#delete_player ) | ** DELETE** /players/{player_id} | Delete a user record
93
96
* 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} |
94
99
* 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
95
100
* 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 |
96
104
* OneSignal::DefaultApi* | [ ** get_app** ] ( docs/DefaultApi.md#get_app ) | ** GET** /apps/{app_id} | View an app
97
105
* 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 |
98
107
* OneSignal::DefaultApi* | [ ** get_notification** ] ( docs/DefaultApi.md#get_notification ) | ** GET** /notifications/{notification_id} | View notification
99
108
* OneSignal::DefaultApi* | [ ** get_notification_history** ] ( docs/DefaultApi.md#get_notification_history ) | ** POST** /notifications/{notification_id}/history | Notification History
100
109
* OneSignal::DefaultApi* | [ ** get_notifications** ] ( docs/DefaultApi.md#get_notifications ) | ** GET** /notifications | View notifications
101
110
* OneSignal::DefaultApi* | [ ** get_outcomes** ] ( docs/DefaultApi.md#get_outcomes ) | ** GET** /apps/{app_id}/outcomes | View Outcomes
102
111
* OneSignal::DefaultApi* | [ ** get_player** ] ( docs/DefaultApi.md#get_player ) | ** GET** /players/{player_id} | View device
103
112
* 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 |
104
116
* OneSignal::DefaultApi* | [ ** update_app** ] ( docs/DefaultApi.md#update_app ) | ** PUT** /apps/{app_id} | Update an app
105
117
* 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
106
118
* OneSignal::DefaultApi* | [ ** update_player** ] ( docs/DefaultApi.md#update_player ) | ** PUT** /players/{player_id} | Edit device
107
119
* 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} |
108
122
109
123
110
124
## Documentation for Models
@@ -121,6 +135,10 @@ Class | Method | HTTP request | Description
121
135
- [ OneSignal::CreatePlayerSuccessResponse] ( docs/CreatePlayerSuccessResponse.md )
122
136
- [ OneSignal::CreateSegmentConflictResponse] ( docs/CreateSegmentConflictResponse.md )
123
137
- [ 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 )
124
142
- [ OneSignal::DeletePlayerNotFoundResponse] ( docs/DeletePlayerNotFoundResponse.md )
125
143
- [ OneSignal::DeletePlayerSuccessResponse] ( docs/DeletePlayerSuccessResponse.md )
126
144
- [ OneSignal::DeleteSegmentNotFoundResponse] ( docs/DeleteSegmentNotFoundResponse.md )
@@ -131,6 +149,12 @@ Class | Method | HTTP request | Description
131
149
- [ OneSignal::Filter] ( docs/Filter.md )
132
150
- [ OneSignal::FilterExpressions] ( docs/FilterExpressions.md )
133
151
- [ 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 )
134
158
- [ OneSignal::InvalidIdentifierError] ( docs/InvalidIdentifierError.md )
135
159
- [ OneSignal::Notification] ( docs/Notification.md )
136
160
- [ OneSignal::Notification200Errors] ( docs/Notification200Errors.md )
@@ -148,16 +172,27 @@ Class | Method | HTTP request | Description
148
172
- [ OneSignal::PlatformDeliveryDataSmsAllOf] ( docs/PlatformDeliveryDataSmsAllOf.md )
149
173
- [ OneSignal::Player] ( docs/Player.md )
150
174
- [ OneSignal::PlayerNotificationTarget] ( docs/PlayerNotificationTarget.md )
175
+ - [ OneSignal::PlayerNotificationTargetIncludeAliases] ( docs/PlayerNotificationTargetIncludeAliases.md )
151
176
- [ OneSignal::PlayerSlice] ( docs/PlayerSlice.md )
177
+ - [ OneSignal::PropertiesDeltas] ( docs/PropertiesDeltas.md )
178
+ - [ OneSignal::PropertiesObject] ( docs/PropertiesObject.md )
152
179
- [ OneSignal::Purchase] ( docs/Purchase.md )
153
180
- [ OneSignal::Segment] ( docs/Segment.md )
154
181
- [ OneSignal::SegmentNotificationTarget] ( docs/SegmentNotificationTarget.md )
155
182
- [ OneSignal::StringMap] ( docs/StringMap.md )
183
+ - [ OneSignal::SubscriptionObject] ( docs/SubscriptionObject.md )
184
+ - [ OneSignal::TransferSubscriptionRequestBody] ( docs/TransferSubscriptionRequestBody.md )
156
185
- [ OneSignal::UpdateLiveActivityRequest] ( docs/UpdateLiveActivityRequest.md )
157
186
- [ OneSignal::UpdateLiveActivitySuccessResponse] ( docs/UpdateLiveActivitySuccessResponse.md )
158
187
- [ OneSignal::UpdatePlayerSuccessResponse] ( docs/UpdatePlayerSuccessResponse.md )
159
188
- [ OneSignal::UpdatePlayerTagsRequestBody] ( docs/UpdatePlayerTagsRequestBody.md )
160
189
- [ 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 )
161
196
162
197
163
198
## Documentation for Authorization
0 commit comments