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