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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5f21652919d2dee3326e3cf1caa4d61af452c293c03267c10ffd8ba49204712
4
- data.tar.gz: aab106e37eefe2a2434cce59310f49e18c17e7b1374c98b70b08d86235aade79
3
+ metadata.gz: 6f0c493c9776b8f47b129a89f0eafb238913d5c273fb9d862a6d8b8679a53175
4
+ data.tar.gz: 9a9c1449f271fa6d491b8c56ce26d4bef0a6ac096cf7e7bb92de386952efed5e
5
5
  SHA512:
6
- metadata.gz: 1f316f47a20766af759310551a103afbdf209bbbb0a55c27199cbc94e3c7545481d66b18f16148dbc29d4141c6728263e9ea88485c49909e103aa94af94c8dae
7
- data.tar.gz: ce896ee973a613861cde622de00802077df6d15379835bc532206888139410f4125c0929a979bdd5a1523892b7d2924ee5f19136a8864bf887c97dd451556fab
6
+ metadata.gz: 149da07e3088478de466abed41eb2b73ca48d304ca4dbcab483d24bca24028d689557003e1c6fb32a6e6d24e59f6d8f045ec39d89f403a3c17019c1461133ea8
7
+ data.tar.gz: '01682a3ca520c4e75655f2f537af2d5bee89aa199136ae1c0f54a4a00b5c2998c660e05e99b79892368eb605964913631ba3aba1ab7abb8309cc6a8d4161aaf0'
data/AGENTS.md ADDED
@@ -0,0 +1,66 @@
1
+ # AGENTS.md — OneSignal Ruby SDK
2
+
3
+ Integration guide for AI agents and LLMs using the `onesignal` gem, the OneSignal server SDK for Ruby. Human-oriented docs are in the [README](./README.md).
4
+
5
+ ## What this SDK does
6
+
7
+ Server-side access to the OneSignal REST API: send push / email / SMS, manage users, subscriptions, segments, templates and live activities, and administer apps & API keys.
8
+
9
+ - Gem: `onesignal`
10
+ - Repository: https://github.com/OneSignal/onesignal-ruby-api
11
+
12
+ ## Install
13
+
14
+ ```sh
15
+ gem install onesignal
16
+ ```
17
+
18
+ ## Authentication — two key types
19
+
20
+ OneSignal uses two bearer credentials; each endpoint requires a specific one:
21
+
22
+ - **REST API key** — used by almost every endpoint (notifications, users, subscriptions, segments, templates, live activities, custom events). Found in **App Settings → Keys & IDs**.
23
+ - **Organization API key** — required *only* for organization-level endpoints: app management (list / create / get / update apps), API-key management (view / create / update / rotate / delete API keys), and copying a template to another app. Found in **Organization Settings**.
24
+
25
+ Configure both; the SDK sends the correct credential per endpoint. Never hard-code keys — read them from environment variables or a secrets manager.
26
+
27
+ ```ruby
28
+ require 'onesignal'
29
+
30
+ OneSignal.configure do |config|
31
+ config.rest_api_key = ENV['ONESIGNAL_REST_API_KEY']
32
+ config.organization_api_key = ENV['ONESIGNAL_ORGANIZATION_API_KEY']
33
+ end
34
+
35
+ client = OneSignal::DefaultApi.new
36
+ ```
37
+
38
+ ## Calling convention
39
+
40
+ Methods take **positional arguments**. Build the model object and pass it directly — do **not** wrap arguments in a request/options object.
41
+
42
+ ```ruby
43
+ notification = OneSignal::Notification.new
44
+ notification.app_id = 'YOUR_APP_ID'
45
+ notification.contents = OneSignal::LanguageStringMap.new({ en: 'Hello from OneSignal!' })
46
+ notification.include_aliases = { 'external_id' => ['YOUR_USER_EXTERNAL_ID'] }
47
+ notification.target_channel = 'push'
48
+
49
+ response = client.create_notification(notification)
50
+ ```
51
+
52
+ ## Idempotent sends & retries
53
+
54
+ Set `idempotency_key` (a UUID) so a create-notification request can be safely retried — the server returns the original result instead of sending twice. The `create_notification_with_retry` helper handles this for you: it generates an `idempotency_key` when absent, retries `429` / `503` / transport errors with the **same** key (honoring `Retry-After`), and reports via `was_replayed` whether the server answered from a previously completed request.
55
+
56
+ ```ruby
57
+ result = client.create_notification_with_retry(notification, max_retries: 5, base_delay: 1.0)
58
+ puts "id: #{result.response.id}, replayed: #{result.was_replayed}"
59
+ ```
60
+
61
+ > The notification-level `external_id` field is the **deprecated** idempotency mechanism — prefer `idempotency_key`. Don't confuse it with the `external_id` **alias label** (under `include_aliases`) used to target users.
62
+
63
+ ## Full API reference
64
+
65
+ - [DefaultApi.md](https://github.com/OneSignal/onesignal-ruby-api/blob/master/docs/DefaultApi.md) — every endpoint, parameter, and model, with runnable examples.
66
+ - [OneSignal REST API reference](https://documentation.onesignal.com/reference)
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.8.0](https://github.com/OneSignal/onesignal-ruby-api/compare/v5.7.0...v5.8.0) (2026-06-24)
4
+
5
+ ### Features
6
+
7
+ * add v5.8.0 package updates ([1650946](https://github.com/OneSignal/onesignal-ruby-api/commit/1650946a73bb8931013d03b9fa0f27e72f4c9611))
8
+ * add v5.8.0 package updates ([#105](https://github.com/OneSignal/onesignal-ruby-api/issues/105)) ([9fa7d3b](https://github.com/OneSignal/onesignal-ruby-api/commit/9fa7d3bacf638218be26ffc47b57dbd6079c3f9f)), closes [OneSignal/api-client-libraries#402](https://github.com/OneSignal/api-client-libraries/issues/402) [OneSignal/api-client-libraries#401](https://github.com/OneSignal/api-client-libraries/issues/401) [OneSignal/api-client-libraries#400](https://github.com/OneSignal/api-client-libraries/issues/400)
9
+
3
10
  ## [5.7.0](https://github.com/OneSignal/onesignal-ruby-api/compare/v5.6.0...v5.7.0) (2026-06-18)
4
11
 
5
12
  ### Features
data/CLAUDE.md ADDED
@@ -0,0 +1,5 @@
1
+ # CLAUDE.md
2
+
3
+ AI agent and LLM integration guidance for this OneSignal server SDK lives in **[AGENTS.md](./AGENTS.md)** — authentication, calling conventions, idempotent retries, and the full API reference.
4
+
5
+ See [AGENTS.md](./AGENTS.md).
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- onesignal (5.8.0)
4
+ onesignal (5.9.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -2,17 +2,19 @@
2
2
 
3
3
  OneSignal - the Ruby gem for OneSignal
4
4
 
5
+ > **Building with an AI agent or LLM?** See [AGENTS.md](https://github.com/OneSignal/onesignal-ruby-api/blob/master/AGENTS.md) for an agent-oriented integration guide — authentication, calling conventions, idempotent retries, and the full API reference.
6
+
5
7
  A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
6
8
 
7
- - API version: 5.8.0
8
- - Package version: 5.8.0
9
+ - API version: 5.9.0
10
+ - Package version: 5.9.0
9
11
 
10
12
  ## Installation
11
13
 
12
14
  Add to your `Gemfile`:
13
15
 
14
16
  ```ruby
15
- gem 'onesignal', '~> 5.8.0'
17
+ gem 'onesignal', '~> 5.9.0'
16
18
  ```
17
19
 
18
20
  Then run `bundle install`.
data/docs/ApiKeyToken.md CHANGED
@@ -17,12 +17,12 @@
17
17
  require 'onesignal'
18
18
 
19
19
  instance = OneSignal::ApiKeyToken.new(
20
- token_id: null,
21
- updated_at: null,
22
- created_at: null,
23
- name: null,
24
- ip_allowlist_mode: null,
25
- ip_allowlist: null
20
+ token_id: nil,
21
+ updated_at: nil,
22
+ created_at: nil,
23
+ name: nil,
24
+ ip_allowlist_mode: nil,
25
+ ip_allowlist: nil
26
26
  )
27
27
  ```
28
28
 
@@ -12,7 +12,7 @@
12
12
  require 'onesignal'
13
13
 
14
14
  instance = OneSignal::ApiKeyTokensListResponse.new(
15
- tokens: null
15
+ tokens: nil
16
16
  )
17
17
  ```
18
18
 
data/docs/App.md CHANGED
@@ -45,40 +45,40 @@
45
45
  require 'onesignal'
46
46
 
47
47
  instance = OneSignal::App.new(
48
- id: null,
49
- name: null,
50
- players: null,
51
- messageable_players: null,
52
- updated_at: null,
53
- created_at: null,
54
- android_gcm_sender_id: null,
55
- gcm_key: null,
56
- chrome_web_origin: null,
57
- chrome_key: null,
58
- chrome_web_default_notification_icon: null,
59
- chrome_web_sub_domain: null,
60
- apns_env: null,
61
- apns_p12: null,
62
- apns_p12_password: null,
63
- apns_certificates: null,
64
- safari_apns_certificates: null,
65
- safari_apns_p12: null,
66
- safari_apns_p12_password: null,
67
- apns_key_id: null,
68
- apns_team_id: null,
69
- apns_bundle_id: null,
70
- apns_p8: null,
71
- safari_site_origin: null,
72
- safari_push_id: null,
73
- safari_icon_16_16: null,
74
- safari_icon_32_32: null,
75
- safari_icon_64_64: null,
76
- safari_icon_128_128: null,
77
- safari_icon_256_256: null,
78
- site_name: null,
79
- basic_auth_key: null,
80
- organization_id: null,
81
- additional_data_is_root_payload: null
48
+ id: nil,
49
+ name: nil,
50
+ players: nil,
51
+ messageable_players: nil,
52
+ updated_at: nil,
53
+ created_at: nil,
54
+ android_gcm_sender_id: nil,
55
+ gcm_key: nil,
56
+ chrome_web_origin: nil,
57
+ chrome_key: nil,
58
+ chrome_web_default_notification_icon: nil,
59
+ chrome_web_sub_domain: nil,
60
+ apns_env: nil,
61
+ apns_p12: nil,
62
+ apns_p12_password: nil,
63
+ apns_certificates: nil,
64
+ safari_apns_certificates: nil,
65
+ safari_apns_p12: nil,
66
+ safari_apns_p12_password: nil,
67
+ apns_key_id: nil,
68
+ apns_team_id: nil,
69
+ apns_bundle_id: nil,
70
+ apns_p8: nil,
71
+ safari_site_origin: nil,
72
+ safari_push_id: nil,
73
+ safari_icon_16_16: nil,
74
+ safari_icon_32_32: nil,
75
+ safari_icon_64_64: nil,
76
+ safari_icon_128_128: nil,
77
+ safari_icon_256_256: nil,
78
+ site_name: nil,
79
+ basic_auth_key: nil,
80
+ organization_id: nil,
81
+ additional_data_is_root_payload: nil
82
82
  )
83
83
  ```
84
84
 
@@ -128,123 +128,123 @@
128
128
  require 'onesignal'
129
129
 
130
130
  instance = OneSignal::BasicNotification.new(
131
- included_segments: null,
132
- excluded_segments: null,
133
- include_subscription_ids: null,
134
- include_email_tokens: null,
135
- email_to: null,
136
- include_phone_numbers: null,
137
- include_ios_tokens: null,
138
- include_wp_wns_uris: null,
139
- include_amazon_reg_ids: null,
140
- include_chrome_reg_ids: null,
141
- include_chrome_web_reg_ids: null,
142
- include_android_reg_ids: null,
143
- include_aliases: null,
144
- target_channel: null,
145
- id: null,
146
- value: null,
147
- name: null,
148
- aggregation: null,
149
- is_ios: null,
150
- is_android: null,
151
- is_huawei: null,
152
- is_any_web: null,
153
- is_chrome_web: null,
154
- is_firefox: null,
155
- is_safari: null,
156
- is_wp_wns: null,
157
- is_adm: null,
158
- is_chrome: null,
159
- app_id: null,
160
- external_id: null,
161
- idempotency_key: null,
162
- contents: null,
163
- headings: null,
164
- subtitle: null,
165
- data: null,
166
- huawei_msg_type: null,
167
- url: null,
168
- web_url: null,
169
- app_url: null,
170
- ios_attachments: null,
171
- template_id: null,
172
- content_available: null,
173
- mutable_content: null,
174
- target_content_identifier: null,
175
- big_picture: null,
176
- huawei_big_picture: null,
177
- adm_big_picture: null,
178
- chrome_big_picture: null,
179
- chrome_web_image: null,
180
- buttons: null,
181
- web_buttons: null,
182
- ios_category: null,
183
- android_channel_id: null,
184
- huawei_channel_id: null,
185
- existing_android_channel_id: null,
186
- huawei_existing_channel_id: null,
187
- android_background_layout: null,
188
- small_icon: null,
189
- huawei_small_icon: null,
190
- large_icon: null,
191
- huawei_large_icon: null,
192
- adm_small_icon: null,
193
- adm_large_icon: null,
194
- chrome_web_icon: null,
195
- chrome_web_badge: null,
196
- firefox_icon: null,
197
- chrome_icon: null,
198
- ios_sound: null,
199
- android_sound: null,
200
- huawei_sound: null,
201
- adm_sound: null,
202
- wp_wns_sound: null,
203
- android_led_color: null,
204
- huawei_led_color: null,
205
- android_accent_color: null,
206
- huawei_accent_color: null,
207
- android_visibility: null,
208
- huawei_visibility: null,
209
- ios_badge_type: null,
210
- ios_badge_count: null,
211
- collapse_id: null,
212
- web_push_topic: null,
213
- apns_alert: null,
214
- delayed_option: null,
215
- delivery_time_of_day: null,
216
- ttl: null,
217
- priority: null,
218
- apns_push_type_override: null,
219
- throttle_rate_per_minute: null,
220
- android_group: null,
221
- android_group_message: null,
222
- adm_group: null,
223
- adm_group_message: null,
224
- thread_id: null,
225
- summary_arg: null,
226
- summary_arg_count: null,
227
- ios_relevance_score: null,
228
- ios_interruption_level: null,
229
- email_subject: null,
230
- email_body: null,
231
- email_from_name: null,
232
- email_from_address: null,
233
- email_reply_to_address: null,
234
- email_preheader: null,
235
- disable_email_click_tracking: null,
236
- include_unsubscribed: null,
237
- email_bcc: null,
238
- email_sender_domain: null,
239
- sms_from: null,
240
- sms_media_urls: null,
241
- filters: null,
242
- custom_data: null,
243
- huawei_badge_class: null,
244
- huawei_badge_add_num: null,
245
- huawei_badge_set_num: null,
246
- huawei_category: null,
247
- huawei_bi_tag: null
131
+ included_segments: nil,
132
+ excluded_segments: nil,
133
+ include_subscription_ids: nil,
134
+ include_email_tokens: nil,
135
+ email_to: nil,
136
+ include_phone_numbers: nil,
137
+ include_ios_tokens: nil,
138
+ include_wp_wns_uris: nil,
139
+ include_amazon_reg_ids: nil,
140
+ include_chrome_reg_ids: nil,
141
+ include_chrome_web_reg_ids: nil,
142
+ include_android_reg_ids: nil,
143
+ include_aliases: nil,
144
+ target_channel: nil,
145
+ id: nil,
146
+ value: nil,
147
+ name: nil,
148
+ aggregation: nil,
149
+ is_ios: nil,
150
+ is_android: nil,
151
+ is_huawei: nil,
152
+ is_any_web: nil,
153
+ is_chrome_web: nil,
154
+ is_firefox: nil,
155
+ is_safari: nil,
156
+ is_wp_wns: nil,
157
+ is_adm: nil,
158
+ is_chrome: nil,
159
+ app_id: nil,
160
+ external_id: nil,
161
+ idempotency_key: nil,
162
+ contents: nil,
163
+ headings: nil,
164
+ subtitle: nil,
165
+ data: nil,
166
+ huawei_msg_type: nil,
167
+ url: nil,
168
+ web_url: nil,
169
+ app_url: nil,
170
+ ios_attachments: nil,
171
+ template_id: nil,
172
+ content_available: nil,
173
+ mutable_content: nil,
174
+ target_content_identifier: nil,
175
+ big_picture: nil,
176
+ huawei_big_picture: nil,
177
+ adm_big_picture: nil,
178
+ chrome_big_picture: nil,
179
+ chrome_web_image: nil,
180
+ buttons: nil,
181
+ web_buttons: nil,
182
+ ios_category: nil,
183
+ android_channel_id: nil,
184
+ huawei_channel_id: nil,
185
+ existing_android_channel_id: nil,
186
+ huawei_existing_channel_id: nil,
187
+ android_background_layout: nil,
188
+ small_icon: nil,
189
+ huawei_small_icon: nil,
190
+ large_icon: nil,
191
+ huawei_large_icon: nil,
192
+ adm_small_icon: nil,
193
+ adm_large_icon: nil,
194
+ chrome_web_icon: nil,
195
+ chrome_web_badge: nil,
196
+ firefox_icon: nil,
197
+ chrome_icon: nil,
198
+ ios_sound: nil,
199
+ android_sound: nil,
200
+ huawei_sound: nil,
201
+ adm_sound: nil,
202
+ wp_wns_sound: nil,
203
+ android_led_color: nil,
204
+ huawei_led_color: nil,
205
+ android_accent_color: nil,
206
+ huawei_accent_color: nil,
207
+ android_visibility: nil,
208
+ huawei_visibility: nil,
209
+ ios_badge_type: nil,
210
+ ios_badge_count: nil,
211
+ collapse_id: nil,
212
+ web_push_topic: nil,
213
+ apns_alert: nil,
214
+ delayed_option: nil,
215
+ delivery_time_of_day: nil,
216
+ ttl: nil,
217
+ priority: nil,
218
+ apns_push_type_override: nil,
219
+ throttle_rate_per_minute: nil,
220
+ android_group: nil,
221
+ android_group_message: nil,
222
+ adm_group: nil,
223
+ adm_group_message: nil,
224
+ thread_id: nil,
225
+ summary_arg: nil,
226
+ summary_arg_count: nil,
227
+ ios_relevance_score: nil,
228
+ ios_interruption_level: nil,
229
+ email_subject: nil,
230
+ email_body: nil,
231
+ email_from_name: nil,
232
+ email_from_address: nil,
233
+ email_reply_to_address: nil,
234
+ email_preheader: nil,
235
+ disable_email_click_tracking: nil,
236
+ include_unsubscribed: nil,
237
+ email_bcc: nil,
238
+ email_sender_domain: nil,
239
+ sms_from: nil,
240
+ sms_media_urls: nil,
241
+ filters: nil,
242
+ custom_data: nil,
243
+ huawei_badge_class: nil,
244
+ huawei_badge_add_num: nil,
245
+ huawei_badge_set_num: nil,
246
+ huawei_category: nil,
247
+ huawei_bi_tag: nil
248
248
  )
249
249
  ```
250
250