onesignal 5.8.0 → 5.9.0

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 (227) hide show
  1. checksums.yaml +4 -4
  2. data/AGENTS.md +66 -0
  3. data/CHANGELOG.md +7 -0
  4. data/CLAUDE.md +5 -0
  5. data/Gemfile.lock +1 -1
  6. data/README.md +5 -3
  7. data/docs/ApiKeyToken.md +6 -6
  8. data/docs/ApiKeyTokensListResponse.md +1 -1
  9. data/docs/App.md +34 -34
  10. data/docs/BasicNotification.md +117 -117
  11. data/docs/BasicNotificationAllOf.md +103 -103
  12. data/docs/BasicNotificationAllOfAndroidBackgroundLayout.md +3 -3
  13. data/docs/Button.md +3 -3
  14. data/docs/CopyTemplateRequest.md +1 -1
  15. data/docs/CreateApiKeyRequest.md +3 -3
  16. data/docs/CreateApiKeyResponse.md +2 -2
  17. data/docs/CreateNotificationSuccessResponse.md +3 -3
  18. data/docs/CreateSegmentConflictResponse.md +2 -2
  19. data/docs/CreateSegmentSuccessResponse.md +2 -2
  20. data/docs/CreateTemplateRequest.md +11 -11
  21. data/docs/CreateUserConflictResponse.md +1 -1
  22. data/docs/CreateUserConflictResponseErrorsInner.md +3 -3
  23. data/docs/CreateUserConflictResponseErrorsItemsMeta.md +1 -1
  24. data/docs/CustomEvent.md +5 -5
  25. data/docs/CustomEventsRequest.md +1 -1
  26. data/docs/DefaultApi.md +87 -85
  27. data/docs/DeliveryData.md +5 -5
  28. data/docs/ExportEventsSuccessResponse.md +1 -1
  29. data/docs/ExportSubscriptionsRequestBody.md +3 -3
  30. data/docs/ExportSubscriptionsSuccessResponse.md +1 -1
  31. data/docs/Filter.md +8 -8
  32. data/docs/GenericError.md +3 -3
  33. data/docs/GenericSuccessBoolResponse.md +1 -1
  34. data/docs/GetNotificationHistoryRequestBody.md +3 -3
  35. data/docs/GetSegmentsSuccessResponse.md +4 -4
  36. data/docs/LanguageStringMap.md +43 -43
  37. data/docs/Notification.md +118 -118
  38. data/docs/NotificationAllOf.md +1 -1
  39. data/docs/NotificationHistorySuccessResponse.md +2 -2
  40. data/docs/NotificationSlice.md +6 -6
  41. data/docs/NotificationTarget.md +14 -14
  42. data/docs/NotificationWithMeta.md +130 -130
  43. data/docs/NotificationWithMetaAllOf.md +14 -14
  44. data/docs/Operator.md +1 -1
  45. data/docs/OutcomeData.md +3 -3
  46. data/docs/OutcomesData.md +1 -1
  47. data/docs/PlatformDeliveryData.md +8 -8
  48. data/docs/PlatformDeliveryDataEmailAllOf.md +7 -7
  49. data/docs/PlatformDeliveryDataSmsAllOf.md +3 -3
  50. data/docs/PropertiesBody.md +1 -1
  51. data/docs/PropertiesDeltas.md +3 -3
  52. data/docs/PropertiesObject.md +11 -11
  53. data/docs/Purchase.md +4 -4
  54. data/docs/RateLimitError.md +2 -2
  55. data/docs/Segment.md +3 -3
  56. data/docs/SegmentData.md +7 -7
  57. data/docs/SegmentNotificationTarget.md +2 -2
  58. data/docs/StartLiveActivityRequest.md +16 -16
  59. data/docs/StartLiveActivitySuccessResponse.md +1 -1
  60. data/docs/Subscription.md +17 -17
  61. data/docs/SubscriptionBody.md +1 -1
  62. data/docs/SubscriptionNotificationTarget.md +12 -12
  63. data/docs/TemplateResource.md +6 -6
  64. data/docs/TemplatesListResponse.md +1 -1
  65. data/docs/TransferSubscriptionRequestBody.md +1 -1
  66. data/docs/UpdateApiKeyRequest.md +3 -3
  67. data/docs/UpdateLiveActivityRequest.md +9 -9
  68. data/docs/UpdateLiveActivitySuccessResponse.md +1 -1
  69. data/docs/UpdateTemplateRequest.md +10 -10
  70. data/docs/UpdateUserRequest.md +3 -3
  71. data/docs/User.md +3 -3
  72. data/docs/UserIdentityBody.md +1 -1
  73. data/docs/WebButton.md +4 -4
  74. data/lib/onesignal/api/default_api.rb +1 -1
  75. data/lib/onesignal/api_client.rb +2 -2
  76. data/lib/onesignal/api_error.rb +1 -1
  77. data/lib/onesignal/configuration.rb +1 -1
  78. data/lib/onesignal/models/api_key_token.rb +1 -1
  79. data/lib/onesignal/models/api_key_tokens_list_response.rb +1 -1
  80. data/lib/onesignal/models/app.rb +1 -1
  81. data/lib/onesignal/models/basic_notification.rb +2 -1
  82. data/lib/onesignal/models/basic_notification_all_of.rb +2 -1
  83. data/lib/onesignal/models/basic_notification_all_of_android_background_layout.rb +1 -1
  84. data/lib/onesignal/models/button.rb +1 -1
  85. data/lib/onesignal/models/copy_template_request.rb +1 -1
  86. data/lib/onesignal/models/create_api_key_request.rb +1 -1
  87. data/lib/onesignal/models/create_api_key_response.rb +1 -1
  88. data/lib/onesignal/models/create_notification_success_response.rb +1 -1
  89. data/lib/onesignal/models/create_segment_conflict_response.rb +1 -1
  90. data/lib/onesignal/models/create_segment_success_response.rb +1 -1
  91. data/lib/onesignal/models/create_template_request.rb +1 -1
  92. data/lib/onesignal/models/create_user_conflict_response.rb +1 -1
  93. data/lib/onesignal/models/create_user_conflict_response_errors_inner.rb +1 -1
  94. data/lib/onesignal/models/create_user_conflict_response_errors_items_meta.rb +1 -1
  95. data/lib/onesignal/models/custom_event.rb +1 -1
  96. data/lib/onesignal/models/custom_events_request.rb +1 -1
  97. data/lib/onesignal/models/delivery_data.rb +1 -1
  98. data/lib/onesignal/models/export_events_success_response.rb +1 -1
  99. data/lib/onesignal/models/export_subscriptions_request_body.rb +1 -1
  100. data/lib/onesignal/models/export_subscriptions_success_response.rb +1 -1
  101. data/lib/onesignal/models/filter.rb +1 -1
  102. data/lib/onesignal/models/filter_expression.rb +1 -1
  103. data/lib/onesignal/models/generic_error.rb +1 -1
  104. data/lib/onesignal/models/generic_success_bool_response.rb +1 -1
  105. data/lib/onesignal/models/get_notification_history_request_body.rb +1 -1
  106. data/lib/onesignal/models/get_segments_success_response.rb +1 -1
  107. data/lib/onesignal/models/language_string_map.rb +1 -1
  108. data/lib/onesignal/models/notification.rb +2 -1
  109. data/lib/onesignal/models/notification_all_of.rb +1 -1
  110. data/lib/onesignal/models/notification_history_success_response.rb +1 -1
  111. data/lib/onesignal/models/notification_slice.rb +1 -1
  112. data/lib/onesignal/models/notification_target.rb +1 -1
  113. data/lib/onesignal/models/notification_with_meta.rb +2 -1
  114. data/lib/onesignal/models/notification_with_meta_all_of.rb +1 -1
  115. data/lib/onesignal/models/operator.rb +1 -1
  116. data/lib/onesignal/models/outcome_data.rb +1 -1
  117. data/lib/onesignal/models/outcomes_data.rb +1 -1
  118. data/lib/onesignal/models/platform_delivery_data.rb +1 -1
  119. data/lib/onesignal/models/platform_delivery_data_email_all_of.rb +1 -1
  120. data/lib/onesignal/models/platform_delivery_data_sms_all_of.rb +1 -1
  121. data/lib/onesignal/models/properties_body.rb +1 -1
  122. data/lib/onesignal/models/properties_deltas.rb +1 -1
  123. data/lib/onesignal/models/properties_object.rb +1 -1
  124. data/lib/onesignal/models/purchase.rb +1 -1
  125. data/lib/onesignal/models/rate_limit_error.rb +1 -1
  126. data/lib/onesignal/models/segment.rb +1 -1
  127. data/lib/onesignal/models/segment_data.rb +1 -1
  128. data/lib/onesignal/models/segment_notification_target.rb +1 -1
  129. data/lib/onesignal/models/start_live_activity_request.rb +1 -1
  130. data/lib/onesignal/models/start_live_activity_success_response.rb +1 -1
  131. data/lib/onesignal/models/subscription.rb +1 -1
  132. data/lib/onesignal/models/subscription_body.rb +1 -1
  133. data/lib/onesignal/models/subscription_notification_target.rb +1 -1
  134. data/lib/onesignal/models/template_resource.rb +1 -1
  135. data/lib/onesignal/models/templates_list_response.rb +1 -1
  136. data/lib/onesignal/models/transfer_subscription_request_body.rb +1 -1
  137. data/lib/onesignal/models/update_api_key_request.rb +1 -1
  138. data/lib/onesignal/models/update_live_activity_request.rb +1 -1
  139. data/lib/onesignal/models/update_live_activity_success_response.rb +1 -1
  140. data/lib/onesignal/models/update_template_request.rb +1 -1
  141. data/lib/onesignal/models/update_user_request.rb +1 -1
  142. data/lib/onesignal/models/user.rb +1 -1
  143. data/lib/onesignal/models/user_identity_body.rb +1 -1
  144. data/lib/onesignal/models/web_button.rb +1 -1
  145. data/lib/onesignal/version.rb +2 -2
  146. data/lib/onesignal.rb +1 -1
  147. data/onesignal.gemspec +1 -1
  148. data/spec/api/default_api_spec.rb +1 -1
  149. data/spec/api_client_spec.rb +1 -1
  150. data/spec/configuration_spec.rb +1 -1
  151. data/spec/models/api_key_token_spec.rb +1 -1
  152. data/spec/models/api_key_tokens_list_response_spec.rb +1 -1
  153. data/spec/models/app_spec.rb +1 -1
  154. data/spec/models/basic_notification_all_of_android_background_layout_spec.rb +1 -1
  155. data/spec/models/basic_notification_all_of_spec.rb +1 -1
  156. data/spec/models/basic_notification_spec.rb +1 -1
  157. data/spec/models/button_spec.rb +1 -1
  158. data/spec/models/copy_template_request_spec.rb +1 -1
  159. data/spec/models/create_api_key_request_spec.rb +1 -1
  160. data/spec/models/create_api_key_response_spec.rb +1 -1
  161. data/spec/models/create_notification_success_response_spec.rb +1 -1
  162. data/spec/models/create_segment_conflict_response_spec.rb +1 -1
  163. data/spec/models/create_segment_success_response_spec.rb +1 -1
  164. data/spec/models/create_template_request_spec.rb +1 -1
  165. data/spec/models/create_user_conflict_response_errors_inner_spec.rb +1 -1
  166. data/spec/models/create_user_conflict_response_errors_items_meta_spec.rb +1 -1
  167. data/spec/models/create_user_conflict_response_spec.rb +1 -1
  168. data/spec/models/custom_event_spec.rb +1 -1
  169. data/spec/models/custom_events_request_spec.rb +1 -1
  170. data/spec/models/delivery_data_spec.rb +1 -1
  171. data/spec/models/export_events_success_response_spec.rb +1 -1
  172. data/spec/models/export_subscriptions_request_body_spec.rb +1 -1
  173. data/spec/models/export_subscriptions_success_response_spec.rb +1 -1
  174. data/spec/models/filter_expression_spec.rb +1 -1
  175. data/spec/models/filter_spec.rb +1 -1
  176. data/spec/models/generic_error_spec.rb +1 -1
  177. data/spec/models/generic_success_bool_response_spec.rb +1 -1
  178. data/spec/models/get_notification_history_request_body_spec.rb +1 -1
  179. data/spec/models/get_segments_success_response_spec.rb +1 -1
  180. data/spec/models/language_string_map_spec.rb +1 -1
  181. data/spec/models/notification_all_of_spec.rb +1 -1
  182. data/spec/models/notification_history_success_response_spec.rb +1 -1
  183. data/spec/models/notification_slice_spec.rb +1 -1
  184. data/spec/models/notification_spec.rb +1 -1
  185. data/spec/models/notification_target_spec.rb +1 -1
  186. data/spec/models/notification_with_meta_all_of_spec.rb +1 -1
  187. data/spec/models/notification_with_meta_spec.rb +1 -1
  188. data/spec/models/operator_spec.rb +1 -1
  189. data/spec/models/outcome_data_spec.rb +1 -1
  190. data/spec/models/outcomes_data_spec.rb +1 -1
  191. data/spec/models/platform_delivery_data_email_all_of_spec.rb +1 -1
  192. data/spec/models/platform_delivery_data_sms_all_of_spec.rb +1 -1
  193. data/spec/models/platform_delivery_data_spec.rb +1 -1
  194. data/spec/models/properties_body_spec.rb +1 -1
  195. data/spec/models/properties_deltas_spec.rb +1 -1
  196. data/spec/models/properties_object_spec.rb +1 -1
  197. data/spec/models/purchase_spec.rb +1 -1
  198. data/spec/models/rate_limit_error_spec.rb +1 -1
  199. data/spec/models/segment_data_spec.rb +1 -1
  200. data/spec/models/segment_notification_target_spec.rb +1 -1
  201. data/spec/models/segment_spec.rb +1 -1
  202. data/spec/models/start_live_activity_request_spec.rb +1 -1
  203. data/spec/models/start_live_activity_success_response_spec.rb +1 -1
  204. data/spec/models/subscription_body_spec.rb +1 -1
  205. data/spec/models/subscription_notification_target_spec.rb +1 -1
  206. data/spec/models/subscription_spec.rb +1 -1
  207. data/spec/models/template_resource_spec.rb +1 -1
  208. data/spec/models/templates_list_response_spec.rb +1 -1
  209. data/spec/models/transfer_subscription_request_body_spec.rb +1 -1
  210. data/spec/models/update_api_key_request_spec.rb +1 -1
  211. data/spec/models/update_live_activity_request_spec.rb +1 -1
  212. data/spec/models/update_live_activity_success_response_spec.rb +1 -1
  213. data/spec/models/update_template_request_spec.rb +1 -1
  214. data/spec/models/update_user_request_spec.rb +1 -1
  215. data/spec/models/user_identity_body_spec.rb +1 -1
  216. data/spec/models/user_spec.rb +1 -1
  217. data/spec/models/web_button_spec.rb +1 -1
  218. data/spec/spec_helper.rb +1 -1
  219. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem_make.out +5 -5
  220. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem_make.out +5 -5
  221. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.8.2/gem_make.out +5 -5
  222. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.8.2/mkmf.log +3 -3
  223. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  224. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.4.0/gem_make.out +5 -5
  225. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
  226. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem_make.out +5 -5
  227. metadata +4 -2
@@ -141,136 +141,136 @@
141
141
  require 'onesignal'
142
142
 
143
143
  instance = OneSignal::NotificationWithMeta.new(
144
- included_segments: null,
145
- excluded_segments: null,
146
- include_subscription_ids: null,
147
- include_email_tokens: null,
148
- email_to: null,
149
- include_phone_numbers: null,
150
- include_ios_tokens: null,
151
- include_wp_wns_uris: null,
152
- include_amazon_reg_ids: null,
153
- include_chrome_reg_ids: null,
154
- include_chrome_web_reg_ids: null,
155
- include_android_reg_ids: null,
156
- include_aliases: null,
157
- target_channel: null,
158
- id: null,
159
- value: null,
160
- name: null,
161
- aggregation: null,
162
- is_ios: null,
163
- is_android: null,
164
- is_huawei: null,
165
- is_any_web: null,
166
- is_chrome_web: null,
167
- is_firefox: null,
168
- is_safari: null,
169
- is_wp_wns: null,
170
- is_adm: null,
171
- is_chrome: null,
172
- app_id: null,
173
- external_id: null,
174
- idempotency_key: null,
175
- contents: null,
176
- headings: null,
177
- subtitle: null,
178
- data: null,
179
- huawei_msg_type: null,
180
- url: null,
181
- web_url: null,
182
- app_url: null,
183
- ios_attachments: null,
184
- template_id: null,
185
- content_available: null,
186
- mutable_content: null,
187
- target_content_identifier: null,
188
- big_picture: null,
189
- huawei_big_picture: null,
190
- adm_big_picture: null,
191
- chrome_big_picture: null,
192
- chrome_web_image: null,
193
- buttons: null,
194
- web_buttons: null,
195
- ios_category: null,
196
- android_channel_id: null,
197
- huawei_channel_id: null,
198
- existing_android_channel_id: null,
199
- huawei_existing_channel_id: null,
200
- android_background_layout: null,
201
- small_icon: null,
202
- huawei_small_icon: null,
203
- large_icon: null,
204
- huawei_large_icon: null,
205
- adm_small_icon: null,
206
- adm_large_icon: null,
207
- chrome_web_icon: null,
208
- chrome_web_badge: null,
209
- firefox_icon: null,
210
- chrome_icon: null,
211
- ios_sound: null,
212
- android_sound: null,
213
- huawei_sound: null,
214
- adm_sound: null,
215
- wp_wns_sound: null,
216
- android_led_color: null,
217
- huawei_led_color: null,
218
- android_accent_color: null,
219
- huawei_accent_color: null,
220
- android_visibility: null,
221
- huawei_visibility: null,
222
- ios_badge_type: null,
223
- ios_badge_count: null,
224
- collapse_id: null,
225
- web_push_topic: null,
226
- apns_alert: null,
227
- delayed_option: null,
228
- delivery_time_of_day: null,
229
- ttl: null,
230
- priority: null,
231
- apns_push_type_override: null,
232
- throttle_rate_per_minute: null,
233
- android_group: null,
234
- android_group_message: null,
235
- adm_group: null,
236
- adm_group_message: null,
237
- thread_id: null,
238
- summary_arg: null,
239
- summary_arg_count: null,
240
- ios_relevance_score: null,
241
- ios_interruption_level: null,
242
- email_subject: null,
243
- email_body: null,
244
- email_from_name: null,
245
- email_from_address: null,
246
- email_reply_to_address: null,
247
- email_preheader: null,
248
- disable_email_click_tracking: null,
249
- include_unsubscribed: null,
250
- email_bcc: null,
251
- email_sender_domain: null,
252
- sms_from: null,
253
- sms_media_urls: null,
254
- filters: null,
255
- custom_data: null,
256
- huawei_badge_class: null,
257
- huawei_badge_add_num: null,
258
- huawei_badge_set_num: null,
259
- huawei_category: null,
260
- huawei_bi_tag: null,
261
- successful: null,
262
- failed: null,
263
- errored: null,
264
- converted: null,
265
- received: null,
266
- outcomes: null,
267
- remaining: null,
268
- queued_at: null,
269
- send_after: null,
270
- completed_at: null,
271
- platform_delivery_stats: null,
272
- canceled: null,
273
- bcc_sent: null
144
+ included_segments: nil,
145
+ excluded_segments: nil,
146
+ include_subscription_ids: nil,
147
+ include_email_tokens: nil,
148
+ email_to: nil,
149
+ include_phone_numbers: nil,
150
+ include_ios_tokens: nil,
151
+ include_wp_wns_uris: nil,
152
+ include_amazon_reg_ids: nil,
153
+ include_chrome_reg_ids: nil,
154
+ include_chrome_web_reg_ids: nil,
155
+ include_android_reg_ids: nil,
156
+ include_aliases: nil,
157
+ target_channel: nil,
158
+ id: nil,
159
+ value: nil,
160
+ name: nil,
161
+ aggregation: nil,
162
+ is_ios: nil,
163
+ is_android: nil,
164
+ is_huawei: nil,
165
+ is_any_web: nil,
166
+ is_chrome_web: nil,
167
+ is_firefox: nil,
168
+ is_safari: nil,
169
+ is_wp_wns: nil,
170
+ is_adm: nil,
171
+ is_chrome: nil,
172
+ app_id: nil,
173
+ external_id: nil,
174
+ idempotency_key: nil,
175
+ contents: nil,
176
+ headings: nil,
177
+ subtitle: nil,
178
+ data: nil,
179
+ huawei_msg_type: nil,
180
+ url: nil,
181
+ web_url: nil,
182
+ app_url: nil,
183
+ ios_attachments: nil,
184
+ template_id: nil,
185
+ content_available: nil,
186
+ mutable_content: nil,
187
+ target_content_identifier: nil,
188
+ big_picture: nil,
189
+ huawei_big_picture: nil,
190
+ adm_big_picture: nil,
191
+ chrome_big_picture: nil,
192
+ chrome_web_image: nil,
193
+ buttons: nil,
194
+ web_buttons: nil,
195
+ ios_category: nil,
196
+ android_channel_id: nil,
197
+ huawei_channel_id: nil,
198
+ existing_android_channel_id: nil,
199
+ huawei_existing_channel_id: nil,
200
+ android_background_layout: nil,
201
+ small_icon: nil,
202
+ huawei_small_icon: nil,
203
+ large_icon: nil,
204
+ huawei_large_icon: nil,
205
+ adm_small_icon: nil,
206
+ adm_large_icon: nil,
207
+ chrome_web_icon: nil,
208
+ chrome_web_badge: nil,
209
+ firefox_icon: nil,
210
+ chrome_icon: nil,
211
+ ios_sound: nil,
212
+ android_sound: nil,
213
+ huawei_sound: nil,
214
+ adm_sound: nil,
215
+ wp_wns_sound: nil,
216
+ android_led_color: nil,
217
+ huawei_led_color: nil,
218
+ android_accent_color: nil,
219
+ huawei_accent_color: nil,
220
+ android_visibility: nil,
221
+ huawei_visibility: nil,
222
+ ios_badge_type: nil,
223
+ ios_badge_count: nil,
224
+ collapse_id: nil,
225
+ web_push_topic: nil,
226
+ apns_alert: nil,
227
+ delayed_option: nil,
228
+ delivery_time_of_day: nil,
229
+ ttl: nil,
230
+ priority: nil,
231
+ apns_push_type_override: nil,
232
+ throttle_rate_per_minute: nil,
233
+ android_group: nil,
234
+ android_group_message: nil,
235
+ adm_group: nil,
236
+ adm_group_message: nil,
237
+ thread_id: nil,
238
+ summary_arg: nil,
239
+ summary_arg_count: nil,
240
+ ios_relevance_score: nil,
241
+ ios_interruption_level: nil,
242
+ email_subject: nil,
243
+ email_body: nil,
244
+ email_from_name: nil,
245
+ email_from_address: nil,
246
+ email_reply_to_address: nil,
247
+ email_preheader: nil,
248
+ disable_email_click_tracking: nil,
249
+ include_unsubscribed: nil,
250
+ email_bcc: nil,
251
+ email_sender_domain: nil,
252
+ sms_from: nil,
253
+ sms_media_urls: nil,
254
+ filters: nil,
255
+ custom_data: nil,
256
+ huawei_badge_class: nil,
257
+ huawei_badge_add_num: nil,
258
+ huawei_badge_set_num: nil,
259
+ huawei_category: nil,
260
+ huawei_bi_tag: nil,
261
+ successful: nil,
262
+ failed: nil,
263
+ errored: nil,
264
+ converted: nil,
265
+ received: nil,
266
+ outcomes: nil,
267
+ remaining: nil,
268
+ queued_at: nil,
269
+ send_after: nil,
270
+ completed_at: nil,
271
+ platform_delivery_stats: nil,
272
+ canceled: nil,
273
+ bcc_sent: nil
274
274
  )
275
275
  ```
276
276
 
@@ -25,20 +25,20 @@
25
25
  require 'onesignal'
26
26
 
27
27
  instance = OneSignal::NotificationWithMetaAllOf.new(
28
- remaining: null,
29
- successful: null,
30
- failed: null,
31
- errored: null,
32
- converted: null,
33
- queued_at: null,
34
- send_after: null,
35
- completed_at: null,
36
- platform_delivery_stats: null,
37
- received: null,
38
- throttle_rate_per_minute: null,
39
- canceled: null,
40
- email_bcc: null,
41
- bcc_sent: null
28
+ remaining: nil,
29
+ successful: nil,
30
+ failed: nil,
31
+ errored: nil,
32
+ converted: nil,
33
+ queued_at: nil,
34
+ send_after: nil,
35
+ completed_at: nil,
36
+ platform_delivery_stats: nil,
37
+ received: nil,
38
+ throttle_rate_per_minute: nil,
39
+ canceled: nil,
40
+ email_bcc: nil,
41
+ bcc_sent: nil
42
42
  )
43
43
  ```
44
44
 
data/docs/Operator.md CHANGED
@@ -12,7 +12,7 @@
12
12
  require 'onesignal'
13
13
 
14
14
  instance = OneSignal::Operator.new(
15
- operator: null
15
+ operator: nil
16
16
  )
17
17
  ```
18
18
 
data/docs/OutcomeData.md CHANGED
@@ -14,9 +14,9 @@
14
14
  require 'onesignal'
15
15
 
16
16
  instance = OneSignal::OutcomeData.new(
17
- id: null,
18
- value: null,
19
- aggregation: null
17
+ id: nil,
18
+ value: nil,
19
+ aggregation: nil
20
20
  )
21
21
  ```
22
22
 
data/docs/OutcomesData.md CHANGED
@@ -12,7 +12,7 @@
12
12
  require 'onesignal'
13
13
 
14
14
  instance = OneSignal::OutcomesData.new(
15
- outcomes: null
15
+ outcomes: nil
16
16
  )
17
17
  ```
18
18
 
@@ -19,14 +19,14 @@
19
19
  require 'onesignal'
20
20
 
21
21
  instance = OneSignal::PlatformDeliveryData.new(
22
- edge_web_push: null,
23
- chrome_web_push: null,
24
- firefox_web_push: null,
25
- safari_web_push: null,
26
- android: null,
27
- ios: null,
28
- sms: null,
29
- email: null
22
+ edge_web_push: nil,
23
+ chrome_web_push: nil,
24
+ firefox_web_push: nil,
25
+ safari_web_push: nil,
26
+ android: nil,
27
+ ios: nil,
28
+ sms: nil,
29
+ email: nil
30
30
  )
31
31
  ```
32
32
 
@@ -18,13 +18,13 @@
18
18
  require 'onesignal'
19
19
 
20
20
  instance = OneSignal::PlatformDeliveryDataEmailAllOf.new(
21
- opened: null,
22
- unique_opens: null,
23
- clicks: null,
24
- unique_clicks: null,
25
- bounced: null,
26
- reported_spam: null,
27
- unsubscribed: null
21
+ opened: nil,
22
+ unique_opens: nil,
23
+ clicks: nil,
24
+ unique_clicks: nil,
25
+ bounced: nil,
26
+ reported_spam: nil,
27
+ unsubscribed: nil
28
28
  )
29
29
  ```
30
30
 
@@ -14,9 +14,9 @@
14
14
  require 'onesignal'
15
15
 
16
16
  instance = OneSignal::PlatformDeliveryDataSmsAllOf.new(
17
- provider_successful: null,
18
- provider_failed: null,
19
- provider_errored: null
17
+ provider_successful: nil,
18
+ provider_failed: nil,
19
+ provider_errored: nil
20
20
  )
21
21
  ```
22
22
 
@@ -12,7 +12,7 @@
12
12
  require 'onesignal'
13
13
 
14
14
  instance = OneSignal::PropertiesBody.new(
15
- properties: null
15
+ properties: nil
16
16
  )
17
17
  ```
18
18
 
@@ -14,9 +14,9 @@
14
14
  require 'onesignal'
15
15
 
16
16
  instance = OneSignal::PropertiesDeltas.new(
17
- session_time: null,
18
- session_count: null,
19
- purchases: null
17
+ session_time: nil,
18
+ session_count: nil,
19
+ purchases: nil
20
20
  )
21
21
  ```
22
22
 
@@ -22,17 +22,17 @@
22
22
  require 'onesignal'
23
23
 
24
24
  instance = OneSignal::PropertiesObject.new(
25
- tags: null,
26
- language: null,
27
- timezone_id: null,
28
- lat: null,
29
- long: null,
30
- country: null,
31
- first_active: null,
32
- last_active: null,
33
- amount_spent: null,
34
- purchases: null,
35
- ip: null
25
+ tags: {"level":"10","vip":"true"},
26
+ language: 'en',
27
+ timezone_id: 'America/Los_Angeles',
28
+ lat: nil,
29
+ long: nil,
30
+ country: 'US',
31
+ first_active: nil,
32
+ last_active: nil,
33
+ amount_spent: nil,
34
+ purchases: nil,
35
+ ip: '203.0.113.10'
36
36
  )
37
37
  ```
38
38
 
data/docs/Purchase.md CHANGED
@@ -15,10 +15,10 @@
15
15
  require 'onesignal'
16
16
 
17
17
  instance = OneSignal::Purchase.new(
18
- sku: null,
19
- amount: null,
20
- iso: null,
21
- count: null
18
+ sku: 'com.example.coins100',
19
+ amount: '0.99',
20
+ iso: 'USD',
21
+ count: nil
22
22
  )
23
23
  ```
24
24
 
@@ -13,8 +13,8 @@
13
13
  require 'onesignal'
14
14
 
15
15
  instance = OneSignal::RateLimitError.new(
16
- errors: null,
17
- limit: null
16
+ errors: nil,
17
+ limit: nil
18
18
  )
19
19
  ```
20
20
 
data/docs/Segment.md CHANGED
@@ -14,9 +14,9 @@
14
14
  require 'onesignal'
15
15
 
16
16
  instance = OneSignal::Segment.new(
17
- id: null,
18
- name: null,
19
- filters: null
17
+ id: 'd5d4d1a8-1c9e-42fb-b3f2-56d3a5a9a8b7',
18
+ name: 'Inactive 30 days',
19
+ filters: nil
20
20
  )
21
21
  ```
22
22
 
data/docs/SegmentData.md CHANGED
@@ -18,13 +18,13 @@
18
18
  require 'onesignal'
19
19
 
20
20
  instance = OneSignal::SegmentData.new(
21
- id: null,
22
- name: null,
23
- created_at: null,
24
- updated_at: null,
25
- app_id: null,
26
- read_only: null,
27
- is_active: null
21
+ id: nil,
22
+ name: nil,
23
+ created_at: nil,
24
+ updated_at: nil,
25
+ app_id: nil,
26
+ read_only: nil,
27
+ is_active: nil
28
28
  )
29
29
  ```
30
30
 
@@ -13,8 +13,8 @@
13
13
  require 'onesignal'
14
14
 
15
15
  instance = OneSignal::SegmentNotificationTarget.new(
16
- included_segments: null,
17
- excluded_segments: null
16
+ included_segments: nil,
17
+ excluded_segments: nil
18
18
  )
19
19
  ```
20
20
 
@@ -27,22 +27,22 @@
27
27
  require 'onesignal'
28
28
 
29
29
  instance = OneSignal::StartLiveActivityRequest.new(
30
- name: null,
31
- event: null,
32
- activity_id: null,
33
- event_attributes: null,
34
- event_updates: null,
35
- contents: null,
36
- headings: null,
37
- stale_date: null,
38
- priority: null,
39
- ios_relevance_score: null,
40
- idempotency_key: null,
41
- include_aliases: null,
42
- include_subscription_ids: null,
43
- included_segments: null,
44
- excluded_segments: null,
45
- filters: null
30
+ name: nil,
31
+ event: nil,
32
+ activity_id: nil,
33
+ event_attributes: nil,
34
+ event_updates: nil,
35
+ contents: nil,
36
+ headings: nil,
37
+ stale_date: nil,
38
+ priority: nil,
39
+ ios_relevance_score: nil,
40
+ idempotency_key: nil,
41
+ include_aliases: nil,
42
+ include_subscription_ids: nil,
43
+ included_segments: nil,
44
+ excluded_segments: nil,
45
+ filters: nil
46
46
  )
47
47
  ```
48
48
 
@@ -12,7 +12,7 @@
12
12
  require 'onesignal'
13
13
 
14
14
  instance = OneSignal::StartLiveActivitySuccessResponse.new(
15
- notification_id: null
15
+ notification_id: nil
16
16
  )
17
17
  ```
18
18
 
data/docs/Subscription.md CHANGED
@@ -28,23 +28,23 @@
28
28
  require 'onesignal'
29
29
 
30
30
  instance = OneSignal::Subscription.new(
31
- id: null,
32
- type: null,
33
- token: null,
34
- enabled: null,
35
- notification_types: null,
36
- session_time: null,
37
- session_count: null,
38
- sdk: null,
39
- device_model: null,
40
- device_os: null,
41
- rooted: null,
42
- test_type: null,
43
- app_version: null,
44
- net_type: null,
45
- carrier: null,
46
- web_auth: null,
47
- web_p256: null
31
+ id: 'e4e87830-b954-4363-b7bc-1f01dbaee5c8',
32
+ type: nil,
33
+ token: 'd5d4d1a8-1c9e-42fb-b3f2-56d3a5a9a8b7',
34
+ enabled: true,
35
+ notification_types: 1,
36
+ session_time: 60,
37
+ session_count: 1,
38
+ sdk: '5.2.0',
39
+ device_model: 'iPhone14,2',
40
+ device_os: '17.1',
41
+ rooted: nil,
42
+ test_type: nil,
43
+ app_version: '1.0.0',
44
+ net_type: nil,
45
+ carrier: 'Verizon',
46
+ web_auth: '5DUmpGmLuTxWCLj5lJpwLQ',
47
+ web_p256: 'BM5-r8DauQXOb2E-3PgLPjSvjT0Ao9v5oJhw8bZ0cW7Vh6BbmPYcqbbCEJ1P2sK0hZ7HxSh9zGyU5pQk1jJmZ8A'
48
48
  )
49
49
  ```
50
50
 
@@ -12,7 +12,7 @@
12
12
  require 'onesignal'
13
13
 
14
14
  instance = OneSignal::SubscriptionBody.new(
15
- subscription: null
15
+ subscription: nil
16
16
  )
17
17
  ```
18
18
 
@@ -23,18 +23,18 @@
23
23
  require 'onesignal'
24
24
 
25
25
  instance = OneSignal::SubscriptionNotificationTarget.new(
26
- include_subscription_ids: null,
27
- include_email_tokens: null,
28
- email_to: null,
29
- include_phone_numbers: null,
30
- include_ios_tokens: null,
31
- include_wp_wns_uris: null,
32
- include_amazon_reg_ids: null,
33
- include_chrome_reg_ids: null,
34
- include_chrome_web_reg_ids: null,
35
- include_android_reg_ids: null,
36
- include_aliases: null,
37
- target_channel: null
26
+ include_subscription_ids: nil,
27
+ include_email_tokens: nil,
28
+ email_to: nil,
29
+ include_phone_numbers: nil,
30
+ include_ios_tokens: nil,
31
+ include_wp_wns_uris: nil,
32
+ include_amazon_reg_ids: nil,
33
+ include_chrome_reg_ids: nil,
34
+ include_chrome_web_reg_ids: nil,
35
+ include_android_reg_ids: nil,
36
+ include_aliases: nil,
37
+ target_channel: nil
38
38
  )
39
39
  ```
40
40