Skip to content

Commit 746f141

Browse files
authored
Merge pull request #55 from OneSignal/user-api-updates
Add v5.2.1-beta1 package updates
2 parents 1ad903d + a97b7b8 commit 746f141

File tree

120 files changed

+171
-135
lines changed

Some content is hidden

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

120 files changed

+171
-135
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ A powerful way to send personalized messages at scale and build effective custom
66

77
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
88

9-
- API version: 5.2.0
10-
- Package version: 5.2.0-beta1
9+
- API version: 5.2.1
10+
- Package version: 5.2.1-beta1
1111
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
1212
For more information, please visit [https://onesignal.com](https://onesignal.com)
1313

@@ -24,16 +24,16 @@ gem build onesignal.gemspec
2424
Then either install the gem locally:
2525

2626
```shell
27-
gem install ./onesignal-5.2.0-beta1.gem
27+
gem install ./onesignal-5.2.1-beta1.gem
2828
```
2929

30-
(for development, run `gem install --dev ./onesignal-5.2.0-beta1.gem` to install the development dependencies)
30+
(for development, run `gem install --dev ./onesignal-5.2.1-beta1.gem` to install the development dependencies)
3131

3232
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
3333

3434
Finally add this to the Gemfile:
3535

36-
gem 'onesignal', '~> 5.2.0-beta1'
36+
gem 'onesignal', '~> 5.2.1-beta1'
3737

3838
### Install from Git
3939

docs/NotificationWithMeta.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
| **send_after** | **Integer** | Unix timestamp indicating when notification delivery should begin. | [optional] |
124124
| **completed_at** | **Integer** | Unix timestamp indicating when notification delivery completed. The delivery duration from start to finish can be calculated with completed_at - send_after. | [optional] |
125125
| **platform_delivery_stats** | [**PlatformDeliveryData**](PlatformDeliveryData.md) | | [optional] |
126+
| **canceled** | **Boolean** | Indicates whether the notification was canceled before it could be sent. | [optional] |
126127

127128
## Example
128129

@@ -248,7 +249,8 @@ instance = OneSignal::NotificationWithMeta.new(
248249
queued_at: null,
249250
send_after: null,
250251
completed_at: null,
251-
platform_delivery_stats: null
252+
platform_delivery_stats: null,
253+
canceled: null
252254
)
253255
```
254256

docs/NotificationWithMetaAllOf.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
| **platform_delivery_stats** | [**PlatformDeliveryData**](PlatformDeliveryData.md) | | [optional] |
1616
| **received** | **Integer** | Confirmed Deliveries number of devices that received the push notification. Paid Feature Only. Free accounts will see 0. | [optional] |
1717
| **throttle_rate_per_minute** | **Integer** | number of push notifications sent per minute. Paid Feature Only. If throttling is not enabled for the app or the notification, and for free accounts, null is returned. Refer to Throttling for more details. | [optional] |
18+
| **canceled** | **Boolean** | Indicates whether the notification was canceled before it could be sent. | [optional] |
1819

1920
## Example
2021

@@ -32,7 +33,8 @@ instance = OneSignal::NotificationWithMetaAllOf.new(
3233
completed_at: null,
3334
platform_delivery_stats: null,
3435
received: null,
35-
throttle_rate_per_minute: null
36+
throttle_rate_per_minute: null,
37+
canceled: null
3638
)
3739
```
3840

lib/onesignal.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
6-
The version of the OpenAPI document: 5.2.0
6+
The version of the OpenAPI document: 5.2.1
77
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 6.0.0-SNAPSHOT

lib/onesignal/api/default_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
6-
The version of the OpenAPI document: 5.2.0
6+
The version of the OpenAPI document: 5.2.1
77
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 6.0.0-SNAPSHOT

lib/onesignal/api_client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
6-
The version of the OpenAPI document: 5.2.0
6+
The version of the OpenAPI document: 5.2.1
77
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -90,7 +90,7 @@ def build_request(http_method, path, opts = {})
9090
url = build_request_url(path, opts)
9191
http_method = http_method.to_sym.downcase
9292

93-
opts[:header_params]['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-ruby, version=5.2.0-beta1'
93+
opts[:header_params]['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-ruby, version=5.2.1-beta1'
9494
header_params = @default_headers.merge(opts[:header_params] || {})
9595
query_params = opts[:query_params] || {}
9696
form_params = opts[:form_params] || {}

lib/onesignal/api_error.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
6-
The version of the OpenAPI document: 5.2.0
6+
The version of the OpenAPI document: 5.2.1
77
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 6.0.0-SNAPSHOT

lib/onesignal/configuration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
6-
The version of the OpenAPI document: 5.2.0
6+
The version of the OpenAPI document: 5.2.1
77
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 6.0.0-SNAPSHOT

lib/onesignal/models/app.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
6-
The version of the OpenAPI document: 5.2.0
6+
The version of the OpenAPI document: 5.2.1
77
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 6.0.0-SNAPSHOT

lib/onesignal/models/basic_notification.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
6-
The version of the OpenAPI document: 5.2.0
6+
The version of the OpenAPI document: 5.2.1
77
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 6.0.0-SNAPSHOT

0 commit comments

Comments
 (0)