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
data/docs/Filter.md
CHANGED
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
require 'onesignal'
|
|
20
20
|
|
|
21
21
|
instance = OneSignal::Filter.new(
|
|
22
|
-
field:
|
|
23
|
-
key:
|
|
24
|
-
value:
|
|
25
|
-
hours_ago:
|
|
26
|
-
radius:
|
|
27
|
-
lat:
|
|
28
|
-
long:
|
|
29
|
-
relation:
|
|
22
|
+
field: 'tag',
|
|
23
|
+
key: 'level',
|
|
24
|
+
value: '10',
|
|
25
|
+
hours_ago: '24',
|
|
26
|
+
radius: nil,
|
|
27
|
+
lat: nil,
|
|
28
|
+
long: nil,
|
|
29
|
+
relation: nil
|
|
30
30
|
)
|
|
31
31
|
```
|
|
32
32
|
|
data/docs/GenericError.md
CHANGED
data/docs/LanguageStringMap.md
CHANGED
|
@@ -54,49 +54,49 @@
|
|
|
54
54
|
require 'onesignal'
|
|
55
55
|
|
|
56
56
|
instance = OneSignal::LanguageStringMap.new(
|
|
57
|
-
en:
|
|
58
|
-
ar:
|
|
59
|
-
bs:
|
|
60
|
-
bg:
|
|
61
|
-
ca:
|
|
62
|
-
zh_hans:
|
|
63
|
-
zh_hant:
|
|
64
|
-
zh:
|
|
65
|
-
hr:
|
|
66
|
-
cs:
|
|
67
|
-
da:
|
|
68
|
-
nl:
|
|
69
|
-
et:
|
|
70
|
-
fi:
|
|
71
|
-
fr:
|
|
72
|
-
ka:
|
|
73
|
-
de:
|
|
74
|
-
el:
|
|
75
|
-
hi:
|
|
76
|
-
he:
|
|
77
|
-
hu:
|
|
78
|
-
id:
|
|
79
|
-
it:
|
|
80
|
-
ja:
|
|
81
|
-
ko:
|
|
82
|
-
lv:
|
|
83
|
-
lt:
|
|
84
|
-
ms:
|
|
85
|
-
nb:
|
|
86
|
-
pl:
|
|
87
|
-
fa:
|
|
88
|
-
pt:
|
|
89
|
-
pa:
|
|
90
|
-
ro:
|
|
91
|
-
ru:
|
|
92
|
-
sr:
|
|
93
|
-
sk:
|
|
94
|
-
es:
|
|
95
|
-
sv:
|
|
96
|
-
th:
|
|
97
|
-
tr:
|
|
98
|
-
uk:
|
|
99
|
-
vi:
|
|
57
|
+
en: nil,
|
|
58
|
+
ar: nil,
|
|
59
|
+
bs: nil,
|
|
60
|
+
bg: nil,
|
|
61
|
+
ca: nil,
|
|
62
|
+
zh_hans: nil,
|
|
63
|
+
zh_hant: nil,
|
|
64
|
+
zh: nil,
|
|
65
|
+
hr: nil,
|
|
66
|
+
cs: nil,
|
|
67
|
+
da: nil,
|
|
68
|
+
nl: nil,
|
|
69
|
+
et: nil,
|
|
70
|
+
fi: nil,
|
|
71
|
+
fr: nil,
|
|
72
|
+
ka: nil,
|
|
73
|
+
de: nil,
|
|
74
|
+
el: nil,
|
|
75
|
+
hi: nil,
|
|
76
|
+
he: nil,
|
|
77
|
+
hu: nil,
|
|
78
|
+
id: nil,
|
|
79
|
+
it: nil,
|
|
80
|
+
ja: nil,
|
|
81
|
+
ko: nil,
|
|
82
|
+
lv: nil,
|
|
83
|
+
lt: nil,
|
|
84
|
+
ms: nil,
|
|
85
|
+
nb: nil,
|
|
86
|
+
pl: nil,
|
|
87
|
+
fa: nil,
|
|
88
|
+
pt: nil,
|
|
89
|
+
pa: nil,
|
|
90
|
+
ro: nil,
|
|
91
|
+
ru: nil,
|
|
92
|
+
sr: nil,
|
|
93
|
+
sk: nil,
|
|
94
|
+
es: nil,
|
|
95
|
+
sv: nil,
|
|
96
|
+
th: nil,
|
|
97
|
+
tr: nil,
|
|
98
|
+
uk: nil,
|
|
99
|
+
vi: nil
|
|
100
100
|
)
|
|
101
101
|
```
|
|
102
102
|
|
data/docs/Notification.md
CHANGED
|
@@ -129,124 +129,124 @@
|
|
|
129
129
|
require 'onesignal'
|
|
130
130
|
|
|
131
131
|
instance = OneSignal::Notification.new(
|
|
132
|
-
included_segments:
|
|
133
|
-
excluded_segments:
|
|
134
|
-
include_subscription_ids:
|
|
135
|
-
include_email_tokens:
|
|
136
|
-
email_to:
|
|
137
|
-
include_phone_numbers:
|
|
138
|
-
include_ios_tokens:
|
|
139
|
-
include_wp_wns_uris:
|
|
140
|
-
include_amazon_reg_ids:
|
|
141
|
-
include_chrome_reg_ids:
|
|
142
|
-
include_chrome_web_reg_ids:
|
|
143
|
-
include_android_reg_ids:
|
|
144
|
-
include_aliases:
|
|
145
|
-
target_channel:
|
|
146
|
-
id:
|
|
147
|
-
value:
|
|
148
|
-
name:
|
|
149
|
-
aggregation:
|
|
150
|
-
is_ios:
|
|
151
|
-
is_android:
|
|
152
|
-
is_huawei:
|
|
153
|
-
is_any_web:
|
|
154
|
-
is_chrome_web:
|
|
155
|
-
is_firefox:
|
|
156
|
-
is_safari:
|
|
157
|
-
is_wp_wns:
|
|
158
|
-
is_adm:
|
|
159
|
-
is_chrome:
|
|
160
|
-
app_id:
|
|
161
|
-
external_id:
|
|
162
|
-
idempotency_key:
|
|
163
|
-
contents:
|
|
164
|
-
headings:
|
|
165
|
-
subtitle:
|
|
166
|
-
data:
|
|
167
|
-
huawei_msg_type:
|
|
168
|
-
url:
|
|
169
|
-
web_url:
|
|
170
|
-
app_url:
|
|
171
|
-
ios_attachments:
|
|
172
|
-
template_id:
|
|
173
|
-
content_available:
|
|
174
|
-
mutable_content:
|
|
175
|
-
target_content_identifier:
|
|
176
|
-
big_picture:
|
|
177
|
-
huawei_big_picture:
|
|
178
|
-
adm_big_picture:
|
|
179
|
-
chrome_big_picture:
|
|
180
|
-
chrome_web_image:
|
|
181
|
-
buttons:
|
|
182
|
-
web_buttons:
|
|
183
|
-
ios_category:
|
|
184
|
-
android_channel_id:
|
|
185
|
-
huawei_channel_id:
|
|
186
|
-
existing_android_channel_id:
|
|
187
|
-
huawei_existing_channel_id:
|
|
188
|
-
android_background_layout:
|
|
189
|
-
small_icon:
|
|
190
|
-
huawei_small_icon:
|
|
191
|
-
large_icon:
|
|
192
|
-
huawei_large_icon:
|
|
193
|
-
adm_small_icon:
|
|
194
|
-
adm_large_icon:
|
|
195
|
-
chrome_web_icon:
|
|
196
|
-
chrome_web_badge:
|
|
197
|
-
firefox_icon:
|
|
198
|
-
chrome_icon:
|
|
199
|
-
ios_sound:
|
|
200
|
-
android_sound:
|
|
201
|
-
huawei_sound:
|
|
202
|
-
adm_sound:
|
|
203
|
-
wp_wns_sound:
|
|
204
|
-
android_led_color:
|
|
205
|
-
huawei_led_color:
|
|
206
|
-
android_accent_color:
|
|
207
|
-
huawei_accent_color:
|
|
208
|
-
android_visibility:
|
|
209
|
-
huawei_visibility:
|
|
210
|
-
ios_badge_type:
|
|
211
|
-
ios_badge_count:
|
|
212
|
-
collapse_id:
|
|
213
|
-
web_push_topic:
|
|
214
|
-
apns_alert:
|
|
215
|
-
delayed_option:
|
|
216
|
-
delivery_time_of_day:
|
|
217
|
-
ttl:
|
|
218
|
-
priority:
|
|
219
|
-
apns_push_type_override:
|
|
220
|
-
throttle_rate_per_minute:
|
|
221
|
-
android_group:
|
|
222
|
-
android_group_message:
|
|
223
|
-
adm_group:
|
|
224
|
-
adm_group_message:
|
|
225
|
-
thread_id:
|
|
226
|
-
summary_arg:
|
|
227
|
-
summary_arg_count:
|
|
228
|
-
ios_relevance_score:
|
|
229
|
-
ios_interruption_level:
|
|
230
|
-
email_subject:
|
|
231
|
-
email_body:
|
|
232
|
-
email_from_name:
|
|
233
|
-
email_from_address:
|
|
234
|
-
email_reply_to_address:
|
|
235
|
-
email_preheader:
|
|
236
|
-
disable_email_click_tracking:
|
|
237
|
-
include_unsubscribed:
|
|
238
|
-
email_bcc:
|
|
239
|
-
email_sender_domain:
|
|
240
|
-
sms_from:
|
|
241
|
-
sms_media_urls:
|
|
242
|
-
filters:
|
|
243
|
-
custom_data:
|
|
244
|
-
huawei_badge_class:
|
|
245
|
-
huawei_badge_add_num:
|
|
246
|
-
huawei_badge_set_num:
|
|
247
|
-
huawei_category:
|
|
248
|
-
huawei_bi_tag:
|
|
249
|
-
send_after:
|
|
132
|
+
included_segments: nil,
|
|
133
|
+
excluded_segments: nil,
|
|
134
|
+
include_subscription_ids: nil,
|
|
135
|
+
include_email_tokens: nil,
|
|
136
|
+
email_to: nil,
|
|
137
|
+
include_phone_numbers: nil,
|
|
138
|
+
include_ios_tokens: nil,
|
|
139
|
+
include_wp_wns_uris: nil,
|
|
140
|
+
include_amazon_reg_ids: nil,
|
|
141
|
+
include_chrome_reg_ids: nil,
|
|
142
|
+
include_chrome_web_reg_ids: nil,
|
|
143
|
+
include_android_reg_ids: nil,
|
|
144
|
+
include_aliases: nil,
|
|
145
|
+
target_channel: nil,
|
|
146
|
+
id: nil,
|
|
147
|
+
value: nil,
|
|
148
|
+
name: nil,
|
|
149
|
+
aggregation: nil,
|
|
150
|
+
is_ios: nil,
|
|
151
|
+
is_android: nil,
|
|
152
|
+
is_huawei: nil,
|
|
153
|
+
is_any_web: nil,
|
|
154
|
+
is_chrome_web: nil,
|
|
155
|
+
is_firefox: nil,
|
|
156
|
+
is_safari: nil,
|
|
157
|
+
is_wp_wns: nil,
|
|
158
|
+
is_adm: nil,
|
|
159
|
+
is_chrome: nil,
|
|
160
|
+
app_id: nil,
|
|
161
|
+
external_id: nil,
|
|
162
|
+
idempotency_key: nil,
|
|
163
|
+
contents: nil,
|
|
164
|
+
headings: nil,
|
|
165
|
+
subtitle: nil,
|
|
166
|
+
data: nil,
|
|
167
|
+
huawei_msg_type: nil,
|
|
168
|
+
url: nil,
|
|
169
|
+
web_url: nil,
|
|
170
|
+
app_url: nil,
|
|
171
|
+
ios_attachments: nil,
|
|
172
|
+
template_id: nil,
|
|
173
|
+
content_available: nil,
|
|
174
|
+
mutable_content: nil,
|
|
175
|
+
target_content_identifier: nil,
|
|
176
|
+
big_picture: nil,
|
|
177
|
+
huawei_big_picture: nil,
|
|
178
|
+
adm_big_picture: nil,
|
|
179
|
+
chrome_big_picture: nil,
|
|
180
|
+
chrome_web_image: nil,
|
|
181
|
+
buttons: nil,
|
|
182
|
+
web_buttons: nil,
|
|
183
|
+
ios_category: nil,
|
|
184
|
+
android_channel_id: nil,
|
|
185
|
+
huawei_channel_id: nil,
|
|
186
|
+
existing_android_channel_id: nil,
|
|
187
|
+
huawei_existing_channel_id: nil,
|
|
188
|
+
android_background_layout: nil,
|
|
189
|
+
small_icon: nil,
|
|
190
|
+
huawei_small_icon: nil,
|
|
191
|
+
large_icon: nil,
|
|
192
|
+
huawei_large_icon: nil,
|
|
193
|
+
adm_small_icon: nil,
|
|
194
|
+
adm_large_icon: nil,
|
|
195
|
+
chrome_web_icon: nil,
|
|
196
|
+
chrome_web_badge: nil,
|
|
197
|
+
firefox_icon: nil,
|
|
198
|
+
chrome_icon: nil,
|
|
199
|
+
ios_sound: nil,
|
|
200
|
+
android_sound: nil,
|
|
201
|
+
huawei_sound: nil,
|
|
202
|
+
adm_sound: nil,
|
|
203
|
+
wp_wns_sound: nil,
|
|
204
|
+
android_led_color: nil,
|
|
205
|
+
huawei_led_color: nil,
|
|
206
|
+
android_accent_color: nil,
|
|
207
|
+
huawei_accent_color: nil,
|
|
208
|
+
android_visibility: nil,
|
|
209
|
+
huawei_visibility: nil,
|
|
210
|
+
ios_badge_type: nil,
|
|
211
|
+
ios_badge_count: nil,
|
|
212
|
+
collapse_id: nil,
|
|
213
|
+
web_push_topic: nil,
|
|
214
|
+
apns_alert: nil,
|
|
215
|
+
delayed_option: nil,
|
|
216
|
+
delivery_time_of_day: nil,
|
|
217
|
+
ttl: nil,
|
|
218
|
+
priority: nil,
|
|
219
|
+
apns_push_type_override: nil,
|
|
220
|
+
throttle_rate_per_minute: nil,
|
|
221
|
+
android_group: nil,
|
|
222
|
+
android_group_message: nil,
|
|
223
|
+
adm_group: nil,
|
|
224
|
+
adm_group_message: nil,
|
|
225
|
+
thread_id: nil,
|
|
226
|
+
summary_arg: nil,
|
|
227
|
+
summary_arg_count: nil,
|
|
228
|
+
ios_relevance_score: nil,
|
|
229
|
+
ios_interruption_level: nil,
|
|
230
|
+
email_subject: nil,
|
|
231
|
+
email_body: nil,
|
|
232
|
+
email_from_name: nil,
|
|
233
|
+
email_from_address: nil,
|
|
234
|
+
email_reply_to_address: nil,
|
|
235
|
+
email_preheader: nil,
|
|
236
|
+
disable_email_click_tracking: nil,
|
|
237
|
+
include_unsubscribed: nil,
|
|
238
|
+
email_bcc: nil,
|
|
239
|
+
email_sender_domain: nil,
|
|
240
|
+
sms_from: nil,
|
|
241
|
+
sms_media_urls: nil,
|
|
242
|
+
filters: nil,
|
|
243
|
+
custom_data: nil,
|
|
244
|
+
huawei_badge_class: nil,
|
|
245
|
+
huawei_badge_add_num: nil,
|
|
246
|
+
huawei_badge_set_num: nil,
|
|
247
|
+
huawei_category: nil,
|
|
248
|
+
huawei_bi_tag: nil,
|
|
249
|
+
send_after: nil
|
|
250
250
|
)
|
|
251
251
|
```
|
|
252
252
|
|
data/docs/NotificationAllOf.md
CHANGED
data/docs/NotificationSlice.md
CHANGED
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
require 'onesignal'
|
|
18
18
|
|
|
19
19
|
instance = OneSignal::NotificationSlice.new(
|
|
20
|
-
total_count:
|
|
21
|
-
offset:
|
|
22
|
-
limit:
|
|
23
|
-
time_offset:
|
|
24
|
-
next_time_offset:
|
|
25
|
-
notifications:
|
|
20
|
+
total_count: nil,
|
|
21
|
+
offset: nil,
|
|
22
|
+
limit: nil,
|
|
23
|
+
time_offset: nil,
|
|
24
|
+
next_time_offset: nil,
|
|
25
|
+
notifications: nil
|
|
26
26
|
)
|
|
27
27
|
```
|
|
28
28
|
|
data/docs/NotificationTarget.md
CHANGED
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
require 'onesignal'
|
|
26
26
|
|
|
27
27
|
instance = OneSignal::NotificationTarget.new(
|
|
28
|
-
included_segments:
|
|
29
|
-
excluded_segments:
|
|
30
|
-
include_subscription_ids:
|
|
31
|
-
include_email_tokens:
|
|
32
|
-
email_to:
|
|
33
|
-
include_phone_numbers:
|
|
34
|
-
include_ios_tokens:
|
|
35
|
-
include_wp_wns_uris:
|
|
36
|
-
include_amazon_reg_ids:
|
|
37
|
-
include_chrome_reg_ids:
|
|
38
|
-
include_chrome_web_reg_ids:
|
|
39
|
-
include_android_reg_ids:
|
|
40
|
-
include_aliases:
|
|
41
|
-
target_channel:
|
|
28
|
+
included_segments: nil,
|
|
29
|
+
excluded_segments: nil,
|
|
30
|
+
include_subscription_ids: nil,
|
|
31
|
+
include_email_tokens: nil,
|
|
32
|
+
email_to: nil,
|
|
33
|
+
include_phone_numbers: nil,
|
|
34
|
+
include_ios_tokens: nil,
|
|
35
|
+
include_wp_wns_uris: nil,
|
|
36
|
+
include_amazon_reg_ids: nil,
|
|
37
|
+
include_chrome_reg_ids: nil,
|
|
38
|
+
include_chrome_web_reg_ids: nil,
|
|
39
|
+
include_android_reg_ids: nil,
|
|
40
|
+
include_aliases: nil,
|
|
41
|
+
target_channel: nil
|
|
42
42
|
)
|
|
43
43
|
```
|
|
44
44
|
|