onesignal 5.11.0 → 5.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +3 -3
- data/README.md +3 -3
- data/docs/BasicNotification.md +2 -0
- data/docs/BasicNotificationAllOf.md +2 -0
- data/docs/DefaultApi.md +2 -2
- data/docs/Notification.md +2 -0
- data/docs/NotificationWithMeta.md +2 -0
- data/lib/onesignal/api/default_api.rb +2 -3
- data/lib/onesignal/api_client.rb +1 -2
- data/lib/onesignal/api_error.rb +0 -1
- data/lib/onesignal/configuration.rb +0 -1
- data/lib/onesignal/models/api_key_token.rb +0 -1
- data/lib/onesignal/models/api_key_tokens_list_response.rb +0 -1
- data/lib/onesignal/models/app.rb +0 -1
- data/lib/onesignal/models/audit_log_actor.rb +0 -1
- data/lib/onesignal/models/audit_log_context.rb +0 -1
- data/lib/onesignal/models/audit_log_event.rb +0 -1
- data/lib/onesignal/models/audit_log_target.rb +0 -1
- data/lib/onesignal/models/basic_notification.rb +12 -2
- data/lib/onesignal/models/basic_notification_all_of.rb +12 -2
- data/lib/onesignal/models/basic_notification_all_of_android_background_layout.rb +0 -1
- data/lib/onesignal/models/button.rb +0 -1
- data/lib/onesignal/models/copy_template_request.rb +0 -1
- data/lib/onesignal/models/create_api_key_request.rb +0 -1
- data/lib/onesignal/models/create_api_key_response.rb +0 -1
- data/lib/onesignal/models/create_notification_success_response.rb +0 -1
- data/lib/onesignal/models/create_segment_conflict_response.rb +0 -1
- data/lib/onesignal/models/create_segment_success_response.rb +0 -1
- data/lib/onesignal/models/create_template_request.rb +0 -1
- data/lib/onesignal/models/create_user_conflict_response.rb +0 -1
- data/lib/onesignal/models/create_user_conflict_response_errors_inner.rb +0 -1
- data/lib/onesignal/models/create_user_conflict_response_errors_items_meta.rb +0 -1
- data/lib/onesignal/models/custom_event.rb +0 -1
- data/lib/onesignal/models/custom_events_request.rb +0 -1
- data/lib/onesignal/models/delivery_data.rb +0 -1
- data/lib/onesignal/models/export_events_success_response.rb +0 -1
- data/lib/onesignal/models/export_subscriptions_request_body.rb +0 -1
- data/lib/onesignal/models/export_subscriptions_success_response.rb +0 -1
- data/lib/onesignal/models/filter.rb +0 -1
- data/lib/onesignal/models/filter_expression.rb +0 -1
- data/lib/onesignal/models/generic_error.rb +0 -1
- data/lib/onesignal/models/generic_success_bool_response.rb +0 -1
- data/lib/onesignal/models/get_notification_history_request_body.rb +0 -1
- data/lib/onesignal/models/get_segment_success_response.rb +0 -1
- data/lib/onesignal/models/get_segments_success_response.rb +0 -1
- data/lib/onesignal/models/language_string_map.rb +0 -1
- data/lib/onesignal/models/list_audit_logs_success_response.rb +0 -1
- data/lib/onesignal/models/notification.rb +12 -2
- data/lib/onesignal/models/notification_all_of.rb +0 -1
- data/lib/onesignal/models/notification_history_success_response.rb +0 -1
- data/lib/onesignal/models/notification_slice.rb +0 -1
- data/lib/onesignal/models/notification_target.rb +0 -1
- data/lib/onesignal/models/notification_with_meta.rb +12 -2
- data/lib/onesignal/models/notification_with_meta_all_of.rb +0 -1
- data/lib/onesignal/models/operator.rb +0 -1
- data/lib/onesignal/models/outcome_data.rb +0 -1
- data/lib/onesignal/models/outcomes_data.rb +0 -1
- data/lib/onesignal/models/platform_delivery_data.rb +0 -1
- data/lib/onesignal/models/platform_delivery_data_email_all_of.rb +0 -1
- data/lib/onesignal/models/platform_delivery_data_sms_all_of.rb +0 -1
- data/lib/onesignal/models/properties_body.rb +0 -1
- data/lib/onesignal/models/properties_deltas.rb +0 -1
- data/lib/onesignal/models/properties_object.rb +0 -1
- data/lib/onesignal/models/purchase.rb +0 -1
- data/lib/onesignal/models/rate_limit_error.rb +0 -1
- data/lib/onesignal/models/segment.rb +0 -1
- data/lib/onesignal/models/segment_data.rb +0 -1
- data/lib/onesignal/models/segment_details.rb +0 -1
- data/lib/onesignal/models/segment_notification_target.rb +0 -1
- data/lib/onesignal/models/start_live_activity_request.rb +0 -1
- data/lib/onesignal/models/start_live_activity_success_response.rb +0 -1
- data/lib/onesignal/models/subscription.rb +0 -1
- data/lib/onesignal/models/subscription_body.rb +0 -1
- data/lib/onesignal/models/subscription_notification_target.rb +0 -1
- data/lib/onesignal/models/template_resource.rb +0 -1
- data/lib/onesignal/models/templates_list_response.rb +0 -1
- data/lib/onesignal/models/transfer_subscription_request_body.rb +0 -1
- data/lib/onesignal/models/update_api_key_request.rb +0 -1
- data/lib/onesignal/models/update_live_activity_request.rb +0 -1
- data/lib/onesignal/models/update_live_activity_success_response.rb +0 -1
- data/lib/onesignal/models/update_segment_request.rb +0 -1
- data/lib/onesignal/models/update_segment_success_response.rb +0 -1
- data/lib/onesignal/models/update_template_request.rb +0 -1
- data/lib/onesignal/models/update_user_request.rb +0 -1
- data/lib/onesignal/models/user.rb +0 -1
- data/lib/onesignal/models/user_identity_body.rb +0 -1
- data/lib/onesignal/models/web_button.rb +0 -1
- data/lib/onesignal/version.rb +1 -2
- data/lib/onesignal.rb +0 -1
- data/onesignal.gemspec +0 -1
- data/spec/api/default_api_spec.rb +0 -1
- data/spec/api_client_spec.rb +0 -1
- data/spec/configuration_spec.rb +0 -1
- data/spec/models/api_key_token_spec.rb +0 -1
- data/spec/models/api_key_tokens_list_response_spec.rb +0 -1
- data/spec/models/app_spec.rb +0 -1
- data/spec/models/audit_log_actor_spec.rb +0 -1
- data/spec/models/audit_log_context_spec.rb +0 -1
- data/spec/models/audit_log_event_spec.rb +0 -1
- data/spec/models/audit_log_target_spec.rb +0 -1
- data/spec/models/basic_notification_all_of_android_background_layout_spec.rb +0 -1
- data/spec/models/basic_notification_all_of_spec.rb +6 -1
- data/spec/models/basic_notification_spec.rb +6 -1
- data/spec/models/button_spec.rb +0 -1
- data/spec/models/copy_template_request_spec.rb +0 -1
- data/spec/models/create_api_key_request_spec.rb +0 -1
- data/spec/models/create_api_key_response_spec.rb +0 -1
- data/spec/models/create_notification_success_response_spec.rb +0 -1
- data/spec/models/create_segment_conflict_response_spec.rb +0 -1
- data/spec/models/create_segment_success_response_spec.rb +0 -1
- data/spec/models/create_template_request_spec.rb +0 -1
- data/spec/models/create_user_conflict_response_errors_inner_spec.rb +0 -1
- data/spec/models/create_user_conflict_response_errors_items_meta_spec.rb +0 -1
- data/spec/models/create_user_conflict_response_spec.rb +0 -1
- data/spec/models/custom_event_spec.rb +0 -1
- data/spec/models/custom_events_request_spec.rb +0 -1
- data/spec/models/delivery_data_spec.rb +0 -1
- data/spec/models/export_events_success_response_spec.rb +0 -1
- data/spec/models/export_subscriptions_request_body_spec.rb +0 -1
- data/spec/models/export_subscriptions_success_response_spec.rb +0 -1
- data/spec/models/filter_expression_spec.rb +0 -1
- data/spec/models/filter_spec.rb +0 -1
- data/spec/models/generic_error_spec.rb +0 -1
- data/spec/models/generic_success_bool_response_spec.rb +0 -1
- data/spec/models/get_notification_history_request_body_spec.rb +0 -1
- data/spec/models/get_segment_success_response_spec.rb +0 -1
- data/spec/models/get_segments_success_response_spec.rb +0 -1
- data/spec/models/language_string_map_spec.rb +0 -1
- data/spec/models/list_audit_logs_success_response_spec.rb +0 -1
- data/spec/models/notification_all_of_spec.rb +0 -1
- data/spec/models/notification_history_success_response_spec.rb +0 -1
- data/spec/models/notification_slice_spec.rb +0 -1
- data/spec/models/notification_spec.rb +6 -1
- data/spec/models/notification_target_spec.rb +0 -1
- data/spec/models/notification_with_meta_all_of_spec.rb +0 -1
- data/spec/models/notification_with_meta_spec.rb +6 -1
- data/spec/models/operator_spec.rb +0 -1
- data/spec/models/outcome_data_spec.rb +0 -1
- data/spec/models/outcomes_data_spec.rb +0 -1
- data/spec/models/platform_delivery_data_email_all_of_spec.rb +0 -1
- data/spec/models/platform_delivery_data_sms_all_of_spec.rb +0 -1
- data/spec/models/platform_delivery_data_spec.rb +0 -1
- data/spec/models/properties_body_spec.rb +0 -1
- data/spec/models/properties_deltas_spec.rb +0 -1
- data/spec/models/properties_object_spec.rb +0 -1
- data/spec/models/purchase_spec.rb +0 -1
- data/spec/models/rate_limit_error_spec.rb +0 -1
- data/spec/models/segment_data_spec.rb +0 -1
- data/spec/models/segment_details_spec.rb +0 -1
- data/spec/models/segment_notification_target_spec.rb +0 -1
- data/spec/models/segment_spec.rb +0 -1
- data/spec/models/start_live_activity_request_spec.rb +0 -1
- data/spec/models/start_live_activity_success_response_spec.rb +0 -1
- data/spec/models/subscription_body_spec.rb +0 -1
- data/spec/models/subscription_notification_target_spec.rb +0 -1
- data/spec/models/subscription_spec.rb +0 -1
- data/spec/models/template_resource_spec.rb +0 -1
- data/spec/models/templates_list_response_spec.rb +0 -1
- data/spec/models/transfer_subscription_request_body_spec.rb +0 -1
- data/spec/models/update_api_key_request_spec.rb +0 -1
- data/spec/models/update_live_activity_request_spec.rb +0 -1
- data/spec/models/update_live_activity_success_response_spec.rb +0 -1
- data/spec/models/update_segment_request_spec.rb +0 -1
- data/spec/models/update_segment_success_response_spec.rb +0 -1
- data/spec/models/update_template_request_spec.rb +0 -1
- data/spec/models/update_user_request_spec.rb +0 -1
- data/spec/models/user_identity_body_spec.rb +0 -1
- data/spec/models/user_spec.rb +0 -1
- data/spec/models/web_button_spec.rb +0 -1
- data/spec/spec_helper.rb +0 -1
- data/vendor/bundle/ruby/3.2.0/cache/io-console-0.9.2.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/reline-0.7.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.8.2 → io-console-0.9.2}/gem_make.out +15 -14
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.2/io/console.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.8.2 → io-console-0.9.2}/mkmf.log +112 -109
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.4.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/ext/io/console/Makefile +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/ext/io/console/console.c +521 -28
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/ext/io/console/extconf.rb +13 -14
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/ext/io/console/win32_vk.inc +313 -165
- data/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.2/lib/io/console.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/io/ansi.rb +6 -4
- data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/io/windows.rb +49 -23
- data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/io.rb +8 -2
- data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/line_editor.rb +49 -21
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.7.0/lib/reline/version.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline.rb +10 -9
- data/vendor/bundle/ruby/3.2.0/specifications/{io-console-0.8.2.gemspec → io-console-0.9.2.gemspec} +3 -3
- data/vendor/bundle/ruby/3.2.0/specifications/{reline-0.6.3.gemspec → reline-0.7.0.gemspec} +2 -2
- metadata +108 -108
- data/vendor/bundle/ruby/3.2.0/cache/io-console-0.8.2.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/reline-0.6.3.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.8.2/io/console.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/io-console-0.8.2/lib/io/console.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/version.rb +0 -3
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.8.2 → io-console-0.9.2}/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/.document +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/BSDL +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/COPYING +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/README.md +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/lib/io/console/size.rb +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/BSDL +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/COPYING +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/README.md +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/config.rb +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/face.rb +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/history.rb +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/io/dumb.rb +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor/base.rb +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor/composite.rb +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor/emacs.rb +2 -2
- /data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor/vi_command.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor/vi_insert.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_stroke.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/kill_ring.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/unicode/east_asian_width.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/unicode.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/license_of_rb-readline +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 54b2a62f0fe5276c23dd4830e357f026f084cd880f1703ecf32b5fe86e25b899
|
|
4
|
+
data.tar.gz: 889a59c5672fec79653a9d3737583673e24b6e5a53878dacec66bb6be1d80f4c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: adcf6b1ffa27fb65b7b284d17996facb9d36e2ed8960d5183e0ef660f3a872cb9b9ba5fa69fe83f4efcbf7b761bc9eebe0126f8366fa142a5248764aa69f5171
|
|
7
|
+
data.tar.gz: 601d573c75a3296a42e87290aadbc45dda761337f2e5725452a336d3d30ed5d14a2a1e868cff7dfbd5bacb1bb41e43ca827be53eba44a12315ce3f7a1df4c3ad
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [5.11.1](https://github.com/OneSignal/onesignal-ruby-api/compare/v5.11.0...v5.11.1) (2026-07-29)
|
|
4
|
+
|
|
5
|
+
## [5.11.0](https://github.com/OneSignal/onesignal-ruby-api/compare/v5.10.0...v5.11.0) (2026-07-28)
|
|
6
|
+
|
|
3
7
|
## [5.10.0](https://github.com/OneSignal/onesignal-ruby-api/compare/v5.9.0...v5.10.0) (2026-07-20)
|
|
4
8
|
|
|
5
9
|
## [5.9.0](https://github.com/OneSignal/onesignal-ruby-api/compare/v5.8.0...v5.9.0) (2026-07-09)
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
onesignal (5.11.
|
|
4
|
+
onesignal (5.11.2)
|
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -17,7 +17,7 @@ GEM
|
|
|
17
17
|
ffi (>= 1.15.0)
|
|
18
18
|
logger
|
|
19
19
|
ffi (1.17.4-x86_64-linux-gnu)
|
|
20
|
-
io-console (0.
|
|
20
|
+
io-console (0.9.2)
|
|
21
21
|
jaro_winkler (1.5.6)
|
|
22
22
|
logger (1.7.0)
|
|
23
23
|
method_source (1.1.0)
|
|
@@ -38,7 +38,7 @@ GEM
|
|
|
38
38
|
racc (1.8.1)
|
|
39
39
|
rainbow (3.1.1)
|
|
40
40
|
rake (13.0.6)
|
|
41
|
-
reline (0.
|
|
41
|
+
reline (0.7.0)
|
|
42
42
|
io-console (~> 0.5)
|
|
43
43
|
rspec (3.13.2)
|
|
44
44
|
rspec-core (~> 3.13.0)
|
data/README.md
CHANGED
|
@@ -6,15 +6,15 @@ OneSignal - the Ruby gem for OneSignal
|
|
|
6
6
|
|
|
7
7
|
A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
8
8
|
|
|
9
|
-
- API version: 5.11.
|
|
10
|
-
- Package version: 5.11.
|
|
9
|
+
- API version: 5.11.2
|
|
10
|
+
- Package version: 5.11.2
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
14
|
Add to your `Gemfile`:
|
|
15
15
|
|
|
16
16
|
```ruby
|
|
17
|
-
gem 'onesignal', '~> 5.11.
|
|
17
|
+
gem 'onesignal', '~> 5.11.2'
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
Then run `bundle install`.
|
data/docs/BasicNotification.md
CHANGED
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
| **mutable_content** | **Boolean** | Channel: Push Notifications Platform: iOS 10+ Always defaults to true and cannot be turned off. Allows tracking of notification receives and changing of the notification content in your app before it is displayed. Triggers didReceive(_:withContentHandler:) on your UNNotificationServiceExtension. | [optional] |
|
|
50
50
|
| **target_content_identifier** | **String** | Channel: Push Notifications Platform: iOS 13+ Use to target a specific experience in your App Clip, or to target your notification to a specific window in a multi-scene App. | [optional] |
|
|
51
51
|
| **big_picture** | **String** | Channel: Push Notifications Platform: Android Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] |
|
|
52
|
+
| **global_image** | **String** | Channel: Push Notifications Platform: All Picture to display on all platforms that support it. Must be a URL to an image file. Platform-specific picture fields (big_picture, huawei_big_picture, adm_big_picture, chrome_web_image, ios_attachments, firefox_icon) take precedence over this value when set. | [optional] |
|
|
52
53
|
| **huawei_big_picture** | **String** | Channel: Push Notifications Platform: Huawei Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] |
|
|
53
54
|
| **adm_big_picture** | **String** | Channel: Push Notifications Platform: Amazon Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] |
|
|
54
55
|
| **chrome_big_picture** | **String** | Channel: Push Notifications Platform: ChromeApp Large picture to display below the notification text. Must be a local URL. | [optional] |
|
|
@@ -173,6 +174,7 @@ instance = OneSignal::BasicNotification.new(
|
|
|
173
174
|
mutable_content: nil,
|
|
174
175
|
target_content_identifier: nil,
|
|
175
176
|
big_picture: nil,
|
|
177
|
+
global_image: nil,
|
|
176
178
|
huawei_big_picture: nil,
|
|
177
179
|
adm_big_picture: nil,
|
|
178
180
|
chrome_big_picture: nil,
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
| **mutable_content** | **Boolean** | Channel: Push Notifications Platform: iOS 10+ Always defaults to true and cannot be turned off. Allows tracking of notification receives and changing of the notification content in your app before it is displayed. Triggers didReceive(_:withContentHandler:) on your UNNotificationServiceExtension. | [optional] |
|
|
36
36
|
| **target_content_identifier** | **String** | Channel: Push Notifications Platform: iOS 13+ Use to target a specific experience in your App Clip, or to target your notification to a specific window in a multi-scene App. | [optional] |
|
|
37
37
|
| **big_picture** | **String** | Channel: Push Notifications Platform: Android Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] |
|
|
38
|
+
| **global_image** | **String** | Channel: Push Notifications Platform: All Picture to display on all platforms that support it. Must be a URL to an image file. Platform-specific picture fields (big_picture, huawei_big_picture, adm_big_picture, chrome_web_image, ios_attachments, firefox_icon) take precedence over this value when set. | [optional] |
|
|
38
39
|
| **huawei_big_picture** | **String** | Channel: Push Notifications Platform: Huawei Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] |
|
|
39
40
|
| **adm_big_picture** | **String** | Channel: Push Notifications Platform: Amazon Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] |
|
|
40
41
|
| **chrome_big_picture** | **String** | Channel: Push Notifications Platform: ChromeApp Large picture to display below the notification text. Must be a local URL. | [optional] |
|
|
@@ -145,6 +146,7 @@ instance = OneSignal::BasicNotificationAllOf.new(
|
|
|
145
146
|
mutable_content: nil,
|
|
146
147
|
target_content_identifier: nil,
|
|
147
148
|
big_picture: nil,
|
|
149
|
+
global_image: nil,
|
|
148
150
|
huawei_big_picture: nil,
|
|
149
151
|
adm_big_picture: nil,
|
|
150
152
|
chrome_big_picture: nil,
|
data/docs/DefaultApi.md
CHANGED
|
@@ -10,7 +10,7 @@ All URIs are relative to *https://api.onesignal.com*
|
|
|
10
10
|
| [**create_alias_by_subscription**](DefaultApi.md#create_alias_by_subscription) | **PATCH** /apps/{app_id}/subscriptions/{subscription_id}/user/identity | |
|
|
11
11
|
| [**create_api_key**](DefaultApi.md#create_api_key) | **POST** /apps/{app_id}/auth/tokens | Create API key |
|
|
12
12
|
| [**create_app**](DefaultApi.md#create_app) | **POST** /apps | Create an app |
|
|
13
|
-
| [**create_custom_events**](DefaultApi.md#create_custom_events) | **POST** /apps/{app_id}/
|
|
13
|
+
| [**create_custom_events**](DefaultApi.md#create_custom_events) | **POST** /apps/{app_id}/custom_events | Create custom events |
|
|
14
14
|
| [**create_notification**](DefaultApi.md#create_notification) | **POST** /notifications | Create notification |
|
|
15
15
|
| [**create_segment**](DefaultApi.md#create_segment) | **POST** /apps/{app_id}/segments | Create Segment |
|
|
16
16
|
| [**create_subscription**](DefaultApi.md#create_subscription) | **POST** /apps/{app_id}/users/by/{alias_label}/{alias_id}/subscriptions | |
|
|
@@ -22,7 +22,7 @@ All URIs are relative to *https://api.onesignal.com*
|
|
|
22
22
|
| [**delete_subscription**](DefaultApi.md#delete_subscription) | **DELETE** /apps/{app_id}/subscriptions/{subscription_id} | |
|
|
23
23
|
| [**delete_template**](DefaultApi.md#delete_template) | **DELETE** /templates/{template_id} | Delete template |
|
|
24
24
|
| [**delete_user**](DefaultApi.md#delete_user) | **DELETE** /apps/{app_id}/users/by/{alias_label}/{alias_id} | |
|
|
25
|
-
| [**export_events**](DefaultApi.md#export_events) | **POST** /notifications/{notification_id}/export_events
|
|
25
|
+
| [**export_events**](DefaultApi.md#export_events) | **POST** /notifications/{notification_id}/export_events | Export CSV of Events |
|
|
26
26
|
| [**export_subscriptions**](DefaultApi.md#export_subscriptions) | **POST** /players/csv_export?app_id={app_id} | Export CSV of Subscriptions |
|
|
27
27
|
| [**get_aliases**](DefaultApi.md#get_aliases) | **GET** /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity | |
|
|
28
28
|
| [**get_aliases_by_subscription**](DefaultApi.md#get_aliases_by_subscription) | **GET** /apps/{app_id}/subscriptions/{subscription_id}/user/identity | |
|
data/docs/Notification.md
CHANGED
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
| **mutable_content** | **Boolean** | Channel: Push Notifications Platform: iOS 10+ Always defaults to true and cannot be turned off. Allows tracking of notification receives and changing of the notification content in your app before it is displayed. Triggers didReceive(_:withContentHandler:) on your UNNotificationServiceExtension. | [optional] |
|
|
50
50
|
| **target_content_identifier** | **String** | Channel: Push Notifications Platform: iOS 13+ Use to target a specific experience in your App Clip, or to target your notification to a specific window in a multi-scene App. | [optional] |
|
|
51
51
|
| **big_picture** | **String** | Channel: Push Notifications Platform: Android Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] |
|
|
52
|
+
| **global_image** | **String** | Channel: Push Notifications Platform: All Picture to display on all platforms that support it. Must be a URL to an image file. Platform-specific picture fields (big_picture, huawei_big_picture, adm_big_picture, chrome_web_image, ios_attachments, firefox_icon) take precedence over this value when set. | [optional] |
|
|
52
53
|
| **huawei_big_picture** | **String** | Channel: Push Notifications Platform: Huawei Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] |
|
|
53
54
|
| **adm_big_picture** | **String** | Channel: Push Notifications Platform: Amazon Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] |
|
|
54
55
|
| **chrome_big_picture** | **String** | Channel: Push Notifications Platform: ChromeApp Large picture to display below the notification text. Must be a local URL. | [optional] |
|
|
@@ -174,6 +175,7 @@ instance = OneSignal::Notification.new(
|
|
|
174
175
|
mutable_content: nil,
|
|
175
176
|
target_content_identifier: nil,
|
|
176
177
|
big_picture: nil,
|
|
178
|
+
global_image: nil,
|
|
177
179
|
huawei_big_picture: nil,
|
|
178
180
|
adm_big_picture: nil,
|
|
179
181
|
chrome_big_picture: nil,
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
| **mutable_content** | **Boolean** | Channel: Push Notifications Platform: iOS 10+ Always defaults to true and cannot be turned off. Allows tracking of notification receives and changing of the notification content in your app before it is displayed. Triggers didReceive(_:withContentHandler:) on your UNNotificationServiceExtension. | [optional] |
|
|
50
50
|
| **target_content_identifier** | **String** | Channel: Push Notifications Platform: iOS 13+ Use to target a specific experience in your App Clip, or to target your notification to a specific window in a multi-scene App. | [optional] |
|
|
51
51
|
| **big_picture** | **String** | Channel: Push Notifications Platform: Android Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] |
|
|
52
|
+
| **global_image** | **String** | Channel: Push Notifications Platform: All Picture to display on all platforms that support it. Must be a URL to an image file. Platform-specific picture fields (big_picture, huawei_big_picture, adm_big_picture, chrome_web_image, ios_attachments, firefox_icon) take precedence over this value when set. | [optional] |
|
|
52
53
|
| **huawei_big_picture** | **String** | Channel: Push Notifications Platform: Huawei Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] |
|
|
53
54
|
| **adm_big_picture** | **String** | Channel: Push Notifications Platform: Amazon Picture to display in the expanded view. Can be a drawable resource name or a URL. | [optional] |
|
|
54
55
|
| **chrome_big_picture** | **String** | Channel: Push Notifications Platform: ChromeApp Large picture to display below the notification text. Must be a local URL. | [optional] |
|
|
@@ -186,6 +187,7 @@ instance = OneSignal::NotificationWithMeta.new(
|
|
|
186
187
|
mutable_content: nil,
|
|
187
188
|
target_content_identifier: nil,
|
|
188
189
|
big_picture: nil,
|
|
190
|
+
global_image: nil,
|
|
189
191
|
huawei_big_picture: nil,
|
|
190
192
|
adm_big_picture: nil,
|
|
191
193
|
chrome_big_picture: nil,
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -504,7 +503,7 @@ module OneSignal
|
|
|
504
503
|
fail ArgumentError, "Missing the required parameter 'custom_events_request' when calling DefaultApi.create_custom_events"
|
|
505
504
|
end
|
|
506
505
|
# resource path
|
|
507
|
-
local_var_path = '/apps/{app_id}/
|
|
506
|
+
local_var_path = '/apps/{app_id}/custom_events'.sub('{' + 'app_id' + '}', CGI.escape(app_id.to_s))
|
|
508
507
|
|
|
509
508
|
# query parameters
|
|
510
509
|
query_params = opts[:query_params] || {}
|
|
@@ -1367,7 +1366,7 @@ module OneSignal
|
|
|
1367
1366
|
fail ArgumentError, "Missing the required parameter 'app_id' when calling DefaultApi.export_events"
|
|
1368
1367
|
end
|
|
1369
1368
|
# resource path
|
|
1370
|
-
local_var_path = '/notifications/{notification_id}/export_events
|
|
1369
|
+
local_var_path = '/notifications/{notification_id}/export_events'.sub('{' + 'notification_id' + '}', CGI.escape(notification_id.to_s))
|
|
1371
1370
|
|
|
1372
1371
|
# query parameters
|
|
1373
1372
|
query_params = opts[:query_params] || {}
|
data/lib/onesignal/api_client.rb
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -90,7 +89,7 @@ module OneSignal
|
|
|
90
89
|
url = build_request_url(path, opts)
|
|
91
90
|
http_method = http_method.to_sym.downcase
|
|
92
91
|
|
|
93
|
-
opts[:header_params]['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-ruby, version=5.11.
|
|
92
|
+
opts[:header_params]['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-ruby, version=5.11.2'
|
|
94
93
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
|
95
94
|
query_params = opts[:query_params] || {}
|
|
96
95
|
form_params = opts[:form_params] || {}
|
data/lib/onesignal/api_error.rb
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
data/lib/onesignal/models/app.rb
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -143,6 +142,9 @@ module OneSignal
|
|
|
143
142
|
# Channel: Push Notifications Platform: Android Picture to display in the expanded view. Can be a drawable resource name or a URL.
|
|
144
143
|
attr_accessor :big_picture
|
|
145
144
|
|
|
145
|
+
# Channel: Push Notifications Platform: All Picture to display on all platforms that support it. Must be a URL to an image file. Platform-specific picture fields (big_picture, huawei_big_picture, adm_big_picture, chrome_web_image, ios_attachments, firefox_icon) take precedence over this value when set.
|
|
146
|
+
attr_accessor :global_image
|
|
147
|
+
|
|
146
148
|
# Channel: Push Notifications Platform: Huawei Picture to display in the expanded view. Can be a drawable resource name or a URL.
|
|
147
149
|
attr_accessor :huawei_big_picture
|
|
148
150
|
|
|
@@ -427,6 +429,7 @@ module OneSignal
|
|
|
427
429
|
:'mutable_content' => :'mutable_content',
|
|
428
430
|
:'target_content_identifier' => :'target_content_identifier',
|
|
429
431
|
:'big_picture' => :'big_picture',
|
|
432
|
+
:'global_image' => :'global_image',
|
|
430
433
|
:'huawei_big_picture' => :'huawei_big_picture',
|
|
431
434
|
:'adm_big_picture' => :'adm_big_picture',
|
|
432
435
|
:'chrome_big_picture' => :'chrome_big_picture',
|
|
@@ -555,6 +558,7 @@ module OneSignal
|
|
|
555
558
|
:'mutable_content' => :'Boolean',
|
|
556
559
|
:'target_content_identifier' => :'String',
|
|
557
560
|
:'big_picture' => :'String',
|
|
561
|
+
:'global_image' => :'String',
|
|
558
562
|
:'huawei_big_picture' => :'String',
|
|
559
563
|
:'adm_big_picture' => :'String',
|
|
560
564
|
:'chrome_big_picture' => :'String',
|
|
@@ -661,6 +665,7 @@ module OneSignal
|
|
|
661
665
|
:'content_available',
|
|
662
666
|
:'target_content_identifier',
|
|
663
667
|
:'big_picture',
|
|
668
|
+
:'global_image',
|
|
664
669
|
:'huawei_big_picture',
|
|
665
670
|
:'adm_big_picture',
|
|
666
671
|
:'chrome_big_picture',
|
|
@@ -959,6 +964,10 @@ module OneSignal
|
|
|
959
964
|
self.big_picture = attributes[:'big_picture']
|
|
960
965
|
end
|
|
961
966
|
|
|
967
|
+
if attributes.key?(:'global_image')
|
|
968
|
+
self.global_image = attributes[:'global_image']
|
|
969
|
+
end
|
|
970
|
+
|
|
962
971
|
if attributes.key?(:'huawei_big_picture')
|
|
963
972
|
self.huawei_big_picture = attributes[:'huawei_big_picture']
|
|
964
973
|
end
|
|
@@ -1377,6 +1386,7 @@ module OneSignal
|
|
|
1377
1386
|
mutable_content == o.mutable_content &&
|
|
1378
1387
|
target_content_identifier == o.target_content_identifier &&
|
|
1379
1388
|
big_picture == o.big_picture &&
|
|
1389
|
+
global_image == o.global_image &&
|
|
1380
1390
|
huawei_big_picture == o.huawei_big_picture &&
|
|
1381
1391
|
adm_big_picture == o.adm_big_picture &&
|
|
1382
1392
|
chrome_big_picture == o.chrome_big_picture &&
|
|
@@ -1460,7 +1470,7 @@ module OneSignal
|
|
|
1460
1470
|
# Calculates hash code according to all attributes.
|
|
1461
1471
|
# @return [Integer] Hash code
|
|
1462
1472
|
def hash
|
|
1463
|
-
[included_segments, excluded_segments, include_subscription_ids, include_email_tokens, email_to, include_phone_numbers, include_ios_tokens, include_wp_wns_uris, include_amazon_reg_ids, include_chrome_reg_ids, include_chrome_web_reg_ids, include_android_reg_ids, include_aliases, target_channel, id, value, name, aggregation, is_ios, is_android, is_huawei, is_any_web, is_chrome_web, is_firefox, is_safari, is_wp_wns, is_adm, is_chrome, app_id, external_id, idempotency_key, contents, headings, subtitle, data, huawei_msg_type, url, web_url, app_url, ios_attachments, template_id, content_available, mutable_content, target_content_identifier, big_picture, huawei_big_picture, adm_big_picture, chrome_big_picture, chrome_web_image, buttons, web_buttons, ios_category, android_channel_id, huawei_channel_id, existing_android_channel_id, huawei_existing_channel_id, android_background_layout, small_icon, huawei_small_icon, large_icon, huawei_large_icon, adm_small_icon, adm_large_icon, chrome_web_icon, chrome_web_badge, firefox_icon, chrome_icon, ios_sound, android_sound, huawei_sound, adm_sound, wp_wns_sound, android_led_color, huawei_led_color, android_accent_color, huawei_accent_color, android_visibility, huawei_visibility, ios_badge_type, ios_badge_count, collapse_id, web_push_topic, apns_alert, delayed_option, delivery_time_of_day, ttl, priority, apns_push_type_override, throttle_rate_per_minute, android_group, android_group_message, adm_group, adm_group_message, thread_id, summary_arg, summary_arg_count, ios_relevance_score, ios_interruption_level, email_subject, email_body, email_from_name, email_from_address, email_reply_to_address, email_preheader, disable_email_click_tracking, include_unsubscribed, email_bcc, email_sender_domain, sms_from, sms_media_urls, filters, custom_data, huawei_badge_class, huawei_badge_add_num, huawei_badge_set_num, huawei_category, huawei_bi_tag].hash
|
|
1473
|
+
[included_segments, excluded_segments, include_subscription_ids, include_email_tokens, email_to, include_phone_numbers, include_ios_tokens, include_wp_wns_uris, include_amazon_reg_ids, include_chrome_reg_ids, include_chrome_web_reg_ids, include_android_reg_ids, include_aliases, target_channel, id, value, name, aggregation, is_ios, is_android, is_huawei, is_any_web, is_chrome_web, is_firefox, is_safari, is_wp_wns, is_adm, is_chrome, app_id, external_id, idempotency_key, contents, headings, subtitle, data, huawei_msg_type, url, web_url, app_url, ios_attachments, template_id, content_available, mutable_content, target_content_identifier, big_picture, global_image, huawei_big_picture, adm_big_picture, chrome_big_picture, chrome_web_image, buttons, web_buttons, ios_category, android_channel_id, huawei_channel_id, existing_android_channel_id, huawei_existing_channel_id, android_background_layout, small_icon, huawei_small_icon, large_icon, huawei_large_icon, adm_small_icon, adm_large_icon, chrome_web_icon, chrome_web_badge, firefox_icon, chrome_icon, ios_sound, android_sound, huawei_sound, adm_sound, wp_wns_sound, android_led_color, huawei_led_color, android_accent_color, huawei_accent_color, android_visibility, huawei_visibility, ios_badge_type, ios_badge_count, collapse_id, web_push_topic, apns_alert, delayed_option, delivery_time_of_day, ttl, priority, apns_push_type_override, throttle_rate_per_minute, android_group, android_group_message, adm_group, adm_group_message, thread_id, summary_arg, summary_arg_count, ios_relevance_score, ios_interruption_level, email_subject, email_body, email_from_name, email_from_address, email_reply_to_address, email_preheader, disable_email_click_tracking, include_unsubscribed, email_bcc, email_sender_domain, sms_from, sms_media_urls, filters, custom_data, huawei_badge_class, huawei_badge_add_num, huawei_badge_set_num, huawei_category, huawei_bi_tag].hash
|
|
1464
1474
|
end
|
|
1465
1475
|
|
|
1466
1476
|
# Builds the object from hash
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -102,6 +101,9 @@ module OneSignal
|
|
|
102
101
|
# Channel: Push Notifications Platform: Android Picture to display in the expanded view. Can be a drawable resource name or a URL.
|
|
103
102
|
attr_accessor :big_picture
|
|
104
103
|
|
|
104
|
+
# Channel: Push Notifications Platform: All Picture to display on all platforms that support it. Must be a URL to an image file. Platform-specific picture fields (big_picture, huawei_big_picture, adm_big_picture, chrome_web_image, ios_attachments, firefox_icon) take precedence over this value when set.
|
|
105
|
+
attr_accessor :global_image
|
|
106
|
+
|
|
105
107
|
# Channel: Push Notifications Platform: Huawei Picture to display in the expanded view. Can be a drawable resource name or a URL.
|
|
106
108
|
attr_accessor :huawei_big_picture
|
|
107
109
|
|
|
@@ -372,6 +374,7 @@ module OneSignal
|
|
|
372
374
|
:'mutable_content' => :'mutable_content',
|
|
373
375
|
:'target_content_identifier' => :'target_content_identifier',
|
|
374
376
|
:'big_picture' => :'big_picture',
|
|
377
|
+
:'global_image' => :'global_image',
|
|
375
378
|
:'huawei_big_picture' => :'huawei_big_picture',
|
|
376
379
|
:'adm_big_picture' => :'adm_big_picture',
|
|
377
380
|
:'chrome_big_picture' => :'chrome_big_picture',
|
|
@@ -486,6 +489,7 @@ module OneSignal
|
|
|
486
489
|
:'mutable_content' => :'Boolean',
|
|
487
490
|
:'target_content_identifier' => :'String',
|
|
488
491
|
:'big_picture' => :'String',
|
|
492
|
+
:'global_image' => :'String',
|
|
489
493
|
:'huawei_big_picture' => :'String',
|
|
490
494
|
:'adm_big_picture' => :'String',
|
|
491
495
|
:'chrome_big_picture' => :'String',
|
|
@@ -590,6 +594,7 @@ module OneSignal
|
|
|
590
594
|
:'content_available',
|
|
591
595
|
:'target_content_identifier',
|
|
592
596
|
:'big_picture',
|
|
597
|
+
:'global_image',
|
|
593
598
|
:'huawei_big_picture',
|
|
594
599
|
:'adm_big_picture',
|
|
595
600
|
:'chrome_big_picture',
|
|
@@ -798,6 +803,10 @@ module OneSignal
|
|
|
798
803
|
self.big_picture = attributes[:'big_picture']
|
|
799
804
|
end
|
|
800
805
|
|
|
806
|
+
if attributes.key?(:'global_image')
|
|
807
|
+
self.global_image = attributes[:'global_image']
|
|
808
|
+
end
|
|
809
|
+
|
|
801
810
|
if attributes.key?(:'huawei_big_picture')
|
|
802
811
|
self.huawei_big_picture = attributes[:'huawei_big_picture']
|
|
803
812
|
end
|
|
@@ -1185,6 +1194,7 @@ module OneSignal
|
|
|
1185
1194
|
mutable_content == o.mutable_content &&
|
|
1186
1195
|
target_content_identifier == o.target_content_identifier &&
|
|
1187
1196
|
big_picture == o.big_picture &&
|
|
1197
|
+
global_image == o.global_image &&
|
|
1188
1198
|
huawei_big_picture == o.huawei_big_picture &&
|
|
1189
1199
|
adm_big_picture == o.adm_big_picture &&
|
|
1190
1200
|
chrome_big_picture == o.chrome_big_picture &&
|
|
@@ -1268,7 +1278,7 @@ module OneSignal
|
|
|
1268
1278
|
# Calculates hash code according to all attributes.
|
|
1269
1279
|
# @return [Integer] Hash code
|
|
1270
1280
|
def hash
|
|
1271
|
-
[id, value, name, aggregation, is_ios, is_android, is_huawei, is_any_web, is_chrome_web, is_firefox, is_safari, is_wp_wns, is_adm, is_chrome, app_id, external_id, idempotency_key, contents, headings, subtitle, data, huawei_msg_type, url, web_url, app_url, ios_attachments, template_id, content_available, mutable_content, target_content_identifier, big_picture, huawei_big_picture, adm_big_picture, chrome_big_picture, chrome_web_image, buttons, web_buttons, ios_category, android_channel_id, huawei_channel_id, existing_android_channel_id, huawei_existing_channel_id, android_background_layout, small_icon, huawei_small_icon, large_icon, huawei_large_icon, adm_small_icon, adm_large_icon, chrome_web_icon, chrome_web_badge, firefox_icon, chrome_icon, ios_sound, android_sound, huawei_sound, adm_sound, wp_wns_sound, android_led_color, huawei_led_color, android_accent_color, huawei_accent_color, android_visibility, huawei_visibility, ios_badge_type, ios_badge_count, collapse_id, web_push_topic, apns_alert, delayed_option, delivery_time_of_day, ttl, priority, apns_push_type_override, throttle_rate_per_minute, android_group, android_group_message, adm_group, adm_group_message, thread_id, summary_arg, summary_arg_count, ios_relevance_score, ios_interruption_level, email_subject, email_body, email_from_name, email_from_address, email_reply_to_address, email_preheader, disable_email_click_tracking, include_unsubscribed, email_bcc, email_sender_domain, sms_from, sms_media_urls, filters, custom_data, huawei_badge_class, huawei_badge_add_num, huawei_badge_set_num, huawei_category, huawei_bi_tag].hash
|
|
1281
|
+
[id, value, name, aggregation, is_ios, is_android, is_huawei, is_any_web, is_chrome_web, is_firefox, is_safari, is_wp_wns, is_adm, is_chrome, app_id, external_id, idempotency_key, contents, headings, subtitle, data, huawei_msg_type, url, web_url, app_url, ios_attachments, template_id, content_available, mutable_content, target_content_identifier, big_picture, global_image, huawei_big_picture, adm_big_picture, chrome_big_picture, chrome_web_image, buttons, web_buttons, ios_category, android_channel_id, huawei_channel_id, existing_android_channel_id, huawei_existing_channel_id, android_background_layout, small_icon, huawei_small_icon, large_icon, huawei_large_icon, adm_small_icon, adm_large_icon, chrome_web_icon, chrome_web_badge, firefox_icon, chrome_icon, ios_sound, android_sound, huawei_sound, adm_sound, wp_wns_sound, android_led_color, huawei_led_color, android_accent_color, huawei_accent_color, android_visibility, huawei_visibility, ios_badge_type, ios_badge_count, collapse_id, web_push_topic, apns_alert, delayed_option, delivery_time_of_day, ttl, priority, apns_push_type_override, throttle_rate_per_minute, android_group, android_group_message, adm_group, adm_group_message, thread_id, summary_arg, summary_arg_count, ios_relevance_score, ios_interruption_level, email_subject, email_body, email_from_name, email_from_address, email_reply_to_address, email_preheader, disable_email_click_tracking, include_unsubscribed, email_bcc, email_sender_domain, sms_from, sms_media_urls, filters, custom_data, huawei_badge_class, huawei_badge_add_num, huawei_badge_set_num, huawei_category, huawei_bi_tag].hash
|
|
1272
1282
|
end
|
|
1273
1283
|
|
|
1274
1284
|
# Builds the object from hash
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.11.0
|
|
7
6
|
Contact: devrel@onesignal.com
|
|
8
7
|
Generated by: https://openapi-generator.tech
|
|
9
8
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|