Skip to content

Commit 1ad903d

Browse files
authored
Merge pull request #53 from OneSignal/user-api-updates
Add v5.2.0-beta1 package updates
2 parents c8c37d0 + eb2d29f commit 1ad903d

File tree

122 files changed

+204
-128
lines changed

Some content is hidden

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

122 files changed

+204
-128
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.1.0
10-
- Package version: 5.1.0-beta1
9+
- API version: 5.2.0
10+
- Package version: 5.2.0-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.1.0-beta1.gem
27+
gem install ./onesignal-5.2.0-beta1.gem
2828
```
2929

30-
(for development, run `gem install --dev ./onesignal-5.1.0-beta1.gem` to install the development dependencies)
30+
(for development, run `gem install --dev ./onesignal-5.2.0-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.1.0-beta1'
36+
gem 'onesignal', '~> 5.2.0-beta1'
3737

3838
### Install from Git
3939

docs/BasicNotification.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
| **email_from_name** | **String** | Channel: Email The name the email is from. If not specified, will default to \"from name\" set in the OneSignal Dashboard Email Settings. | [optional] |
107107
| **email_from_address** | **String** | Channel: Email The email address the email is from. If not specified, will default to \"from email\" set in the OneSignal Dashboard Email Settings. | [optional] |
108108
| **email_preheader** | **String** | Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null. | [optional] |
109+
| **disable_email_click_tracking** | **Boolean** | Channel: Email Default is `false`. If set to `true`, the URLs sent within the email will not include link tracking and will be the same as originally set; otherwise, all the URLs in the email will be tracked. | [optional] |
109110
| **include_unsubscribed** | **Boolean** | Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared. | [optional] |
110111
| **sms_from** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] |
111112
| **sms_media_urls** | **Array<String>** | Channel: SMS URLs for the media files to be attached to the SMS content. Limit: 10 media urls with a total max. size of 5MBs. | [optional] |
@@ -220,6 +221,7 @@ instance = OneSignal::BasicNotification.new(
220221
email_from_name: null,
221222
email_from_address: null,
222223
email_preheader: null,
224+
disable_email_click_tracking: null,
223225
include_unsubscribed: null,
224226
sms_from: null,
225227
sms_media_urls: null,

docs/BasicNotificationAllOf.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
| **email_from_name** | **String** | Channel: Email The name the email is from. If not specified, will default to \"from name\" set in the OneSignal Dashboard Email Settings. | [optional] |
9494
| **email_from_address** | **String** | Channel: Email The email address the email is from. If not specified, will default to \"from email\" set in the OneSignal Dashboard Email Settings. | [optional] |
9595
| **email_preheader** | **String** | Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null. | [optional] |
96+
| **disable_email_click_tracking** | **Boolean** | Channel: Email Default is `false`. If set to `true`, the URLs sent within the email will not include link tracking and will be the same as originally set; otherwise, all the URLs in the email will be tracked. | [optional] |
9697
| **include_unsubscribed** | **Boolean** | Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared. | [optional] |
9798
| **sms_from** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] |
9899
| **sms_media_urls** | **Array<String>** | Channel: SMS URLs for the media files to be attached to the SMS content. Limit: 10 media urls with a total max. size of 5MBs. | [optional] |
@@ -194,6 +195,7 @@ instance = OneSignal::BasicNotificationAllOf.new(
194195
email_from_name: null,
195196
email_from_address: null,
196197
email_preheader: null,
198+
disable_email_click_tracking: null,
197199
include_unsubscribed: null,
198200
sms_from: null,
199201
sms_media_urls: null,

docs/Notification.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
| **email_from_name** | **String** | Channel: Email The name the email is from. If not specified, will default to \"from name\" set in the OneSignal Dashboard Email Settings. | [optional] |
107107
| **email_from_address** | **String** | Channel: Email The email address the email is from. If not specified, will default to \"from email\" set in the OneSignal Dashboard Email Settings. | [optional] |
108108
| **email_preheader** | **String** | Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null. | [optional] |
109+
| **disable_email_click_tracking** | **Boolean** | Channel: Email Default is `false`. If set to `true`, the URLs sent within the email will not include link tracking and will be the same as originally set; otherwise, all the URLs in the email will be tracked. | [optional] |
109110
| **include_unsubscribed** | **Boolean** | Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared. | [optional] |
110111
| **sms_from** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] |
111112
| **sms_media_urls** | **Array<String>** | Channel: SMS URLs for the media files to be attached to the SMS content. Limit: 10 media urls with a total max. size of 5MBs. | [optional] |
@@ -221,6 +222,7 @@ instance = OneSignal::Notification.new(
221222
email_from_name: null,
222223
email_from_address: null,
223224
email_preheader: null,
225+
disable_email_click_tracking: null,
224226
include_unsubscribed: null,
225227
sms_from: null,
226228
sms_media_urls: null,

docs/NotificationWithMeta.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
| **email_from_name** | **String** | Channel: Email The name the email is from. If not specified, will default to \"from name\" set in the OneSignal Dashboard Email Settings. | [optional] |
107107
| **email_from_address** | **String** | Channel: Email The email address the email is from. If not specified, will default to \"from email\" set in the OneSignal Dashboard Email Settings. | [optional] |
108108
| **email_preheader** | **String** | Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null. | [optional] |
109+
| **disable_email_click_tracking** | **Boolean** | Channel: Email Default is `false`. If set to `true`, the URLs sent within the email will not include link tracking and will be the same as originally set; otherwise, all the URLs in the email will be tracked. | [optional] |
109110
| **include_unsubscribed** | **Boolean** | Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared. | [optional] |
110111
| **sms_from** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] |
111112
| **sms_media_urls** | **Array<String>** | Channel: SMS URLs for the media files to be attached to the SMS content. Limit: 10 media urls with a total max. size of 5MBs. | [optional] |
@@ -231,6 +232,7 @@ instance = OneSignal::NotificationWithMeta.new(
231232
email_from_name: null,
232233
email_from_address: null,
233234
email_preheader: null,
235+
disable_email_click_tracking: null,
234236
include_unsubscribed: null,
235237
sms_from: null,
236238
sms_media_urls: null,

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.1.0
6+
The version of the OpenAPI document: 5.2.0
77
Contact: devrel@onesignal.com
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.1.0
6+
The version of the OpenAPI document: 5.2.0
77
Contact: devrel@onesignal.com
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.1.0
6+
The version of the OpenAPI document: 5.2.0
77
Contact: devrel@onesignal.com
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.1.0-beta1'
93+
opts[:header_params]['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-ruby, version=5.2.0-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.1.0
6+
The version of the OpenAPI document: 5.2.0
77
Contact: devrel@onesignal.com
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.1.0
6+
The version of the OpenAPI document: 5.2.0
77
Contact: devrel@onesignal.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 6.0.0-SNAPSHOT

0 commit comments

Comments
 (0)