onesignal 5.3.0 → 5.5.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 (161) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/README.md +57 -186
  4. data/docs/BasicNotification.md +4 -2
  5. data/docs/BasicNotificationAllOf.md +3 -1
  6. data/docs/CreateNotificationSuccessResponse.md +3 -3
  7. data/docs/CreateTemplateRequest.md +6 -0
  8. data/docs/DefaultApi.md +50 -46
  9. data/docs/Notification.md +4 -2
  10. data/docs/NotificationTarget.md +1 -1
  11. data/docs/NotificationWithMeta.md +7 -3
  12. data/docs/NotificationWithMetaAllOf.md +5 -1
  13. data/docs/StartLiveActivityRequest.md +1 -1
  14. data/docs/SubscriptionNotificationTarget.md +1 -1
  15. data/docs/UpdateTemplateRequest.md +6 -0
  16. data/lib/onesignal/api/default_api.rb +3 -3
  17. data/lib/onesignal/api_client.rb +2 -2
  18. data/lib/onesignal/api_error.rb +1 -1
  19. data/lib/onesignal/configuration.rb +4 -5
  20. data/lib/onesignal/models/api_key_token.rb +1 -1
  21. data/lib/onesignal/models/api_key_tokens_list_response.rb +1 -1
  22. data/lib/onesignal/models/app.rb +1 -1
  23. data/lib/onesignal/models/basic_notification.rb +34 -4
  24. data/lib/onesignal/models/basic_notification_all_of.rb +33 -3
  25. data/lib/onesignal/models/basic_notification_all_of_android_background_layout.rb +1 -1
  26. data/lib/onesignal/models/button.rb +1 -1
  27. data/lib/onesignal/models/copy_template_request.rb +1 -1
  28. data/lib/onesignal/models/create_api_key_request.rb +1 -1
  29. data/lib/onesignal/models/create_api_key_response.rb +1 -1
  30. data/lib/onesignal/models/create_notification_success_response.rb +4 -2
  31. data/lib/onesignal/models/create_segment_conflict_response.rb +1 -1
  32. data/lib/onesignal/models/create_segment_success_response.rb +1 -1
  33. data/lib/onesignal/models/create_template_request.rb +48 -2
  34. data/lib/onesignal/models/create_user_conflict_response.rb +1 -1
  35. data/lib/onesignal/models/create_user_conflict_response_errors_inner.rb +1 -1
  36. data/lib/onesignal/models/create_user_conflict_response_errors_items_meta.rb +1 -1
  37. data/lib/onesignal/models/custom_event.rb +1 -1
  38. data/lib/onesignal/models/custom_events_request.rb +1 -1
  39. data/lib/onesignal/models/delivery_data.rb +1 -1
  40. data/lib/onesignal/models/export_events_success_response.rb +1 -1
  41. data/lib/onesignal/models/export_subscriptions_request_body.rb +1 -1
  42. data/lib/onesignal/models/export_subscriptions_success_response.rb +1 -1
  43. data/lib/onesignal/models/filter.rb +1 -1
  44. data/lib/onesignal/models/filter_expression.rb +1 -1
  45. data/lib/onesignal/models/generic_error.rb +1 -1
  46. data/lib/onesignal/models/generic_success_bool_response.rb +1 -1
  47. data/lib/onesignal/models/get_notification_history_request_body.rb +1 -1
  48. data/lib/onesignal/models/get_segments_success_response.rb +1 -1
  49. data/lib/onesignal/models/language_string_map.rb +1 -1
  50. data/lib/onesignal/models/notification.rb +34 -4
  51. data/lib/onesignal/models/notification_all_of.rb +1 -1
  52. data/lib/onesignal/models/notification_history_success_response.rb +1 -1
  53. data/lib/onesignal/models/notification_slice.rb +1 -1
  54. data/lib/onesignal/models/notification_target.rb +2 -2
  55. data/lib/onesignal/models/notification_with_meta.rb +33 -7
  56. data/lib/onesignal/models/notification_with_meta_all_of.rb +29 -5
  57. data/lib/onesignal/models/operator.rb +1 -1
  58. data/lib/onesignal/models/outcome_data.rb +1 -1
  59. data/lib/onesignal/models/outcomes_data.rb +1 -1
  60. data/lib/onesignal/models/platform_delivery_data.rb +1 -1
  61. data/lib/onesignal/models/platform_delivery_data_email_all_of.rb +1 -1
  62. data/lib/onesignal/models/platform_delivery_data_sms_all_of.rb +1 -1
  63. data/lib/onesignal/models/properties_body.rb +1 -1
  64. data/lib/onesignal/models/properties_deltas.rb +1 -1
  65. data/lib/onesignal/models/properties_object.rb +1 -1
  66. data/lib/onesignal/models/purchase.rb +1 -1
  67. data/lib/onesignal/models/rate_limit_error.rb +1 -1
  68. data/lib/onesignal/models/segment.rb +1 -1
  69. data/lib/onesignal/models/segment_data.rb +1 -1
  70. data/lib/onesignal/models/segment_notification_target.rb +1 -1
  71. data/lib/onesignal/models/start_live_activity_request.rb +2 -2
  72. data/lib/onesignal/models/start_live_activity_success_response.rb +1 -1
  73. data/lib/onesignal/models/subscription.rb +1 -1
  74. data/lib/onesignal/models/subscription_body.rb +1 -1
  75. data/lib/onesignal/models/subscription_notification_target.rb +2 -2
  76. data/lib/onesignal/models/template_resource.rb +1 -1
  77. data/lib/onesignal/models/templates_list_response.rb +1 -1
  78. data/lib/onesignal/models/transfer_subscription_request_body.rb +1 -1
  79. data/lib/onesignal/models/update_api_key_request.rb +1 -1
  80. data/lib/onesignal/models/update_live_activity_request.rb +1 -1
  81. data/lib/onesignal/models/update_live_activity_success_response.rb +1 -1
  82. data/lib/onesignal/models/update_template_request.rb +48 -2
  83. data/lib/onesignal/models/update_user_request.rb +1 -1
  84. data/lib/onesignal/models/user.rb +1 -1
  85. data/lib/onesignal/models/user_identity_body.rb +1 -1
  86. data/lib/onesignal/models/web_button.rb +1 -1
  87. data/lib/onesignal/version.rb +2 -2
  88. data/lib/onesignal.rb +1 -1
  89. data/onesignal.gemspec +1 -1
  90. data/spec/api/default_api_spec.rb +2 -2
  91. data/spec/api_client_spec.rb +1 -1
  92. data/spec/configuration_spec.rb +1 -1
  93. data/spec/models/api_key_token_spec.rb +1 -1
  94. data/spec/models/api_key_tokens_list_response_spec.rb +1 -1
  95. data/spec/models/app_spec.rb +1 -1
  96. data/spec/models/basic_notification_all_of_android_background_layout_spec.rb +1 -1
  97. data/spec/models/basic_notification_all_of_spec.rb +7 -1
  98. data/spec/models/basic_notification_spec.rb +7 -1
  99. data/spec/models/button_spec.rb +1 -1
  100. data/spec/models/copy_template_request_spec.rb +1 -1
  101. data/spec/models/create_api_key_request_spec.rb +1 -1
  102. data/spec/models/create_api_key_response_spec.rb +1 -1
  103. data/spec/models/create_notification_success_response_spec.rb +1 -1
  104. data/spec/models/create_segment_conflict_response_spec.rb +1 -1
  105. data/spec/models/create_segment_success_response_spec.rb +1 -1
  106. data/spec/models/create_template_request_spec.rb +19 -1
  107. data/spec/models/create_user_conflict_response_errors_inner_spec.rb +1 -1
  108. data/spec/models/create_user_conflict_response_errors_items_meta_spec.rb +1 -1
  109. data/spec/models/create_user_conflict_response_spec.rb +1 -1
  110. data/spec/models/custom_event_spec.rb +1 -1
  111. data/spec/models/custom_events_request_spec.rb +1 -1
  112. data/spec/models/delivery_data_spec.rb +1 -1
  113. data/spec/models/export_events_success_response_spec.rb +1 -1
  114. data/spec/models/export_subscriptions_request_body_spec.rb +1 -1
  115. data/spec/models/export_subscriptions_success_response_spec.rb +1 -1
  116. data/spec/models/filter_expression_spec.rb +1 -1
  117. data/spec/models/filter_spec.rb +1 -1
  118. data/spec/models/generic_error_spec.rb +1 -1
  119. data/spec/models/generic_success_bool_response_spec.rb +1 -1
  120. data/spec/models/get_notification_history_request_body_spec.rb +1 -1
  121. data/spec/models/get_segments_success_response_spec.rb +1 -1
  122. data/spec/models/language_string_map_spec.rb +1 -1
  123. data/spec/models/notification_all_of_spec.rb +1 -1
  124. data/spec/models/notification_history_success_response_spec.rb +1 -1
  125. data/spec/models/notification_slice_spec.rb +1 -1
  126. data/spec/models/notification_spec.rb +7 -1
  127. data/spec/models/notification_target_spec.rb +1 -1
  128. data/spec/models/notification_with_meta_all_of_spec.rb +13 -1
  129. data/spec/models/notification_with_meta_spec.rb +13 -1
  130. data/spec/models/operator_spec.rb +1 -1
  131. data/spec/models/outcome_data_spec.rb +1 -1
  132. data/spec/models/outcomes_data_spec.rb +1 -1
  133. data/spec/models/platform_delivery_data_email_all_of_spec.rb +1 -1
  134. data/spec/models/platform_delivery_data_sms_all_of_spec.rb +1 -1
  135. data/spec/models/platform_delivery_data_spec.rb +1 -1
  136. data/spec/models/properties_body_spec.rb +1 -1
  137. data/spec/models/properties_deltas_spec.rb +1 -1
  138. data/spec/models/properties_object_spec.rb +1 -1
  139. data/spec/models/purchase_spec.rb +1 -1
  140. data/spec/models/rate_limit_error_spec.rb +1 -1
  141. data/spec/models/segment_data_spec.rb +1 -1
  142. data/spec/models/segment_notification_target_spec.rb +1 -1
  143. data/spec/models/segment_spec.rb +1 -1
  144. data/spec/models/start_live_activity_request_spec.rb +1 -1
  145. data/spec/models/start_live_activity_success_response_spec.rb +1 -1
  146. data/spec/models/subscription_body_spec.rb +1 -1
  147. data/spec/models/subscription_notification_target_spec.rb +1 -1
  148. data/spec/models/subscription_spec.rb +1 -1
  149. data/spec/models/template_resource_spec.rb +1 -1
  150. data/spec/models/templates_list_response_spec.rb +1 -1
  151. data/spec/models/transfer_subscription_request_body_spec.rb +1 -1
  152. data/spec/models/update_api_key_request_spec.rb +1 -1
  153. data/spec/models/update_live_activity_request_spec.rb +1 -1
  154. data/spec/models/update_live_activity_success_response_spec.rb +1 -1
  155. data/spec/models/update_template_request_spec.rb +19 -1
  156. data/spec/models/update_user_request_spec.rb +1 -1
  157. data/spec/models/user_identity_body_spec.rb +1 -1
  158. data/spec/models/user_spec.rb +1 -1
  159. data/spec/models/web_button_spec.rb +1 -1
  160. data/spec/spec_helper.rb +1 -1
  161. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1ba8557c331dcf807a3dc7881bb816466841a3738c4f7dcb1c72aa011d34113
4
- data.tar.gz: 6cc988483ff1bcfe9865f5fae79a50991a122fb6bc275b5b9b9b54351a5bcb7d
3
+ metadata.gz: 6e2a0e4d30e7deb7aa557bb055f0584d97c2fe1acce3c091635f364862fe7abf
4
+ data.tar.gz: 7a34c0144039ac9132079a3a1d2ad611a62cc450dace4044db9a98a8b684f960
5
5
  SHA512:
6
- metadata.gz: 0c11585a2eab09c69d5e0aac35770df4b4418dd8d3f76867ea446f29f55906508c10c1184f77e2cf22c8525ba87fbc8bdb447d4a5dee937627df829d86b1ec08
7
- data.tar.gz: b4833c4f5b1ad25fb4d6e23ac6711bf1febb4bd19aa5c7aada1f6db64651407cfd2d37e27d37a693c0a0980910bde8e022d9933de9010c20750669ed157c4fe2
6
+ metadata.gz: a7d44e55b919b92325a5106037e73a7a5d276a2f47cc55eb8931e4c95912a7b2eba424728fde9b8fffdd9aae12b6d7c6ed81cb4ac1cea1b9e0c3a99997d1b4c1
7
+ data.tar.gz: cd6a2e8b60ddc1c376024a4ee5620032a07b97b42ee04fbd98c45ce71a88f9532dc161d9d7983dd1eeb0d8cba0561311ed48f094bddd11c60b71650c549542f5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.5.0](https://github.com/OneSignal/onesignal-ruby-api/compare/v5.4.0...v5.5.0) (2026-05-08)
4
+
5
+ ### Features
6
+
7
+ * add `email_bcc` and `bcc_sent` to Notification and Template models ([#84](https://github.com/OneSignal/onesignal-ruby-api/issues/84)) ([9cb235f](https://github.com/OneSignal/onesignal-ruby-api/commit/9cb235fcfd299fa58877733108eba660c86fc4ba))
8
+
9
+ ## [5.4.0](https://github.com/OneSignal/onesignal-ruby-api/compare/v5.3.0...v5.4.0) (2026-04-17)
10
+
11
+ ### Features
12
+
13
+ * add v5.4.0 package updates ([#67](https://github.com/OneSignal/onesignal-ruby-api/issues/67)) ([5a85c14](https://github.com/OneSignal/onesignal-ruby-api/commit/5a85c14dbe8c88e053221903505545fc9191a99d))
14
+
3
15
  ## [5.3.0](https://github.com/OneSignal/onesignal-ruby-api/compare/v5.2.0...v5.3.0) (2026-03-24)
4
16
 
5
17
  ### Features
data/README.md CHANGED
@@ -1,215 +1,86 @@
1
1
  # onesignal
2
2
 
3
- OneSignal - the Ruby gem for the OneSignal
3
+ OneSignal - the Ruby gem for OneSignal
4
4
 
5
5
  A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
6
6
 
7
- This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
-
9
- - API version: 5.3.0
10
- - Package version: 5.3.0
11
- - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
- For more information, please visit [https://onesignal.com](https://onesignal.com)
7
+ - API version: 5.5.0
8
+ - Package version: 5.5.0
13
9
 
14
10
  ## Installation
15
11
 
16
- ### Build a gem
17
-
18
- To build the Ruby code into a gem:
19
-
20
- ```shell
21
- gem build onesignal.gemspec
22
- ```
23
-
24
- Then either install the gem locally:
12
+ Add to your `Gemfile`:
25
13
 
26
- ```shell
27
- gem install ./onesignal-5.3.0.gem
14
+ ```ruby
15
+ gem 'onesignal', '~> 5.5.0'
28
16
  ```
29
17
 
30
- (for development, run `gem install --dev ./onesignal-5.3.0.gem` to install the development dependencies)
18
+ Then run `bundle install`.
31
19
 
32
- or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
20
+ ## Configuration
33
21
 
34
- Finally add this to the Gemfile:
22
+ Every SDK requires authentication via API keys. Two key types are available:
35
23
 
36
- gem 'onesignal', '~> 5.3.0'
24
+ - **REST API Key** — required for most endpoints (sending notifications, managing users, etc.). Found in your app's **Settings > Keys & IDs**.
25
+ - **Organization API Key** — only required for organization-level endpoints like creating or listing apps. Found in **Organization Settings**.
37
26
 
38
- ### Install from Git
27
+ > **Warning:** Store your API keys in environment variables or a secrets manager. Never commit them to source control.
39
28
 
40
- If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
41
-
42
- gem 'onesignal', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
43
-
44
- ### Include the Ruby code directly
29
+ ```ruby
30
+ require 'onesignal'
45
31
 
46
- Include the Ruby code directly using `-I` as follows:
32
+ OneSignal.configure do |config|
33
+ config.rest_api_key = 'YOUR_REST_API_KEY'
34
+ config.organization_api_key = 'YOUR_ORGANIZATION_API_KEY'
35
+ end
47
36
 
48
- ```shell
49
- ruby -Ilib script.rb
37
+ client = OneSignal::DefaultApi.new
50
38
  ```
51
39
 
52
- ## Getting Started
53
-
54
- Please follow the [installation](#installation) procedure and then run the following code:
40
+ ## Send a push notification
55
41
 
56
42
  ```ruby
57
- # Load the gem
58
- require 'onesignal'
43
+ notification = OneSignal::Notification.new({
44
+ app_id: 'YOUR_APP_ID',
45
+ contents: { en: 'Hello from OneSignal!' },
46
+ headings: { en: 'Push Notification' },
47
+ included_segments: ['Subscribed Users']
48
+ })
49
+
50
+ response = client.create_notification(notification)
51
+ puts "Notification ID: #{response.id}"
52
+ ```
59
53
 
60
- # Setup authorization
61
- OneSignal.configure do |config|
62
- # Configure Bearer authorization: organization_api_key
63
- config.organization_api_key = 'ORGANIZATION_API_KEY' # Organization key is only required for creating new apps and other top-level endpoints
64
- # Configure Bearer authorization: rest_api_key
65
- config.rest_api_key = 'REST_API_KEY' # App REST API key required for most endpoints
66
- end
54
+ ## Send an email
67
55
 
68
- api_instance = OneSignal::DefaultApi.new
69
- app_id = 'app_id_example' # String |
70
- notification_id = 'notification_id_example' # String |
56
+ ```ruby
57
+ notification = OneSignal::Notification.new({
58
+ app_id: 'YOUR_APP_ID',
59
+ email_subject: 'Important Update',
60
+ email_body: '<h1>Hello!</h1><p>This is an HTML email.</p>',
61
+ included_segments: ['Subscribed Users'],
62
+ channel_for_external_user_ids: 'email'
63
+ })
64
+
65
+ response = client.create_notification(notification)
66
+ ```
71
67
 
72
- begin
73
- #Stop a scheduled or currently outgoing notification
74
- result = api_instance.cancel_notification(app_id, notification_id)
75
- p result
76
- rescue OneSignal::ApiError => e
77
- puts "Exception when calling DefaultApi->cancel_notification: #{e}"
78
- end
68
+ ## Send an SMS
79
69
 
70
+ ```ruby
71
+ notification = OneSignal::Notification.new({
72
+ app_id: 'YOUR_APP_ID',
73
+ contents: { en: 'Your SMS message content here' },
74
+ included_segments: ['Subscribed Users'],
75
+ channel_for_external_user_ids: 'sms',
76
+ sms_from: '+15551234567'
77
+ })
78
+
79
+ response = client.create_notification(notification)
80
80
  ```
81
81
 
82
- ## Documentation for API Endpoints
83
-
84
- All URIs are relative to *https://api.onesignal.com*
85
-
86
- Class | Method | HTTP request | Description
87
- ------------ | ------------- | ------------- | -------------
88
- *OneSignal::DefaultApi* | [**cancel_notification**](docs/DefaultApi.md#cancel_notification) | **DELETE** /notifications/{notification_id} | Stop a scheduled or currently outgoing notification
89
- *OneSignal::DefaultApi* | [**copy_template_to_app**](docs/DefaultApi.md#copy_template_to_app) | **POST** /templates/{template_id}/copy_to_app | Copy template to another app
90
- *OneSignal::DefaultApi* | [**create_alias**](docs/DefaultApi.md#create_alias) | **PATCH** /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity |
91
- *OneSignal::DefaultApi* | [**create_alias_by_subscription**](docs/DefaultApi.md#create_alias_by_subscription) | **PATCH** /apps/{app_id}/subscriptions/{subscription_id}/user/identity |
92
- *OneSignal::DefaultApi* | [**create_api_key**](docs/DefaultApi.md#create_api_key) | **POST** /apps/{app_id}/auth/tokens | Create API key
93
- *OneSignal::DefaultApi* | [**create_app**](docs/DefaultApi.md#create_app) | **POST** /apps | Create an app
94
- *OneSignal::DefaultApi* | [**create_custom_events**](docs/DefaultApi.md#create_custom_events) | **POST** /apps/{app_id}/integrations/custom_events | Create custom events
95
- *OneSignal::DefaultApi* | [**create_notification**](docs/DefaultApi.md#create_notification) | **POST** /notifications | Create notification
96
- *OneSignal::DefaultApi* | [**create_segment**](docs/DefaultApi.md#create_segment) | **POST** /apps/{app_id}/segments | Create Segment
97
- *OneSignal::DefaultApi* | [**create_subscription**](docs/DefaultApi.md#create_subscription) | **POST** /apps/{app_id}/users/by/{alias_label}/{alias_id}/subscriptions |
98
- *OneSignal::DefaultApi* | [**create_template**](docs/DefaultApi.md#create_template) | **POST** /templates | Create template
99
- *OneSignal::DefaultApi* | [**create_user**](docs/DefaultApi.md#create_user) | **POST** /apps/{app_id}/users |
100
- *OneSignal::DefaultApi* | [**delete_alias**](docs/DefaultApi.md#delete_alias) | **DELETE** /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity/{alias_label_to_delete} |
101
- *OneSignal::DefaultApi* | [**delete_api_key**](docs/DefaultApi.md#delete_api_key) | **DELETE** /apps/{app_id}/auth/tokens/{token_id} | Delete API key
102
- *OneSignal::DefaultApi* | [**delete_segment**](docs/DefaultApi.md#delete_segment) | **DELETE** /apps/{app_id}/segments/{segment_id} | Delete Segment
103
- *OneSignal::DefaultApi* | [**delete_subscription**](docs/DefaultApi.md#delete_subscription) | **DELETE** /apps/{app_id}/subscriptions/{subscription_id} |
104
- *OneSignal::DefaultApi* | [**delete_template**](docs/DefaultApi.md#delete_template) | **DELETE** /templates/{template_id} | Delete template
105
- *OneSignal::DefaultApi* | [**delete_user**](docs/DefaultApi.md#delete_user) | **DELETE** /apps/{app_id}/users/by/{alias_label}/{alias_id} |
106
- *OneSignal::DefaultApi* | [**export_events**](docs/DefaultApi.md#export_events) | **POST** /notifications/{notification_id}/export_events?app_id&#x3D;{app_id} | Export CSV of Events
107
- *OneSignal::DefaultApi* | [**export_subscriptions**](docs/DefaultApi.md#export_subscriptions) | **POST** /players/csv_export?app_id&#x3D;{app_id} | Export CSV of Subscriptions
108
- *OneSignal::DefaultApi* | [**get_aliases**](docs/DefaultApi.md#get_aliases) | **GET** /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity |
109
- *OneSignal::DefaultApi* | [**get_aliases_by_subscription**](docs/DefaultApi.md#get_aliases_by_subscription) | **GET** /apps/{app_id}/subscriptions/{subscription_id}/user/identity |
110
- *OneSignal::DefaultApi* | [**get_app**](docs/DefaultApi.md#get_app) | **GET** /apps/{app_id} | View an app
111
- *OneSignal::DefaultApi* | [**get_apps**](docs/DefaultApi.md#get_apps) | **GET** /apps | View apps
112
- *OneSignal::DefaultApi* | [**get_notification**](docs/DefaultApi.md#get_notification) | **GET** /notifications/{notification_id} | View notification
113
- *OneSignal::DefaultApi* | [**get_notification_history**](docs/DefaultApi.md#get_notification_history) | **POST** /notifications/{notification_id}/history | Notification History
114
- *OneSignal::DefaultApi* | [**get_notifications**](docs/DefaultApi.md#get_notifications) | **GET** /notifications | View notifications
115
- *OneSignal::DefaultApi* | [**get_outcomes**](docs/DefaultApi.md#get_outcomes) | **GET** /apps/{app_id}/outcomes | View Outcomes
116
- *OneSignal::DefaultApi* | [**get_segments**](docs/DefaultApi.md#get_segments) | **GET** /apps/{app_id}/segments | Get Segments
117
- *OneSignal::DefaultApi* | [**get_user**](docs/DefaultApi.md#get_user) | **GET** /apps/{app_id}/users/by/{alias_label}/{alias_id} |
118
- *OneSignal::DefaultApi* | [**rotate_api_key**](docs/DefaultApi.md#rotate_api_key) | **POST** /apps/{app_id}/auth/tokens/{token_id}/rotate | Rotate API key
119
- *OneSignal::DefaultApi* | [**start_live_activity**](docs/DefaultApi.md#start_live_activity) | **POST** /apps/{app_id}/activities/activity/{activity_type} | Start Live Activity
120
- *OneSignal::DefaultApi* | [**transfer_subscription**](docs/DefaultApi.md#transfer_subscription) | **PATCH** /apps/{app_id}/subscriptions/{subscription_id}/owner |
121
- *OneSignal::DefaultApi* | [**unsubscribe_email_with_token**](docs/DefaultApi.md#unsubscribe_email_with_token) | **POST** /apps/{app_id}/notifications/{notification_id}/unsubscribe | Unsubscribe with token
122
- *OneSignal::DefaultApi* | [**update_api_key**](docs/DefaultApi.md#update_api_key) | **PATCH** /apps/{app_id}/auth/tokens/{token_id} | Update API key
123
- *OneSignal::DefaultApi* | [**update_app**](docs/DefaultApi.md#update_app) | **PUT** /apps/{app_id} | Update an app
124
- *OneSignal::DefaultApi* | [**update_live_activity**](docs/DefaultApi.md#update_live_activity) | **POST** /apps/{app_id}/live_activities/{activity_id}/notifications | Update a Live Activity via Push
125
- *OneSignal::DefaultApi* | [**update_subscription**](docs/DefaultApi.md#update_subscription) | **PATCH** /apps/{app_id}/subscriptions/{subscription_id} |
126
- *OneSignal::DefaultApi* | [**update_subscription_by_token**](docs/DefaultApi.md#update_subscription_by_token) | **PATCH** /apps/{app_id}/subscriptions_by_token/{token_type}/{token} | Update subscription by token
127
- *OneSignal::DefaultApi* | [**update_template**](docs/DefaultApi.md#update_template) | **PATCH** /templates/{template_id} | Update template
128
- *OneSignal::DefaultApi* | [**update_user**](docs/DefaultApi.md#update_user) | **PATCH** /apps/{app_id}/users/by/{alias_label}/{alias_id} |
129
- *OneSignal::DefaultApi* | [**view_api_keys**](docs/DefaultApi.md#view_api_keys) | **GET** /apps/{app_id}/auth/tokens | View API keys
130
- *OneSignal::DefaultApi* | [**view_template**](docs/DefaultApi.md#view_template) | **GET** /templates/{template_id} | View template
131
- *OneSignal::DefaultApi* | [**view_templates**](docs/DefaultApi.md#view_templates) | **GET** /templates | View templates
132
-
133
-
134
- ## Documentation for Models
135
-
136
- - [OneSignal::ApiKeyToken](docs/ApiKeyToken.md)
137
- - [OneSignal::ApiKeyTokensListResponse](docs/ApiKeyTokensListResponse.md)
138
- - [OneSignal::App](docs/App.md)
139
- - [OneSignal::BasicNotification](docs/BasicNotification.md)
140
- - [OneSignal::BasicNotificationAllOf](docs/BasicNotificationAllOf.md)
141
- - [OneSignal::BasicNotificationAllOfAndroidBackgroundLayout](docs/BasicNotificationAllOfAndroidBackgroundLayout.md)
142
- - [OneSignal::Button](docs/Button.md)
143
- - [OneSignal::CopyTemplateRequest](docs/CopyTemplateRequest.md)
144
- - [OneSignal::CreateApiKeyRequest](docs/CreateApiKeyRequest.md)
145
- - [OneSignal::CreateApiKeyResponse](docs/CreateApiKeyResponse.md)
146
- - [OneSignal::CreateNotificationSuccessResponse](docs/CreateNotificationSuccessResponse.md)
147
- - [OneSignal::CreateSegmentConflictResponse](docs/CreateSegmentConflictResponse.md)
148
- - [OneSignal::CreateSegmentSuccessResponse](docs/CreateSegmentSuccessResponse.md)
149
- - [OneSignal::CreateTemplateRequest](docs/CreateTemplateRequest.md)
150
- - [OneSignal::CreateUserConflictResponse](docs/CreateUserConflictResponse.md)
151
- - [OneSignal::CreateUserConflictResponseErrorsInner](docs/CreateUserConflictResponseErrorsInner.md)
152
- - [OneSignal::CreateUserConflictResponseErrorsItemsMeta](docs/CreateUserConflictResponseErrorsItemsMeta.md)
153
- - [OneSignal::CustomEvent](docs/CustomEvent.md)
154
- - [OneSignal::CustomEventsRequest](docs/CustomEventsRequest.md)
155
- - [OneSignal::DeliveryData](docs/DeliveryData.md)
156
- - [OneSignal::ExportEventsSuccessResponse](docs/ExportEventsSuccessResponse.md)
157
- - [OneSignal::ExportSubscriptionsRequestBody](docs/ExportSubscriptionsRequestBody.md)
158
- - [OneSignal::ExportSubscriptionsSuccessResponse](docs/ExportSubscriptionsSuccessResponse.md)
159
- - [OneSignal::Filter](docs/Filter.md)
160
- - [OneSignal::FilterExpression](docs/FilterExpression.md)
161
- - [OneSignal::GenericError](docs/GenericError.md)
162
- - [OneSignal::GenericSuccessBoolResponse](docs/GenericSuccessBoolResponse.md)
163
- - [OneSignal::GetNotificationHistoryRequestBody](docs/GetNotificationHistoryRequestBody.md)
164
- - [OneSignal::GetSegmentsSuccessResponse](docs/GetSegmentsSuccessResponse.md)
165
- - [OneSignal::LanguageStringMap](docs/LanguageStringMap.md)
166
- - [OneSignal::Notification](docs/Notification.md)
167
- - [OneSignal::NotificationAllOf](docs/NotificationAllOf.md)
168
- - [OneSignal::NotificationHistorySuccessResponse](docs/NotificationHistorySuccessResponse.md)
169
- - [OneSignal::NotificationSlice](docs/NotificationSlice.md)
170
- - [OneSignal::NotificationTarget](docs/NotificationTarget.md)
171
- - [OneSignal::NotificationWithMeta](docs/NotificationWithMeta.md)
172
- - [OneSignal::NotificationWithMetaAllOf](docs/NotificationWithMetaAllOf.md)
173
- - [OneSignal::Operator](docs/Operator.md)
174
- - [OneSignal::OutcomeData](docs/OutcomeData.md)
175
- - [OneSignal::OutcomesData](docs/OutcomesData.md)
176
- - [OneSignal::PlatformDeliveryData](docs/PlatformDeliveryData.md)
177
- - [OneSignal::PlatformDeliveryDataEmailAllOf](docs/PlatformDeliveryDataEmailAllOf.md)
178
- - [OneSignal::PlatformDeliveryDataSmsAllOf](docs/PlatformDeliveryDataSmsAllOf.md)
179
- - [OneSignal::PropertiesBody](docs/PropertiesBody.md)
180
- - [OneSignal::PropertiesDeltas](docs/PropertiesDeltas.md)
181
- - [OneSignal::PropertiesObject](docs/PropertiesObject.md)
182
- - [OneSignal::Purchase](docs/Purchase.md)
183
- - [OneSignal::RateLimitError](docs/RateLimitError.md)
184
- - [OneSignal::Segment](docs/Segment.md)
185
- - [OneSignal::SegmentData](docs/SegmentData.md)
186
- - [OneSignal::SegmentNotificationTarget](docs/SegmentNotificationTarget.md)
187
- - [OneSignal::StartLiveActivityRequest](docs/StartLiveActivityRequest.md)
188
- - [OneSignal::StartLiveActivitySuccessResponse](docs/StartLiveActivitySuccessResponse.md)
189
- - [OneSignal::Subscription](docs/Subscription.md)
190
- - [OneSignal::SubscriptionBody](docs/SubscriptionBody.md)
191
- - [OneSignal::SubscriptionNotificationTarget](docs/SubscriptionNotificationTarget.md)
192
- - [OneSignal::TemplateResource](docs/TemplateResource.md)
193
- - [OneSignal::TemplatesListResponse](docs/TemplatesListResponse.md)
194
- - [OneSignal::TransferSubscriptionRequestBody](docs/TransferSubscriptionRequestBody.md)
195
- - [OneSignal::UpdateApiKeyRequest](docs/UpdateApiKeyRequest.md)
196
- - [OneSignal::UpdateLiveActivityRequest](docs/UpdateLiveActivityRequest.md)
197
- - [OneSignal::UpdateLiveActivitySuccessResponse](docs/UpdateLiveActivitySuccessResponse.md)
198
- - [OneSignal::UpdateTemplateRequest](docs/UpdateTemplateRequest.md)
199
- - [OneSignal::UpdateUserRequest](docs/UpdateUserRequest.md)
200
- - [OneSignal::User](docs/User.md)
201
- - [OneSignal::UserIdentityBody](docs/UserIdentityBody.md)
202
- - [OneSignal::WebButton](docs/WebButton.md)
203
-
204
-
205
- ## Documentation for Authorization
206
-
207
-
208
- ### organization_api_key
209
-
210
- - **Type**: Bearer authentication
211
-
212
- ### rest_api_key
213
-
214
- - **Type**: Bearer authentication
82
+ ## Full API reference
83
+
84
+ The complete list of API endpoints and their parameters is available in the [DefaultApi documentation](https://github.com/OneSignal/onesignal-ruby-api/blob/master/docs/DefaultApi.md).
215
85
 
86
+ For the underlying REST API, see the [OneSignal API reference](https://documentation.onesignal.com/reference).
@@ -15,7 +15,7 @@
15
15
  | **include_chrome_reg_ids** | **Array&lt;String&gt;** | Not Recommended: Please consider using include_subscription_ids or include_aliases instead. Target using Chrome App registration IDs. If a token does not correspond to an existing user, a new user will be created. Example: APA91bEeiUeSukAAUdnw3O2RB45FWlSpgJ7Ji_... Limit of 2,000 entries per REST API call | [optional] |
16
16
  | **include_chrome_web_reg_ids** | **Array&lt;String&gt;** | Not Recommended: Please consider using include_subscription_ids or include_aliases instead. Target using Chrome Web Push registration IDs. If a token does not correspond to an existing user, a new user will be created. Example: APA91bEeiUeSukAAUdnw3O2RB45FWlSpgJ7Ji_... Limit of 2,000 entries per REST API call | [optional] |
17
17
  | **include_android_reg_ids** | **Array&lt;String&gt;** | Not Recommended: Please consider using include_subscription_ids or include_aliases instead. Target using Android device registration IDs. If a token does not correspond to an existing user, a new user will be created. Example: APA91bEeiUeSukAAUdnw3O2RB45FWlSpgJ7Ji_... Limit of 2,000 entries per REST API call | [optional] |
18
- | **include_aliases** | **Hash&lt;String, Array&lt;String&gt;&gt;** | Target specific users by aliases assigned via API. An alias can be an external_id, onesignal_id, or a custom alias. Accepts an object where keys are alias labels and values are arrays of alias IDs to include Example usage: { \&quot;external_id\&quot;: [\&quot;exId1\&quot;, \&quot;extId2\&quot;], \&quot;internal_label\&quot;: [\&quot;id1\&quot;, \&quot;id2\&quot;] } Not compatible with any other targeting parameters. REQUIRED: REST API Key Authentication Limit of 2,000 entries per REST API call Note: If targeting push, email, or sms subscribers with same ids, use with target_channel to indicate you are sending a push or email or sms. | [optional] |
18
+ | **include_aliases** | **Hash&lt;String, Array&lt;String&gt;&gt;** | Target specific users by aliases assigned via API. An alias can be an external_id, onesignal_id, or a custom alias. Accepts an object where keys are alias labels and values are arrays of alias IDs to include Example usage: { \&quot;external_id\&quot;: [\&quot;exId1\&quot;, \&quot;extId2\&quot;], \&quot;internal_label\&quot;: [\&quot;id1\&quot;, \&quot;id2\&quot;] } Keys must match API spellings exactly (for example the label for External ID is the string &#x60;external_id&#x60;; arbitrary keys such as camelCase variants are not aliases and may yield no recipients). Not compatible with any other targeting parameters. REQUIRED: REST API Key Authentication Limit of 2,000 entries per REST API call Note: If targeting push, email, or sms subscribers with same ids, use with target_channel to indicate you are sending a push or email or sms. | [optional] |
19
19
  | **target_channel** | **String** | | [optional] |
20
20
  | **id** | **String** | | [optional] |
21
21
  | **value** | **Integer** | | [optional][readonly] |
@@ -32,7 +32,7 @@
32
32
  | **is_adm** | **Boolean** | Indicates whether to send to all devices registered under your app&#39;s Amazon Fire platform. | [optional] |
33
33
  | **is_chrome** | **Boolean** | This flag is not used for web push Please see isChromeWeb for sending to web push users. This flag only applies to Google Chrome Apps &amp; Extensions. Indicates whether to send to all devices registered under your app&#39;s Google Chrome Apps &amp; Extension platform. | [optional] |
34
34
  | **app_id** | **String** | Required: Your OneSignal Application ID, which can be found in Keys &amp; IDs. It is a UUID and looks similar to 8250eaf6-1a58-489e-b136-7c74a864b434. | |
35
- | **external_id** | **String** | [DEPRECATED] Correlation and idempotency key. A request received with this parameter will first look for another notification with the same external_id. If one exists, a notification will not be sent, and result of the previous operation will instead be returned. Therefore, if you plan on using this feature, it&#39;s important to use a good source of randomness to generate the UUID passed here. This key is only idempotent for 30 days. After 30 days, the notification could be removed from our system and a notification with the same external_id will be sent again. See Idempotent Notification Requests for more details writeOnly: true | [optional] |
35
+ | **external_id** | **String** | This field does **not** target users by their External ID. To send to External IDs, use &#x60;include_aliases&#x60; with the label &#x60;external_id&#x60; plus &#x60;target_channel&#x60; as documented for alias-based targeting. [DEPRECATED] Correlation and idempotency key. A request received with this parameter will first look for another notification with the same external_id. If one exists, a notification will not be sent, and result of the previous operation will instead be returned. Therefore, if you plan on using this feature, it&#39;s important to use a good source of randomness to generate the UUID passed here. This key is only idempotent for 30 days. After 30 days, the notification could be removed from our system and a notification with the same external_id will be sent again. See Idempotent Notification Requests for more details writeOnly: true | [optional] |
36
36
  | **idempotency_key** | **String** | Correlation and idempotency key. A request received with this parameter will first look for another notification with the same idempotency key. If one exists, a notification will not be sent, and result of the previous operation will instead be returned. Therefore, if you plan on using this feature, it&#39;s important to use a good source of randomness to generate the UUID passed here. This key is only idempotent for 30 days. After 30 days, the notification could be removed from our system and a notification with the same idempotency key will be sent again. See Idempotent Notification Requests for more details writeOnly: true | [optional] |
37
37
  | **contents** | [**LanguageStringMap**](LanguageStringMap.md) | | [optional] |
38
38
  | **headings** | [**LanguageStringMap**](LanguageStringMap.md) | | [optional] |
@@ -109,6 +109,7 @@
109
109
  | **email_preheader** | **String** | 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. | [optional] |
110
110
  | **disable_email_click_tracking** | **Boolean** | Channel: Email Default is &#x60;false&#x60;. If set to &#x60;true&#x60;, 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. | [optional] |
111
111
  | **include_unsubscribed** | **Boolean** | Channel: Email Default is &#x60;false&#x60;. This field is used to send transactional notifications. If set to &#x60;true&#x60;, this notification will also be sent to unsubscribed emails. If a &#x60;template_id&#x60; is provided, the &#x60;include_unsubscribed&#x60; value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP&#39;s list of unsubscribed emails to be cleared. | [optional] |
112
+ | **email_bcc** | **Array&lt;String&gt;** | Channel: Email BCC recipients for the email. Maximum 5 addresses. Only supported when the email service provider is OneSignal Email. | [optional] |
112
113
  | **sms_from** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] |
113
114
  | **sms_media_urls** | **Array&lt;String&gt;** | Channel: SMS URLs for the media files to be attached to the SMS content. Limit: 10 media urls with a total max. size of 5MBs. | [optional] |
114
115
  | **filters** | [**Array&lt;FilterExpression&gt;**](FilterExpression.md) | | [optional] |
@@ -230,6 +231,7 @@ instance = OneSignal::BasicNotification.new(
230
231
  email_preheader: null,
231
232
  disable_email_click_tracking: null,
232
233
  include_unsubscribed: null,
234
+ email_bcc: null,
233
235
  sms_from: null,
234
236
  sms_media_urls: null,
235
237
  filters: null,
@@ -19,7 +19,7 @@
19
19
  | **is_adm** | **Boolean** | Indicates whether to send to all devices registered under your app&#39;s Amazon Fire platform. | [optional] |
20
20
  | **is_chrome** | **Boolean** | This flag is not used for web push Please see isChromeWeb for sending to web push users. This flag only applies to Google Chrome Apps &amp; Extensions. Indicates whether to send to all devices registered under your app&#39;s Google Chrome Apps &amp; Extension platform. | [optional] |
21
21
  | **app_id** | **String** | Required: Your OneSignal Application ID, which can be found in Keys &amp; IDs. It is a UUID and looks similar to 8250eaf6-1a58-489e-b136-7c74a864b434. | [optional] |
22
- | **external_id** | **String** | [DEPRECATED] Correlation and idempotency key. A request received with this parameter will first look for another notification with the same external_id. If one exists, a notification will not be sent, and result of the previous operation will instead be returned. Therefore, if you plan on using this feature, it&#39;s important to use a good source of randomness to generate the UUID passed here. This key is only idempotent for 30 days. After 30 days, the notification could be removed from our system and a notification with the same external_id will be sent again. See Idempotent Notification Requests for more details writeOnly: true | [optional] |
22
+ | **external_id** | **String** | This field does **not** target users by their External ID. To send to External IDs, use &#x60;include_aliases&#x60; with the label &#x60;external_id&#x60; plus &#x60;target_channel&#x60; as documented for alias-based targeting. [DEPRECATED] Correlation and idempotency key. A request received with this parameter will first look for another notification with the same external_id. If one exists, a notification will not be sent, and result of the previous operation will instead be returned. Therefore, if you plan on using this feature, it&#39;s important to use a good source of randomness to generate the UUID passed here. This key is only idempotent for 30 days. After 30 days, the notification could be removed from our system and a notification with the same external_id will be sent again. See Idempotent Notification Requests for more details writeOnly: true | [optional] |
23
23
  | **idempotency_key** | **String** | Correlation and idempotency key. A request received with this parameter will first look for another notification with the same idempotency key. If one exists, a notification will not be sent, and result of the previous operation will instead be returned. Therefore, if you plan on using this feature, it&#39;s important to use a good source of randomness to generate the UUID passed here. This key is only idempotent for 30 days. After 30 days, the notification could be removed from our system and a notification with the same idempotency key will be sent again. See Idempotent Notification Requests for more details writeOnly: true | [optional] |
24
24
  | **contents** | [**LanguageStringMap**](LanguageStringMap.md) | | [optional] |
25
25
  | **headings** | [**LanguageStringMap**](LanguageStringMap.md) | | [optional] |
@@ -96,6 +96,7 @@
96
96
  | **email_preheader** | **String** | 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. | [optional] |
97
97
  | **disable_email_click_tracking** | **Boolean** | Channel: Email Default is &#x60;false&#x60;. If set to &#x60;true&#x60;, 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. | [optional] |
98
98
  | **include_unsubscribed** | **Boolean** | Channel: Email Default is &#x60;false&#x60;. This field is used to send transactional notifications. If set to &#x60;true&#x60;, this notification will also be sent to unsubscribed emails. If a &#x60;template_id&#x60; is provided, the &#x60;include_unsubscribed&#x60; value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP&#39;s list of unsubscribed emails to be cleared. | [optional] |
99
+ | **email_bcc** | **Array&lt;String&gt;** | Channel: Email BCC recipients for the email. Maximum 5 addresses. Only supported when the email service provider is OneSignal Email. | [optional] |
99
100
  | **sms_from** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] |
100
101
  | **sms_media_urls** | **Array&lt;String&gt;** | Channel: SMS URLs for the media files to be attached to the SMS content. Limit: 10 media urls with a total max. size of 5MBs. | [optional] |
101
102
  | **filters** | [**Array&lt;FilterExpression&gt;**](FilterExpression.md) | | [optional] |
@@ -204,6 +205,7 @@ instance = OneSignal::BasicNotificationAllOf.new(
204
205
  email_preheader: null,
205
206
  disable_email_click_tracking: null,
206
207
  include_unsubscribed: null,
208
+ email_bcc: null,
207
209
  sms_from: null,
208
210
  sms_media_urls: null,
209
211
  filters: null,
@@ -4,9 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | [optional] |
8
- | **external_id** | **String** | | [optional] |
9
- | **errors** | **Object** | Errors include the identifiers that are invalid, or that there are no subscribers. | [optional] |
7
+ | **id** | **String** | Notification identifier when the request created a notification. An empty string means no notification was created; read &#x60;errors&#x60; for details (HTTP may still be 200). | [optional] |
8
+ | **external_id** | **String** | Optional correlation / idempotency-related value from the API response. This is not the end-user External ID used for targeting recipients (that lives under &#x60;include_aliases.external_id&#x60;). | [optional] |
9
+ | **errors** | **Object** | Polymorphic field: may be an array of human-readable strings and/or an object (for example with &#x60;invalid_aliases&#x60;, &#x60;invalid_external_user_ids&#x60;, or &#x60;invalid_player_ids&#x60;) depending on the API response; HTTP may still be 200 with partial success. Typed SDKs model this loosely so both shapes deserialize. | [optional] |
10
10
 
11
11
  ## Example
12
12
 
@@ -7,9 +7,12 @@
7
7
  | **app_id** | **String** | Your OneSignal App ID in UUID v4 format. | |
8
8
  | **name** | **String** | Name of the template. | |
9
9
  | **contents** | [**LanguageStringMap**](LanguageStringMap.md) | | |
10
+ | **headings** | [**LanguageStringMap**](LanguageStringMap.md) | | [optional] |
11
+ | **subtitle** | [**LanguageStringMap**](LanguageStringMap.md) | | [optional] |
10
12
  | **is_email** | **Boolean** | Set true for an Email template. | [optional] |
11
13
  | **email_subject** | **String** | Subject of the email. | [optional] |
12
14
  | **email_body** | **String** | Body of the email (HTML supported). | [optional] |
15
+ | **email_bcc** | **Array&lt;String&gt;** | BCC recipients for the email template. Maximum 5 addresses. Only supported when the email service provider is OneSignal Email. | [optional] |
13
16
  | **is_sms** | **Boolean** | Set true for an SMS template. | [optional] |
14
17
  | **dynamic_content** | **String** | JSON string for dynamic content personalization. | [optional] |
15
18
 
@@ -22,9 +25,12 @@ instance = OneSignal::CreateTemplateRequest.new(
22
25
  app_id: null,
23
26
  name: null,
24
27
  contents: null,
28
+ headings: null,
29
+ subtitle: null,
25
30
  is_email: null,
26
31
  email_subject: null,
27
32
  email_body: null,
33
+ email_bcc: null,
28
34
  is_sms: null,
29
35
  dynamic_content: null
30
36
  )