onesignal 5.1.0.pre.beta1 → 5.2.1.pre.beta1

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 (127) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/BasicNotification.md +2 -0
  4. data/docs/BasicNotificationAllOf.md +2 -0
  5. data/docs/Notification.md +2 -0
  6. data/docs/NotificationWithMeta.md +5 -1
  7. data/docs/NotificationWithMetaAllOf.md +3 -1
  8. data/lib/onesignal/api/default_api.rb +1 -1
  9. data/lib/onesignal/api_client.rb +2 -2
  10. data/lib/onesignal/api_error.rb +1 -1
  11. data/lib/onesignal/configuration.rb +1 -1
  12. data/lib/onesignal/models/app.rb +1 -1
  13. data/lib/onesignal/models/basic_notification.rb +13 -2
  14. data/lib/onesignal/models/basic_notification_all_of.rb +13 -2
  15. data/lib/onesignal/models/basic_notification_all_of_android_background_layout.rb +1 -1
  16. data/lib/onesignal/models/button.rb +1 -1
  17. data/lib/onesignal/models/create_notification_success_response.rb +1 -1
  18. data/lib/onesignal/models/create_segment_conflict_response.rb +1 -1
  19. data/lib/onesignal/models/create_segment_success_response.rb +1 -1
  20. data/lib/onesignal/models/create_user_conflict_response.rb +1 -1
  21. data/lib/onesignal/models/create_user_conflict_response_errors_inner.rb +1 -1
  22. data/lib/onesignal/models/create_user_conflict_response_errors_items_meta.rb +1 -1
  23. data/lib/onesignal/models/delivery_data.rb +1 -1
  24. data/lib/onesignal/models/export_events_success_response.rb +1 -1
  25. data/lib/onesignal/models/export_subscriptions_request_body.rb +1 -1
  26. data/lib/onesignal/models/export_subscriptions_success_response.rb +1 -1
  27. data/lib/onesignal/models/filter.rb +1 -1
  28. data/lib/onesignal/models/filter_expression.rb +1 -1
  29. data/lib/onesignal/models/generic_error.rb +1 -1
  30. data/lib/onesignal/models/generic_success_bool_response.rb +1 -1
  31. data/lib/onesignal/models/get_notification_history_request_body.rb +1 -1
  32. data/lib/onesignal/models/get_segments_success_response.rb +1 -1
  33. data/lib/onesignal/models/language_string_map.rb +1 -1
  34. data/lib/onesignal/models/notification.rb +13 -2
  35. data/lib/onesignal/models/notification_all_of.rb +1 -1
  36. data/lib/onesignal/models/notification_history_success_response.rb +1 -1
  37. data/lib/onesignal/models/notification_slice.rb +1 -1
  38. data/lib/onesignal/models/notification_target.rb +1 -1
  39. data/lib/onesignal/models/notification_with_meta.rb +26 -5
  40. data/lib/onesignal/models/notification_with_meta_all_of.rb +16 -6
  41. data/lib/onesignal/models/operator.rb +1 -1
  42. data/lib/onesignal/models/outcome_data.rb +1 -1
  43. data/lib/onesignal/models/outcomes_data.rb +1 -1
  44. data/lib/onesignal/models/platform_delivery_data.rb +1 -1
  45. data/lib/onesignal/models/platform_delivery_data_email_all_of.rb +1 -1
  46. data/lib/onesignal/models/platform_delivery_data_sms_all_of.rb +1 -1
  47. data/lib/onesignal/models/properties_body.rb +1 -1
  48. data/lib/onesignal/models/properties_deltas.rb +1 -1
  49. data/lib/onesignal/models/properties_object.rb +1 -1
  50. data/lib/onesignal/models/purchase.rb +1 -1
  51. data/lib/onesignal/models/rate_limit_error.rb +1 -1
  52. data/lib/onesignal/models/segment.rb +1 -1
  53. data/lib/onesignal/models/segment_data.rb +1 -1
  54. data/lib/onesignal/models/segment_notification_target.rb +1 -1
  55. data/lib/onesignal/models/subscription.rb +1 -1
  56. data/lib/onesignal/models/subscription_body.rb +1 -1
  57. data/lib/onesignal/models/subscription_notification_target.rb +1 -1
  58. data/lib/onesignal/models/transfer_subscription_request_body.rb +1 -1
  59. data/lib/onesignal/models/update_live_activity_request.rb +1 -1
  60. data/lib/onesignal/models/update_live_activity_success_response.rb +1 -1
  61. data/lib/onesignal/models/update_user_request.rb +1 -1
  62. data/lib/onesignal/models/user.rb +1 -1
  63. data/lib/onesignal/models/user_identity_body.rb +1 -1
  64. data/lib/onesignal/models/web_button.rb +1 -1
  65. data/lib/onesignal/version.rb +2 -2
  66. data/lib/onesignal.rb +1 -1
  67. data/onesignal.gemspec +1 -1
  68. data/spec/api/default_api_spec.rb +1 -1
  69. data/spec/api_client_spec.rb +1 -1
  70. data/spec/configuration_spec.rb +1 -1
  71. data/spec/models/app_spec.rb +1 -1
  72. data/spec/models/basic_notification_all_of_android_background_layout_spec.rb +1 -1
  73. data/spec/models/basic_notification_all_of_spec.rb +7 -1
  74. data/spec/models/basic_notification_spec.rb +7 -1
  75. data/spec/models/button_spec.rb +1 -1
  76. data/spec/models/create_notification_success_response_spec.rb +1 -1
  77. data/spec/models/create_segment_conflict_response_spec.rb +1 -1
  78. data/spec/models/create_segment_success_response_spec.rb +1 -1
  79. data/spec/models/create_user_conflict_response_errors_inner_spec.rb +1 -1
  80. data/spec/models/create_user_conflict_response_errors_items_meta_spec.rb +1 -1
  81. data/spec/models/create_user_conflict_response_spec.rb +1 -1
  82. data/spec/models/delivery_data_spec.rb +1 -1
  83. data/spec/models/export_events_success_response_spec.rb +1 -1
  84. data/spec/models/export_subscriptions_request_body_spec.rb +1 -1
  85. data/spec/models/export_subscriptions_success_response_spec.rb +1 -1
  86. data/spec/models/filter_expression_spec.rb +1 -1
  87. data/spec/models/filter_spec.rb +1 -1
  88. data/spec/models/generic_error_spec.rb +1 -1
  89. data/spec/models/generic_success_bool_response_spec.rb +1 -1
  90. data/spec/models/get_notification_history_request_body_spec.rb +1 -1
  91. data/spec/models/get_segments_success_response_spec.rb +1 -1
  92. data/spec/models/language_string_map_spec.rb +1 -1
  93. data/spec/models/notification_all_of_spec.rb +1 -1
  94. data/spec/models/notification_history_success_response_spec.rb +1 -1
  95. data/spec/models/notification_slice_spec.rb +1 -1
  96. data/spec/models/notification_spec.rb +7 -1
  97. data/spec/models/notification_target_spec.rb +1 -1
  98. data/spec/models/notification_with_meta_all_of_spec.rb +7 -1
  99. data/spec/models/notification_with_meta_spec.rb +13 -1
  100. data/spec/models/operator_spec.rb +1 -1
  101. data/spec/models/outcome_data_spec.rb +1 -1
  102. data/spec/models/outcomes_data_spec.rb +1 -1
  103. data/spec/models/platform_delivery_data_email_all_of_spec.rb +1 -1
  104. data/spec/models/platform_delivery_data_sms_all_of_spec.rb +1 -1
  105. data/spec/models/platform_delivery_data_spec.rb +1 -1
  106. data/spec/models/properties_body_spec.rb +1 -1
  107. data/spec/models/properties_deltas_spec.rb +1 -1
  108. data/spec/models/properties_object_spec.rb +1 -1
  109. data/spec/models/purchase_spec.rb +1 -1
  110. data/spec/models/rate_limit_error_spec.rb +1 -1
  111. data/spec/models/segment_data_spec.rb +1 -1
  112. data/spec/models/segment_notification_target_spec.rb +1 -1
  113. data/spec/models/segment_spec.rb +1 -1
  114. data/spec/models/subscription_body_spec.rb +1 -1
  115. data/spec/models/subscription_notification_target_spec.rb +1 -1
  116. data/spec/models/subscription_spec.rb +1 -1
  117. data/spec/models/transfer_subscription_request_body_spec.rb +1 -1
  118. data/spec/models/update_live_activity_request_spec.rb +1 -1
  119. data/spec/models/update_live_activity_success_response_spec.rb +1 -1
  120. data/spec/models/update_user_request_spec.rb +1 -1
  121. data/spec/models/user_identity_body_spec.rb +1 -1
  122. data/spec/models/user_spec.rb +1 -1
  123. data/spec/models/web_button_spec.rb +1 -1
  124. data/spec/spec_helper.rb +1 -1
  125. metadata +1 -3
  126. data/docs/GenericErrorErrorsInner.md +0 -20
  127. data/docs/RateLimiterError.md +0 -18
@@ -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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -313,6 +313,9 @@ module OneSignal
313
313
  # Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null.
314
314
  attr_accessor :email_preheader
315
315
 
316
+ # Channel: Email Default is `false`. If set to `true`, the URLs sent within the email will not include link tracking and will be the same as originally set; otherwise, all the URLs in the email will be tracked.
317
+ attr_accessor :disable_email_click_tracking
318
+
316
319
  # Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared.
317
320
  attr_accessor :include_unsubscribed
318
321
 
@@ -358,6 +361,9 @@ module OneSignal
358
361
 
359
362
  attr_accessor :platform_delivery_stats
360
363
 
364
+ # Indicates whether the notification was canceled before it could be sent.
365
+ attr_accessor :canceled
366
+
361
367
  class EnumAttributeValidator
362
368
  attr_reader :datatype
363
369
  attr_reader :allowable_values
@@ -485,6 +491,7 @@ module OneSignal
485
491
  :'email_from_name' => :'email_from_name',
486
492
  :'email_from_address' => :'email_from_address',
487
493
  :'email_preheader' => :'email_preheader',
494
+ :'disable_email_click_tracking' => :'disable_email_click_tracking',
488
495
  :'include_unsubscribed' => :'include_unsubscribed',
489
496
  :'sms_from' => :'sms_from',
490
497
  :'sms_media_urls' => :'sms_media_urls',
@@ -500,7 +507,8 @@ module OneSignal
500
507
  :'queued_at' => :'queued_at',
501
508
  :'send_after' => :'send_after',
502
509
  :'completed_at' => :'completed_at',
503
- :'platform_delivery_stats' => :'platform_delivery_stats'
510
+ :'platform_delivery_stats' => :'platform_delivery_stats',
511
+ :'canceled' => :'canceled'
504
512
  }
505
513
  end
506
514
 
@@ -614,6 +622,7 @@ module OneSignal
614
622
  :'email_from_name' => :'String',
615
623
  :'email_from_address' => :'String',
616
624
  :'email_preheader' => :'String',
625
+ :'disable_email_click_tracking' => :'Boolean',
617
626
  :'include_unsubscribed' => :'Boolean',
618
627
  :'sms_from' => :'String',
619
628
  :'sms_media_urls' => :'Array<String>',
@@ -629,7 +638,8 @@ module OneSignal
629
638
  :'queued_at' => :'Integer',
630
639
  :'send_after' => :'Integer',
631
640
  :'completed_at' => :'Integer',
632
- :'platform_delivery_stats' => :'PlatformDeliveryData'
641
+ :'platform_delivery_stats' => :'PlatformDeliveryData',
642
+ :'canceled' => :'Boolean'
633
643
  }
634
644
  end
635
645
 
@@ -714,6 +724,7 @@ module OneSignal
714
724
  :'email_from_name',
715
725
  :'email_from_address',
716
726
  :'email_preheader',
727
+ :'disable_email_click_tracking',
717
728
  :'sms_from',
718
729
  :'sms_media_urls',
719
730
  :'filters',
@@ -1185,6 +1196,10 @@ module OneSignal
1185
1196
  self.email_preheader = attributes[:'email_preheader']
1186
1197
  end
1187
1198
 
1199
+ if attributes.key?(:'disable_email_click_tracking')
1200
+ self.disable_email_click_tracking = attributes[:'disable_email_click_tracking']
1201
+ end
1202
+
1188
1203
  if attributes.key?(:'include_unsubscribed')
1189
1204
  self.include_unsubscribed = attributes[:'include_unsubscribed']
1190
1205
  end
@@ -1254,6 +1269,10 @@ module OneSignal
1254
1269
  if attributes.key?(:'platform_delivery_stats')
1255
1270
  self.platform_delivery_stats = attributes[:'platform_delivery_stats']
1256
1271
  end
1272
+
1273
+ if attributes.key?(:'canceled')
1274
+ self.canceled = attributes[:'canceled']
1275
+ end
1257
1276
  end
1258
1277
 
1259
1278
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -1405,6 +1424,7 @@ module OneSignal
1405
1424
  email_from_name == o.email_from_name &&
1406
1425
  email_from_address == o.email_from_address &&
1407
1426
  email_preheader == o.email_preheader &&
1427
+ disable_email_click_tracking == o.disable_email_click_tracking &&
1408
1428
  include_unsubscribed == o.include_unsubscribed &&
1409
1429
  sms_from == o.sms_from &&
1410
1430
  sms_media_urls == o.sms_media_urls &&
@@ -1420,7 +1440,8 @@ module OneSignal
1420
1440
  queued_at == o.queued_at &&
1421
1441
  send_after == o.send_after &&
1422
1442
  completed_at == o.completed_at &&
1423
- platform_delivery_stats == o.platform_delivery_stats
1443
+ platform_delivery_stats == o.platform_delivery_stats &&
1444
+ canceled == o.canceled
1424
1445
  end
1425
1446
 
1426
1447
  # @see the `==` method
@@ -1432,7 +1453,7 @@ module OneSignal
1432
1453
  # Calculates hash code according to all attributes.
1433
1454
  # @return [Integer] Hash code
1434
1455
  def hash
1435
- [included_segments, excluded_segments, include_subscription_ids, include_email_tokens, 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_preheader, include_unsubscribed, sms_from, sms_media_urls, filters, custom_data, successful, failed, errored, converted, received, outcomes, remaining, queued_at, send_after, completed_at, platform_delivery_stats].hash
1456
+ [included_segments, excluded_segments, include_subscription_ids, include_email_tokens, 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_preheader, disable_email_click_tracking, include_unsubscribed, sms_from, sms_media_urls, filters, custom_data, successful, failed, errored, converted, received, outcomes, remaining, queued_at, send_after, completed_at, platform_delivery_stats, canceled].hash
1436
1457
  end
1437
1458
 
1438
1459
  # 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.1.0
6
+ The version of the OpenAPI document: 5.2.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -47,6 +47,9 @@ module OneSignal
47
47
  # number of push notifications sent per minute. Paid Feature Only. If throttling is not enabled for the app or the notification, and for free accounts, null is returned. Refer to Throttling for more details.
48
48
  attr_accessor :throttle_rate_per_minute
49
49
 
50
+ # Indicates whether the notification was canceled before it could be sent.
51
+ attr_accessor :canceled
52
+
50
53
  # Attribute mapping from ruby-style variable name to JSON key.
51
54
  def self.attribute_map
52
55
  {
@@ -60,7 +63,8 @@ module OneSignal
60
63
  :'completed_at' => :'completed_at',
61
64
  :'platform_delivery_stats' => :'platform_delivery_stats',
62
65
  :'received' => :'received',
63
- :'throttle_rate_per_minute' => :'throttle_rate_per_minute'
66
+ :'throttle_rate_per_minute' => :'throttle_rate_per_minute',
67
+ :'canceled' => :'canceled'
64
68
  }
65
69
  end
66
70
 
@@ -82,7 +86,8 @@ module OneSignal
82
86
  :'completed_at' => :'Integer',
83
87
  :'platform_delivery_stats' => :'PlatformDeliveryData',
84
88
  :'received' => :'Integer',
85
- :'throttle_rate_per_minute' => :'Integer'
89
+ :'throttle_rate_per_minute' => :'Integer',
90
+ :'canceled' => :'Boolean'
86
91
  }
87
92
  end
88
93
 
@@ -92,7 +97,7 @@ module OneSignal
92
97
  :'send_after',
93
98
  :'completed_at',
94
99
  :'received',
95
- :'throttle_rate_per_minute'
100
+ :'throttle_rate_per_minute',
96
101
  ])
97
102
  end
98
103
 
@@ -154,6 +159,10 @@ module OneSignal
154
159
  if attributes.key?(:'throttle_rate_per_minute')
155
160
  self.throttle_rate_per_minute = attributes[:'throttle_rate_per_minute']
156
161
  end
162
+
163
+ if attributes.key?(:'canceled')
164
+ self.canceled = attributes[:'canceled']
165
+ end
157
166
  end
158
167
 
159
168
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -184,7 +193,8 @@ module OneSignal
184
193
  completed_at == o.completed_at &&
185
194
  platform_delivery_stats == o.platform_delivery_stats &&
186
195
  received == o.received &&
187
- throttle_rate_per_minute == o.throttle_rate_per_minute
196
+ throttle_rate_per_minute == o.throttle_rate_per_minute &&
197
+ canceled == o.canceled
188
198
  end
189
199
 
190
200
  # @see the `==` method
@@ -196,7 +206,7 @@ module OneSignal
196
206
  # Calculates hash code according to all attributes.
197
207
  # @return [Integer] Hash code
198
208
  def hash
199
- [remaining, successful, failed, errored, converted, queued_at, send_after, completed_at, platform_delivery_stats, received, throttle_rate_per_minute].hash
209
+ [remaining, successful, failed, errored, converted, queued_at, send_after, completed_at, platform_delivery_stats, received, throttle_rate_per_minute, canceled].hash
200
210
  end
201
211
 
202
212
  # 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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0-beta1'
14
+ VERSION = '5.2.1-beta1'
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.1.0
6
+ The version of the OpenAPI document: 5.2.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
data/onesignal.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
7
7
 
8
- The version of the OpenAPI document: 5.1.0
8
+ The version of the OpenAPI document: 5.2.1
9
9
  Contact: devrel@onesignal.com
10
10
  Generated by: https://openapi-generator.tech
11
11
  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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -563,6 +563,12 @@ describe OneSignal::BasicNotificationAllOf do
563
563
  end
564
564
  end
565
565
 
566
+ describe 'test attribute "disable_email_click_tracking"' do
567
+ it 'should work' do
568
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
569
+ end
570
+ end
571
+
566
572
  describe 'test attribute "include_unsubscribed"' do
567
573
  it 'should work' do
568
574
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -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.1.0
6
+ The version of the OpenAPI document: 5.2.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT
@@ -645,6 +645,12 @@ describe OneSignal::BasicNotification do
645
645
  end
646
646
  end
647
647
 
648
+ describe 'test attribute "disable_email_click_tracking"' do
649
+ it 'should work' do
650
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
651
+ end
652
+ end
653
+
648
654
  describe 'test attribute "include_unsubscribed"' do
649
655
  it 'should work' do
650
656
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -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.1.0
6
+ The version of the OpenAPI document: 5.2.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.1.0
6
+ The version of the OpenAPI document: 5.2.1
7
7
  Contact: devrel@onesignal.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 6.0.0-SNAPSHOT