Skip to content

Commit 5a85c14

Browse files
onesignal-deployOneSignal
andauthored
feat: add v5.4.0 package updates (#67)
Co-authored-by: OneSignal <noreply@onesignal.com>
1 parent 8b36715 commit 5a85c14

148 files changed

Lines changed: 231 additions & 156 deletions

File tree

Some content is hidden

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

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ OneSignal - the Ruby gem for OneSignal
44

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

7-
- API version: 5.3.0
8-
- Package version: 5.3.0
7+
- API version: 5.4.0
8+
- Package version: 5.4.0
99

1010
## Installation
1111

1212
Add to your `Gemfile`:
1313

1414
```ruby
15-
gem 'onesignal', '~> 5.3.0'
15+
gem 'onesignal', '~> 5.4.0'
1616
```
1717

1818
Then run `bundle install`.

docs/CreateTemplateRequest.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
| **app_id** | **String** | Your OneSignal App ID in UUID v4 format. | |
88
| **name** | **String** | Name of the template. | |
99
| **contents** | [**LanguageStringMap**](LanguageStringMap.md) | | |
10+
| **headings** | [**LanguageStringMap**](LanguageStringMap.md) | | [optional] |
11+
| **subtitle** | [**LanguageStringMap**](LanguageStringMap.md) | | [optional] |
1012
| **is_email** | **Boolean** | Set true for an Email template. | [optional] |
1113
| **email_subject** | **String** | Subject of the email. | [optional] |
1214
| **email_body** | **String** | Body of the email (HTML supported). | [optional] |
@@ -22,6 +24,8 @@ instance = OneSignal::CreateTemplateRequest.new(
2224
app_id: null,
2325
name: null,
2426
contents: null,
27+
headings: null,
28+
subtitle: null,
2529
is_email: null,
2630
email_subject: null,
2731
email_body: null,

docs/UpdateTemplateRequest.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
| ---- | ---- | ----------- | ----- |
77
| **name** | **String** | Updated name of the template. | [optional] |
88
| **contents** | [**LanguageStringMap**](LanguageStringMap.md) | | [optional] |
9+
| **headings** | [**LanguageStringMap**](LanguageStringMap.md) | | [optional] |
10+
| **subtitle** | [**LanguageStringMap**](LanguageStringMap.md) | | [optional] |
911
| **is_email** | **Boolean** | Set true for an Email template. | [optional] |
1012
| **email_subject** | **String** | Subject of the email. | [optional] |
1113
| **email_body** | **String** | Body of the email (HTML supported). | [optional] |
@@ -20,6 +22,8 @@ require 'onesignal'
2022
instance = OneSignal::UpdateTemplateRequest.new(
2123
name: null,
2224
contents: null,
25+
headings: null,
26+
subtitle: null,
2327
is_email: null,
2428
email_subject: null,
2529
email_body: 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.3.0
6+
The version of the OpenAPI document: 5.4.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.3.0
6+
The version of the OpenAPI document: 5.4.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.3.0
6+
The version of the OpenAPI document: 5.4.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.3.0'
93+
opts[:header_params]['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-ruby, version=5.4.0'
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.3.0
6+
The version of the OpenAPI document: 5.4.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: 4 additions & 5 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.3.0
6+
The version of the OpenAPI document: 5.4.0
77
Contact: devrel@onesignal.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -33,11 +33,10 @@ class Configuration
3333
# Default server operation variables
3434
attr_accessor :server_operation_variables
3535

36-
# OneSignal API token for App Authentication
37-
attr_accessor :app_key
36+
attr_accessor :organization_api_key
37+
38+
attr_accessor :rest_api_key
3839

39-
# OneSignal API token for User Authentication
40-
attr_accessor :user_key
4140

4241
# Set this to enable/disable debugging. When enabled (set to true), HTTP request/response
4342
# details will be logged with `logger.debug` (see the `logger` attribute).

lib/onesignal/models/api_key_token.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.3.0
6+
The version of the OpenAPI document: 5.4.0
77
Contact: devrel@onesignal.com
88
Generated by: https://openapi-generator.tech
99
OpenAPI Generator version: 6.0.0-SNAPSHOT

lib/onesignal/models/api_key_tokens_list_response.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.3.0
6+
The version of the OpenAPI document: 5.4.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)