onesignal 5.11.0 → 5.11.1

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.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +2 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +3 -3
  5. data/docs/BasicNotification.md +2 -0
  6. data/docs/BasicNotificationAllOf.md +2 -0
  7. data/docs/DefaultApi.md +1 -1
  8. data/docs/Notification.md +2 -0
  9. data/docs/NotificationWithMeta.md +2 -0
  10. data/lib/onesignal/api/default_api.rb +2 -2
  11. data/lib/onesignal/api_client.rb +2 -2
  12. data/lib/onesignal/api_error.rb +1 -1
  13. data/lib/onesignal/configuration.rb +1 -1
  14. data/lib/onesignal/models/api_key_token.rb +1 -1
  15. data/lib/onesignal/models/api_key_tokens_list_response.rb +1 -1
  16. data/lib/onesignal/models/app.rb +1 -1
  17. data/lib/onesignal/models/audit_log_actor.rb +1 -1
  18. data/lib/onesignal/models/audit_log_context.rb +1 -1
  19. data/lib/onesignal/models/audit_log_event.rb +1 -1
  20. data/lib/onesignal/models/audit_log_target.rb +1 -1
  21. data/lib/onesignal/models/basic_notification.rb +13 -2
  22. data/lib/onesignal/models/basic_notification_all_of.rb +13 -2
  23. data/lib/onesignal/models/basic_notification_all_of_android_background_layout.rb +1 -1
  24. data/lib/onesignal/models/button.rb +1 -1
  25. data/lib/onesignal/models/copy_template_request.rb +1 -1
  26. data/lib/onesignal/models/create_api_key_request.rb +1 -1
  27. data/lib/onesignal/models/create_api_key_response.rb +1 -1
  28. data/lib/onesignal/models/create_notification_success_response.rb +1 -1
  29. data/lib/onesignal/models/create_segment_conflict_response.rb +1 -1
  30. data/lib/onesignal/models/create_segment_success_response.rb +1 -1
  31. data/lib/onesignal/models/create_template_request.rb +1 -1
  32. data/lib/onesignal/models/create_user_conflict_response.rb +1 -1
  33. data/lib/onesignal/models/create_user_conflict_response_errors_inner.rb +1 -1
  34. data/lib/onesignal/models/create_user_conflict_response_errors_items_meta.rb +1 -1
  35. data/lib/onesignal/models/custom_event.rb +1 -1
  36. data/lib/onesignal/models/custom_events_request.rb +1 -1
  37. data/lib/onesignal/models/delivery_data.rb +1 -1
  38. data/lib/onesignal/models/export_events_success_response.rb +1 -1
  39. data/lib/onesignal/models/export_subscriptions_request_body.rb +1 -1
  40. data/lib/onesignal/models/export_subscriptions_success_response.rb +1 -1
  41. data/lib/onesignal/models/filter.rb +1 -1
  42. data/lib/onesignal/models/filter_expression.rb +1 -1
  43. data/lib/onesignal/models/generic_error.rb +1 -1
  44. data/lib/onesignal/models/generic_success_bool_response.rb +1 -1
  45. data/lib/onesignal/models/get_notification_history_request_body.rb +1 -1
  46. data/lib/onesignal/models/get_segment_success_response.rb +1 -1
  47. data/lib/onesignal/models/get_segments_success_response.rb +1 -1
  48. data/lib/onesignal/models/language_string_map.rb +1 -1
  49. data/lib/onesignal/models/list_audit_logs_success_response.rb +1 -1
  50. data/lib/onesignal/models/notification.rb +13 -2
  51. data/lib/onesignal/models/notification_all_of.rb +1 -1
  52. data/lib/onesignal/models/notification_history_success_response.rb +1 -1
  53. data/lib/onesignal/models/notification_slice.rb +1 -1
  54. data/lib/onesignal/models/notification_target.rb +1 -1
  55. data/lib/onesignal/models/notification_with_meta.rb +13 -2
  56. data/lib/onesignal/models/notification_with_meta_all_of.rb +1 -1
  57. data/lib/onesignal/models/operator.rb +1 -1
  58. data/lib/onesignal/models/outcome_data.rb +1 -1
  59. data/lib/onesignal/models/outcomes_data.rb +1 -1
  60. data/lib/onesignal/models/platform_delivery_data.rb +1 -1
  61. data/lib/onesignal/models/platform_delivery_data_email_all_of.rb +1 -1
  62. data/lib/onesignal/models/platform_delivery_data_sms_all_of.rb +1 -1
  63. data/lib/onesignal/models/properties_body.rb +1 -1
  64. data/lib/onesignal/models/properties_deltas.rb +1 -1
  65. data/lib/onesignal/models/properties_object.rb +1 -1
  66. data/lib/onesignal/models/purchase.rb +1 -1
  67. data/lib/onesignal/models/rate_limit_error.rb +1 -1
  68. data/lib/onesignal/models/segment.rb +1 -1
  69. data/lib/onesignal/models/segment_data.rb +1 -1
  70. data/lib/onesignal/models/segment_details.rb +1 -1
  71. data/lib/onesignal/models/segment_notification_target.rb +1 -1
  72. data/lib/onesignal/models/start_live_activity_request.rb +1 -1
  73. data/lib/onesignal/models/start_live_activity_success_response.rb +1 -1
  74. data/lib/onesignal/models/subscription.rb +1 -1
  75. data/lib/onesignal/models/subscription_body.rb +1 -1
  76. data/lib/onesignal/models/subscription_notification_target.rb +1 -1
  77. data/lib/onesignal/models/template_resource.rb +1 -1
  78. data/lib/onesignal/models/templates_list_response.rb +1 -1
  79. data/lib/onesignal/models/transfer_subscription_request_body.rb +1 -1
  80. data/lib/onesignal/models/update_api_key_request.rb +1 -1
  81. data/lib/onesignal/models/update_live_activity_request.rb +1 -1
  82. data/lib/onesignal/models/update_live_activity_success_response.rb +1 -1
  83. data/lib/onesignal/models/update_segment_request.rb +1 -1
  84. data/lib/onesignal/models/update_segment_success_response.rb +1 -1
  85. data/lib/onesignal/models/update_template_request.rb +1 -1
  86. data/lib/onesignal/models/update_user_request.rb +1 -1
  87. data/lib/onesignal/models/user.rb +1 -1
  88. data/lib/onesignal/models/user_identity_body.rb +1 -1
  89. data/lib/onesignal/models/web_button.rb +1 -1
  90. data/lib/onesignal/version.rb +2 -2
  91. data/lib/onesignal.rb +1 -1
  92. data/onesignal.gemspec +1 -1
  93. data/spec/api/default_api_spec.rb +1 -1
  94. data/spec/api_client_spec.rb +1 -1
  95. data/spec/configuration_spec.rb +1 -1
  96. data/spec/models/api_key_token_spec.rb +1 -1
  97. data/spec/models/api_key_tokens_list_response_spec.rb +1 -1
  98. data/spec/models/app_spec.rb +1 -1
  99. data/spec/models/audit_log_actor_spec.rb +1 -1
  100. data/spec/models/audit_log_context_spec.rb +1 -1
  101. data/spec/models/audit_log_event_spec.rb +1 -1
  102. data/spec/models/audit_log_target_spec.rb +1 -1
  103. data/spec/models/basic_notification_all_of_android_background_layout_spec.rb +1 -1
  104. data/spec/models/basic_notification_all_of_spec.rb +7 -1
  105. data/spec/models/basic_notification_spec.rb +7 -1
  106. data/spec/models/button_spec.rb +1 -1
  107. data/spec/models/copy_template_request_spec.rb +1 -1
  108. data/spec/models/create_api_key_request_spec.rb +1 -1
  109. data/spec/models/create_api_key_response_spec.rb +1 -1
  110. data/spec/models/create_notification_success_response_spec.rb +1 -1
  111. data/spec/models/create_segment_conflict_response_spec.rb +1 -1
  112. data/spec/models/create_segment_success_response_spec.rb +1 -1
  113. data/spec/models/create_template_request_spec.rb +1 -1
  114. data/spec/models/create_user_conflict_response_errors_inner_spec.rb +1 -1
  115. data/spec/models/create_user_conflict_response_errors_items_meta_spec.rb +1 -1
  116. data/spec/models/create_user_conflict_response_spec.rb +1 -1
  117. data/spec/models/custom_event_spec.rb +1 -1
  118. data/spec/models/custom_events_request_spec.rb +1 -1
  119. data/spec/models/delivery_data_spec.rb +1 -1
  120. data/spec/models/export_events_success_response_spec.rb +1 -1
  121. data/spec/models/export_subscriptions_request_body_spec.rb +1 -1
  122. data/spec/models/export_subscriptions_success_response_spec.rb +1 -1
  123. data/spec/models/filter_expression_spec.rb +1 -1
  124. data/spec/models/filter_spec.rb +1 -1
  125. data/spec/models/generic_error_spec.rb +1 -1
  126. data/spec/models/generic_success_bool_response_spec.rb +1 -1
  127. data/spec/models/get_notification_history_request_body_spec.rb +1 -1
  128. data/spec/models/get_segment_success_response_spec.rb +1 -1
  129. data/spec/models/get_segments_success_response_spec.rb +1 -1
  130. data/spec/models/language_string_map_spec.rb +1 -1
  131. data/spec/models/list_audit_logs_success_response_spec.rb +1 -1
  132. data/spec/models/notification_all_of_spec.rb +1 -1
  133. data/spec/models/notification_history_success_response_spec.rb +1 -1
  134. data/spec/models/notification_slice_spec.rb +1 -1
  135. data/spec/models/notification_spec.rb +7 -1
  136. data/spec/models/notification_target_spec.rb +1 -1
  137. data/spec/models/notification_with_meta_all_of_spec.rb +1 -1
  138. data/spec/models/notification_with_meta_spec.rb +7 -1
  139. data/spec/models/operator_spec.rb +1 -1
  140. data/spec/models/outcome_data_spec.rb +1 -1
  141. data/spec/models/outcomes_data_spec.rb +1 -1
  142. data/spec/models/platform_delivery_data_email_all_of_spec.rb +1 -1
  143. data/spec/models/platform_delivery_data_sms_all_of_spec.rb +1 -1
  144. data/spec/models/platform_delivery_data_spec.rb +1 -1
  145. data/spec/models/properties_body_spec.rb +1 -1
  146. data/spec/models/properties_deltas_spec.rb +1 -1
  147. data/spec/models/properties_object_spec.rb +1 -1
  148. data/spec/models/purchase_spec.rb +1 -1
  149. data/spec/models/rate_limit_error_spec.rb +1 -1
  150. data/spec/models/segment_data_spec.rb +1 -1
  151. data/spec/models/segment_details_spec.rb +1 -1
  152. data/spec/models/segment_notification_target_spec.rb +1 -1
  153. data/spec/models/segment_spec.rb +1 -1
  154. data/spec/models/start_live_activity_request_spec.rb +1 -1
  155. data/spec/models/start_live_activity_success_response_spec.rb +1 -1
  156. data/spec/models/subscription_body_spec.rb +1 -1
  157. data/spec/models/subscription_notification_target_spec.rb +1 -1
  158. data/spec/models/subscription_spec.rb +1 -1
  159. data/spec/models/template_resource_spec.rb +1 -1
  160. data/spec/models/templates_list_response_spec.rb +1 -1
  161. data/spec/models/transfer_subscription_request_body_spec.rb +1 -1
  162. data/spec/models/update_api_key_request_spec.rb +1 -1
  163. data/spec/models/update_live_activity_request_spec.rb +1 -1
  164. data/spec/models/update_live_activity_success_response_spec.rb +1 -1
  165. data/spec/models/update_segment_request_spec.rb +1 -1
  166. data/spec/models/update_segment_success_response_spec.rb +1 -1
  167. data/spec/models/update_template_request_spec.rb +1 -1
  168. data/spec/models/update_user_request_spec.rb +1 -1
  169. data/spec/models/user_identity_body_spec.rb +1 -1
  170. data/spec/models/user_spec.rb +1 -1
  171. data/spec/models/web_button_spec.rb +1 -1
  172. data/spec/spec_helper.rb +1 -1
  173. metadata +2 -2
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -143,6 +143,9 @@ module OneSignal
143
143
  # Channel: Push Notifications Platform: Android Picture to display in the expanded view. Can be a drawable resource name or a URL.
144
144
  attr_accessor :big_picture
145
145
 
146
+ # 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.
147
+ attr_accessor :global_image
148
+
146
149
  # Channel: Push Notifications Platform: Huawei Picture to display in the expanded view. Can be a drawable resource name or a URL.
147
150
  attr_accessor :huawei_big_picture
148
151
 
@@ -430,6 +433,7 @@ module OneSignal
430
433
  :'mutable_content' => :'mutable_content',
431
434
  :'target_content_identifier' => :'target_content_identifier',
432
435
  :'big_picture' => :'big_picture',
436
+ :'global_image' => :'global_image',
433
437
  :'huawei_big_picture' => :'huawei_big_picture',
434
438
  :'adm_big_picture' => :'adm_big_picture',
435
439
  :'chrome_big_picture' => :'chrome_big_picture',
@@ -559,6 +563,7 @@ module OneSignal
559
563
  :'mutable_content' => :'Boolean',
560
564
  :'target_content_identifier' => :'String',
561
565
  :'big_picture' => :'String',
566
+ :'global_image' => :'String',
562
567
  :'huawei_big_picture' => :'String',
563
568
  :'adm_big_picture' => :'String',
564
569
  :'chrome_big_picture' => :'String',
@@ -666,6 +671,7 @@ module OneSignal
666
671
  :'content_available',
667
672
  :'target_content_identifier',
668
673
  :'big_picture',
674
+ :'global_image',
669
675
  :'huawei_big_picture',
670
676
  :'adm_big_picture',
671
677
  :'chrome_big_picture',
@@ -965,6 +971,10 @@ module OneSignal
965
971
  self.big_picture = attributes[:'big_picture']
966
972
  end
967
973
 
974
+ if attributes.key?(:'global_image')
975
+ self.global_image = attributes[:'global_image']
976
+ end
977
+
968
978
  if attributes.key?(:'huawei_big_picture')
969
979
  self.huawei_big_picture = attributes[:'huawei_big_picture']
970
980
  end
@@ -1387,6 +1397,7 @@ module OneSignal
1387
1397
  mutable_content == o.mutable_content &&
1388
1398
  target_content_identifier == o.target_content_identifier &&
1389
1399
  big_picture == o.big_picture &&
1400
+ global_image == o.global_image &&
1390
1401
  huawei_big_picture == o.huawei_big_picture &&
1391
1402
  adm_big_picture == o.adm_big_picture &&
1392
1403
  chrome_big_picture == o.chrome_big_picture &&
@@ -1471,7 +1482,7 @@ module OneSignal
1471
1482
  # Calculates hash code according to all attributes.
1472
1483
  # @return [Integer] Hash code
1473
1484
  def hash
1474
- [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, send_after].hash
1485
+ [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, send_after].hash
1475
1486
  end
1476
1487
 
1477
1488
  # Builds the object from hash
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -143,6 +143,9 @@ module OneSignal
143
143
  # Channel: Push Notifications Platform: Android Picture to display in the expanded view. Can be a drawable resource name or a URL.
144
144
  attr_accessor :big_picture
145
145
 
146
+ # 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.
147
+ attr_accessor :global_image
148
+
146
149
  # Channel: Push Notifications Platform: Huawei Picture to display in the expanded view. Can be a drawable resource name or a URL.
147
150
  attr_accessor :huawei_big_picture
148
151
 
@@ -464,6 +467,7 @@ module OneSignal
464
467
  :'mutable_content' => :'mutable_content',
465
468
  :'target_content_identifier' => :'target_content_identifier',
466
469
  :'big_picture' => :'big_picture',
470
+ :'global_image' => :'global_image',
467
471
  :'huawei_big_picture' => :'huawei_big_picture',
468
472
  :'adm_big_picture' => :'adm_big_picture',
469
473
  :'chrome_big_picture' => :'chrome_big_picture',
@@ -605,6 +609,7 @@ module OneSignal
605
609
  :'mutable_content' => :'Boolean',
606
610
  :'target_content_identifier' => :'String',
607
611
  :'big_picture' => :'String',
612
+ :'global_image' => :'String',
608
613
  :'huawei_big_picture' => :'String',
609
614
  :'adm_big_picture' => :'String',
610
615
  :'chrome_big_picture' => :'String',
@@ -724,6 +729,7 @@ module OneSignal
724
729
  :'content_available',
725
730
  :'target_content_identifier',
726
731
  :'big_picture',
732
+ :'global_image',
727
733
  :'huawei_big_picture',
728
734
  :'adm_big_picture',
729
735
  :'chrome_big_picture',
@@ -1028,6 +1034,10 @@ module OneSignal
1028
1034
  self.big_picture = attributes[:'big_picture']
1029
1035
  end
1030
1036
 
1037
+ if attributes.key?(:'global_image')
1038
+ self.global_image = attributes[:'global_image']
1039
+ end
1040
+
1031
1041
  if attributes.key?(:'huawei_big_picture')
1032
1042
  self.huawei_big_picture = attributes[:'huawei_big_picture']
1033
1043
  end
@@ -1485,6 +1495,7 @@ module OneSignal
1485
1495
  mutable_content == o.mutable_content &&
1486
1496
  target_content_identifier == o.target_content_identifier &&
1487
1497
  big_picture == o.big_picture &&
1498
+ global_image == o.global_image &&
1488
1499
  huawei_big_picture == o.huawei_big_picture &&
1489
1500
  adm_big_picture == o.adm_big_picture &&
1490
1501
  chrome_big_picture == o.chrome_big_picture &&
@@ -1581,7 +1592,7 @@ module OneSignal
1581
1592
  # Calculates hash code according to all attributes.
1582
1593
  # @return [Integer] Hash code
1583
1594
  def hash
1584
- [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, successful, failed, errored, converted, received, outcomes, remaining, queued_at, send_after, completed_at, platform_delivery_stats, canceled, bcc_sent].hash
1595
+ [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, successful, failed, errored, converted, received, outcomes, remaining, queued_at, send_after, completed_at, platform_delivery_stats, canceled, bcc_sent].hash
1585
1596
  end
1586
1597
 
1587
1598
  # Builds the object from hash
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module OneSignal
14
- VERSION = '5.11.0'
14
+ VERSION = '5.11.1'
15
15
  end
data/lib/onesignal.rb CHANGED
@@ -3,7 +3,7 @@
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
6
+ The version of the OpenAPI document: 5.11.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT