onesignal 2.2.1 → 5.1.0.pre.beta1
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/README.md +42 -67
- data/docs/BasicNotification.md +18 -18
- data/docs/BasicNotificationAllOf.md +9 -7
- data/docs/CreateNotificationSuccessResponse.md +1 -3
- data/docs/DefaultApi.md +364 -948
- data/docs/{ExportPlayersRequestBody.md → ExportSubscriptionsRequestBody.md} +2 -2
- data/docs/{ExportPlayersSuccessResponse.md → ExportSubscriptionsSuccessResponse.md} +2 -2
- data/docs/Filter.md +10 -2
- data/docs/{Notification200Errors.md → FilterExpression.md} +9 -9
- data/docs/GenericError.md +6 -2
- data/docs/{DeletePlayerSuccessResponse.md → GenericSuccessBoolResponse.md} +2 -2
- data/docs/{GetNotificationRequestBody.md → GetNotificationHistoryRequestBody.md} +2 -2
- data/docs/GetSegmentsSuccessResponse.md +24 -0
- data/docs/{StringMap.md → LanguageStringMap.md} +2 -2
- data/docs/Notification.md +18 -18
- data/docs/NotificationTarget.md +9 -11
- data/docs/NotificationWithMeta.md +18 -18
- data/docs/{InlineResponse202.md → PropertiesBody.md} +2 -2
- data/docs/PropertiesDeltas.md +2 -2
- data/docs/PropertiesObject.md +2 -2
- data/docs/Purchase.md +1 -1
- data/docs/RateLimitError.md +20 -0
- data/docs/Segment.md +1 -1
- data/docs/SegmentData.md +30 -0
- data/docs/{SubscriptionObject.md → Subscription.md} +6 -6
- data/docs/SubscriptionBody.md +18 -0
- data/docs/SubscriptionNotificationTarget.md +38 -0
- data/docs/TransferSubscriptionRequestBody.md +1 -1
- data/docs/UpdateLiveActivityRequest.md +14 -4
- data/docs/UpdateLiveActivitySuccessResponse.md +2 -4
- data/docs/User.md +3 -5
- data/docs/{InlineResponse200.md → UserIdentityBody.md} +3 -3
- data/docs/WebButton.md +24 -0
- data/lib/onesignal/api/default_api.rb +382 -890
- data/lib/onesignal/api_client.rb +2 -2
- data/lib/onesignal/api_error.rb +1 -1
- data/lib/onesignal/configuration.rb +5 -5
- data/lib/onesignal/models/app.rb +1 -1
- data/lib/onesignal/models/basic_notification.rb +49 -47
- data/lib/onesignal/models/basic_notification_all_of.rb +29 -17
- 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/create_notification_success_response.rb +5 -13
- 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_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/delivery_data.rb +1 -1
- data/lib/onesignal/models/export_events_success_response.rb +1 -1
- data/lib/onesignal/models/{export_players_request_body.rb → export_subscriptions_request_body.rb} +4 -4
- data/lib/onesignal/models/{export_players_success_response.rb → export_subscriptions_success_response.rb} +4 -4
- data/lib/onesignal/models/filter.rb +44 -14
- data/lib/onesignal/models/{notification200_errors.rb → filter_expression.rb} +4 -4
- data/lib/onesignal/models/generic_error.rb +26 -8
- data/lib/onesignal/models/{update_player_success_response.rb → generic_success_bool_response.rb} +4 -4
- data/lib/onesignal/models/{get_notification_request_body.rb → get_notification_history_request_body.rb} +4 -4
- data/lib/onesignal/models/{player_slice.rb → get_segments_success_response.rb} +16 -12
- data/lib/onesignal/models/{string_map.rb → language_string_map.rb} +4 -4
- data/lib/onesignal/models/notification.rb +49 -47
- 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 +24 -34
- data/lib/onesignal/models/notification_with_meta.rb +49 -47
- 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/{inline_response202.rb → properties_body.rb} +4 -4
- data/lib/onesignal/models/properties_deltas.rb +3 -3
- data/lib/onesignal/models/properties_object.rb +3 -3
- data/lib/onesignal/models/purchase.rb +2 -2
- data/lib/onesignal/models/{rate_limiter_error.rb → rate_limit_error.rb} +17 -8
- data/lib/onesignal/models/segment.rb +2 -2
- data/lib/onesignal/models/{begin_live_activity_request.rb → segment_data.rb} +69 -27
- data/lib/onesignal/models/segment_notification_target.rb +1 -1
- data/lib/onesignal/models/{subscription_object.rb → subscription.rb} +8 -8
- data/lib/onesignal/models/{inline_response201.rb → subscription_body.rb} +5 -5
- data/lib/onesignal/models/{player_notification_target.rb → subscription_notification_target.rb} +25 -35
- data/lib/onesignal/models/transfer_subscription_request_body.rb +26 -2
- data/lib/onesignal/models/update_live_activity_request.rb +59 -22
- data/lib/onesignal/models/update_live_activity_success_response.rb +8 -17
- data/lib/onesignal/models/update_user_request.rb +1 -1
- data/lib/onesignal/models/user.rb +6 -15
- data/lib/onesignal/models/{inline_response200.rb → user_identity_body.rb} +5 -5
- data/lib/onesignal/models/{create_player_success_response.rb → web_button.rb} +40 -17
- data/lib/onesignal/version.rb +2 -2
- data/lib/onesignal.rb +16 -34
- data/onesignal.gemspec +1 -1
- data/spec/api/default_api_spec.rb +82 -174
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_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 +13 -7
- data/spec/models/basic_notification_spec.rb +14 -14
- data/spec/models/button_spec.rb +1 -1
- data/spec/models/create_notification_success_response_spec.rb +1 -7
- 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_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/delivery_data_spec.rb +1 -1
- data/spec/models/export_events_success_response_spec.rb +1 -1
- data/spec/models/{export_players_request_body_spec.rb → export_subscriptions_request_body_spec.rb} +7 -7
- data/spec/models/{export_players_success_response_spec.rb → export_subscriptions_success_response_spec.rb} +7 -7
- data/spec/models/{notification200_errors_spec.rb → filter_expression_spec.rb} +3 -3
- data/spec/models/filter_spec.rb +25 -1
- data/spec/models/generic_error_spec.rb +13 -1
- data/spec/models/{delete_player_success_response_spec.rb → generic_success_bool_response_spec.rb} +7 -7
- data/spec/models/{get_notification_request_body_spec.rb → get_notification_history_request_body_spec.rb} +7 -7
- data/spec/models/{player_slice_spec.rb → get_segments_success_response_spec.rb} +8 -8
- data/spec/models/{string_map_spec.rb → language_string_map_spec.rb} +7 -7
- 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 +14 -14
- data/spec/models/notification_target_spec.rb +2 -8
- data/spec/models/notification_with_meta_all_of_spec.rb +1 -1
- data/spec/models/notification_with_meta_spec.rb +14 -14
- 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/{inline_response202_spec.rb → properties_body_spec.rb} +7 -7
- 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/{generic_error_errors_inner_spec.rb → rate_limit_error_spec.rb} +9 -9
- data/spec/models/{filter_expressions_spec.rb → segment_data_spec.rb} +24 -20
- data/spec/models/segment_notification_target_spec.rb +1 -1
- data/spec/models/segment_spec.rb +1 -1
- data/spec/models/{inline_response201_spec.rb → subscription_body_spec.rb} +7 -7
- data/spec/models/{player_notification_target_spec.rb → subscription_notification_target_spec.rb} +8 -14
- data/spec/models/{subscription_object_spec.rb → subscription_spec.rb} +7 -7
- data/spec/models/transfer_subscription_request_body_spec.rb +1 -1
- data/spec/models/update_live_activity_request_spec.rb +32 -6
- data/spec/models/update_live_activity_success_response_spec.rb +2 -8
- data/spec/models/update_user_request_spec.rb +1 -1
- data/spec/models/{user_identity_response_spec.rb → user_identity_body_spec.rb} +7 -7
- data/spec/models/user_spec.rb +1 -7
- data/spec/models/{create_player_success_response_spec.rb → web_button_spec.rb} +21 -9
- data/spec/spec_helper.rb +1 -1
- metadata +61 -131
- data/docs/BeginLiveActivityRequest.md +0 -20
- data/docs/CancelNotificationSuccessResponse.md +0 -18
- data/docs/CreatePlayerSuccessResponse.md +0 -20
- data/docs/CreateSubscriptionRequestBody.md +0 -20
- data/docs/DeletePlayerNotFoundResponse.md +0 -18
- data/docs/DeleteSegmentNotFoundResponse.md +0 -18
- data/docs/DeleteSegmentSuccessResponse.md +0 -18
- data/docs/FilterExpressions.md +0 -26
- data/docs/InlineResponse2003.md +0 -18
- data/docs/InlineResponse201.md +0 -18
- data/docs/InvalidIdentifierError.md +0 -20
- data/docs/Player.md +0 -70
- data/docs/PlayerNotificationTarget.md +0 -40
- data/docs/PlayerNotificationTargetIncludeAliases.md +0 -18
- data/docs/PlayerSlice.md +0 -24
- data/docs/UpdatePlayerSuccessResponse.md +0 -18
- data/docs/UpdatePlayerTagsRequestBody.md +0 -18
- data/docs/UpdatePlayerTagsSuccessResponse.md +0 -18
- data/docs/UpdateSubscriptionRequestBody.md +0 -18
- data/docs/UserIdentityRequestBody.md +0 -18
- data/docs/UserIdentityResponse.md +0 -18
- data/docs/UserSubscriptionOptions.md +0 -18
- data/lib/onesignal/models/cancel_notification_success_response.rb +0 -219
- data/lib/onesignal/models/create_subscription_request_body.rb +0 -228
- data/lib/onesignal/models/delete_player_not_found_response.rb +0 -219
- data/lib/onesignal/models/delete_player_success_response.rb +0 -219
- data/lib/onesignal/models/delete_segment_not_found_response.rb +0 -219
- data/lib/onesignal/models/delete_segment_success_response.rb +0 -219
- data/lib/onesignal/models/filter_expressions.rb +0 -336
- data/lib/onesignal/models/generic_error_errors_inner.rb +0 -228
- data/lib/onesignal/models/inline_response2003.rb +0 -221
- data/lib/onesignal/models/invalid_identifier_error.rb +0 -234
- data/lib/onesignal/models/player.rb +0 -494
- data/lib/onesignal/models/player_notification_target_include_aliases.rb +0 -221
- data/lib/onesignal/models/update_player_tags_request_body.rb +0 -220
- data/lib/onesignal/models/update_player_tags_success_response.rb +0 -219
- data/lib/onesignal/models/update_subscription_request_body.rb +0 -219
- data/lib/onesignal/models/user_identity_request_body.rb +0 -221
- data/lib/onesignal/models/user_identity_response.rb +0 -221
- data/lib/onesignal/models/user_subscription_options.rb +0 -219
- data/spec/models/begin_live_activity_request_spec.rb +0 -40
- data/spec/models/cancel_notification_success_response_spec.rb +0 -34
- data/spec/models/create_subscription_request_body_spec.rb +0 -40
- data/spec/models/delete_player_not_found_response_spec.rb +0 -34
- data/spec/models/delete_segment_not_found_response_spec.rb +0 -34
- data/spec/models/delete_segment_success_response_spec.rb +0 -34
- data/spec/models/inline_response2003_spec.rb +0 -34
- data/spec/models/inline_response200_spec.rb +0 -34
- data/spec/models/invalid_identifier_error_spec.rb +0 -40
- data/spec/models/player_notification_target_include_aliases_spec.rb +0 -34
- data/spec/models/player_spec.rb +0 -190
- data/spec/models/rate_limiter_error_spec.rb +0 -34
- data/spec/models/update_player_success_response_spec.rb +0 -34
- data/spec/models/update_player_tags_request_body_spec.rb +0 -34
- data/spec/models/update_player_tags_success_response_spec.rb +0 -34
- data/spec/models/update_subscription_request_body_spec.rb +0 -34
- data/spec/models/user_identity_request_body_spec.rb +0 -34
- data/spec/models/user_subscription_options_spec.rb +0 -34
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 5.1.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -32,28 +32,41 @@ describe 'DefaultApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
36
|
-
#
|
37
|
-
#
|
38
|
-
# @param app_id
|
39
|
-
# @param
|
40
|
-
# @param begin_live_activity_request
|
35
|
+
# unit tests for cancel_notification
|
36
|
+
# Stop a scheduled or currently outgoing notification
|
37
|
+
# Used to stop a scheduled or currently outgoing notification
|
38
|
+
# @param app_id
|
39
|
+
# @param notification_id
|
41
40
|
# @param [Hash] opts the optional parameters
|
42
|
-
# @return [
|
43
|
-
describe '
|
41
|
+
# @return [GenericSuccessBoolResponse]
|
42
|
+
describe 'cancel_notification test' do
|
44
43
|
it 'should work' do
|
45
44
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
46
45
|
end
|
47
46
|
end
|
48
47
|
|
49
|
-
# unit tests for
|
50
|
-
#
|
51
|
-
# Used to stop a scheduled or currently outgoing notification
|
48
|
+
# unit tests for create_alias
|
49
|
+
# Upserts one or more Aliases to an existing User identified by (:alias_label, :alias_id).
|
52
50
|
# @param app_id
|
53
|
-
# @param
|
51
|
+
# @param alias_label
|
52
|
+
# @param alias_id
|
53
|
+
# @param user_identity_body
|
54
54
|
# @param [Hash] opts the optional parameters
|
55
|
-
# @return [
|
56
|
-
describe '
|
55
|
+
# @return [UserIdentityBody]
|
56
|
+
describe 'create_alias test' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# unit tests for create_alias_by_subscription
|
63
|
+
# Upserts one or more Aliases for the User identified by :subscription_id.
|
64
|
+
# @param app_id
|
65
|
+
# @param subscription_id
|
66
|
+
# @param user_identity_body
|
67
|
+
# @param [Hash] opts the optional parameters
|
68
|
+
# @return [UserIdentityBody]
|
69
|
+
describe 'create_alias_by_subscription test' do
|
57
70
|
it 'should work' do
|
58
71
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
72
|
end
|
@@ -83,26 +96,14 @@ describe 'DefaultApi' do
|
|
83
96
|
end
|
84
97
|
end
|
85
98
|
|
86
|
-
# unit tests for
|
87
|
-
#
|
88
|
-
#
|
89
|
-
# @param player
|
90
|
-
# @param [Hash] opts the optional parameters
|
91
|
-
# @return [CreatePlayerSuccessResponse]
|
92
|
-
describe 'create_player test' do
|
93
|
-
it 'should work' do
|
94
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
95
|
-
end
|
96
|
-
end
|
97
|
-
|
98
|
-
# unit tests for create_segments
|
99
|
-
# Create Segments
|
100
|
-
# Create segments visible and usable in the dashboard and API - Required: OneSignal Paid Plan The Create Segment method is used when you want your server to programmatically create a segment instead of using the OneSignal Dashboard UI. Just like creating Segments from the dashboard you can pass in filters with multiple \"AND\" or \"OR\" operator's. 🚧 Does Not Update Segments This endpoint will only create segments, it does not edit or update currently created Segments. You will need to use the Delete Segments endpoint and re-create it with this endpoint to edit.
|
99
|
+
# unit tests for create_segment
|
100
|
+
# Create Segment
|
101
|
+
# Create a segment visible and usable in the dashboard and API - Required: OneSignal Paid Plan The Create Segment method is used when you want your server to programmatically create a segment instead of using the OneSignal Dashboard UI. Just like creating Segments from the dashboard you can pass in filters with multiple \"AND\" or \"OR\" operator's. 🚧 Does Not Update Segments This endpoint will only create segments, it does not edit or update currently created Segments. You will need to use the Delete Segment endpoint and re-create it with this endpoint to edit.
|
101
102
|
# @param app_id The OneSignal App ID for your app. Available in Keys & IDs.
|
102
103
|
# @param [Hash] opts the optional parameters
|
103
104
|
# @option opts [Segment] :segment
|
104
105
|
# @return [CreateSegmentSuccessResponse]
|
105
|
-
describe '
|
106
|
+
describe 'create_segment test' do
|
106
107
|
it 'should work' do
|
107
108
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
108
109
|
end
|
@@ -113,9 +114,9 @@ describe 'DefaultApi' do
|
|
113
114
|
# @param app_id
|
114
115
|
# @param alias_label
|
115
116
|
# @param alias_id
|
116
|
-
# @param
|
117
|
+
# @param subscription_body
|
117
118
|
# @param [Hash] opts the optional parameters
|
118
|
-
# @return [
|
119
|
+
# @return [SubscriptionBody]
|
119
120
|
describe 'create_subscription test' do
|
120
121
|
it 'should work' do
|
121
122
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -141,34 +142,21 @@ describe 'DefaultApi' do
|
|
141
142
|
# @param alias_id
|
142
143
|
# @param alias_label_to_delete
|
143
144
|
# @param [Hash] opts the optional parameters
|
144
|
-
# @return [
|
145
|
+
# @return [UserIdentityBody]
|
145
146
|
describe 'delete_alias test' do
|
146
147
|
it 'should work' do
|
147
148
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
148
149
|
end
|
149
150
|
end
|
150
151
|
|
151
|
-
# unit tests for
|
152
|
-
# Delete
|
153
|
-
# Delete
|
154
|
-
# @param app_id The OneSignal App ID for your app. Available in Keys & IDs.
|
155
|
-
# @param player_id The OneSignal player_id
|
156
|
-
# @param [Hash] opts the optional parameters
|
157
|
-
# @return [DeletePlayerSuccessResponse]
|
158
|
-
describe 'delete_player test' do
|
159
|
-
it 'should work' do
|
160
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
161
|
-
end
|
162
|
-
end
|
163
|
-
|
164
|
-
# unit tests for delete_segments
|
165
|
-
# Delete Segments
|
166
|
-
# Delete segments (not user devices) - Required: OneSignal Paid Plan You can delete a segment under your app by calling this API. You must provide an API key in the Authorization header that has admin access on the app. The segment_id can be found in the URL of the segment when viewing it in the dashboard.
|
152
|
+
# unit tests for delete_segment
|
153
|
+
# Delete Segment
|
154
|
+
# Delete a segment (not user devices) - Required: OneSignal Paid Plan You can delete a segment under your app by calling this API. You must provide an API key in the Authorization header that has admin access on the app. The segment_id can be found in the URL of the segment when viewing it in the dashboard.
|
167
155
|
# @param app_id The OneSignal App ID for your app. Available in Keys & IDs.
|
168
156
|
# @param segment_id The segment_id can be found in the URL of the segment when viewing it in the dashboard.
|
169
157
|
# @param [Hash] opts the optional parameters
|
170
|
-
# @return [
|
171
|
-
describe '
|
158
|
+
# @return [GenericSuccessBoolResponse]
|
159
|
+
describe 'delete_segment test' do
|
172
160
|
it 'should work' do
|
173
161
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
174
162
|
end
|
@@ -199,20 +187,6 @@ describe 'DefaultApi' do
|
|
199
187
|
end
|
200
188
|
end
|
201
189
|
|
202
|
-
# unit tests for end_live_activity
|
203
|
-
# Stop Live Activity
|
204
|
-
# Stops a Live Activity
|
205
|
-
# @param app_id The OneSignal App ID for your app. Available in Keys & IDs.
|
206
|
-
# @param activity_id Live Activity record ID
|
207
|
-
# @param subscription_id Subscription ID
|
208
|
-
# @param [Hash] opts the optional parameters
|
209
|
-
# @return [nil]
|
210
|
-
describe 'end_live_activity test' do
|
211
|
-
it 'should work' do
|
212
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
213
|
-
end
|
214
|
-
end
|
215
|
-
|
216
190
|
# unit tests for export_events
|
217
191
|
# Export CSV of Events
|
218
192
|
# Generate a compressed CSV report of all of the events data for a notification. This will return a URL immediately upon success but it may take several minutes for the CSV to become available at that URL depending on the volume of data. Only one export can be in-progress per OneSignal account at any given time.
|
@@ -226,52 +200,39 @@ describe 'DefaultApi' do
|
|
226
200
|
end
|
227
201
|
end
|
228
202
|
|
229
|
-
# unit tests for
|
230
|
-
# Export CSV of
|
203
|
+
# unit tests for export_subscriptions
|
204
|
+
# Export CSV of Subscriptions
|
231
205
|
# Generate a compressed CSV export of all of your current user data This method can be used to generate a compressed CSV export of all of your current user data. It is a much faster alternative than retrieving this data using the /players API endpoint. The file will be compressed using GZip. The file may take several minutes to generate depending on the number of users in your app. The URL generated will be available for 3 days and includes random v4 uuid as part of the resource name to be unguessable. 🚧 403 Error Responses You can test if it is complete by making a GET request to the csv_file_url value. This file may take time to generate depending on how many device records are being pulled. If the file is not ready, a 403 error will be returned. Otherwise the file itself will be returned. 🚧 Requires Authentication Key Requires your OneSignal App's REST API Key, available in Keys & IDs. 🚧 Concurrent Exports Only one concurrent export is allowed per OneSignal account. Please ensure you have successfully downloaded the .csv.gz file before exporting another app. CSV File Format: - Default Columns: | Field | Details | | --- | --- | | id | OneSignal Player Id | | identifier | Push Token | | session_count | Number of times they visited the app or site | language | Device language code | | timezone | Number of seconds away from UTC. Example: -28800 | | game_version | Version of your mobile app gathered from Android Studio versionCode in your App/build.gradle and iOS uses kCFBundleVersionKey in Xcode. | | device_os | Device Operating System Version. Example: 80 = Chrome 80, 9 = Android 9 | | device_type | Device Operating System Type | | device_model | Device Hardware String Code. Example: Mobile Web Subscribers will have `Linux armv` | | ad_id | Based on the Google Advertising Id for Android, identifierForVendor for iOS. OptedOut means user turned off Advertising tracking on the device. | | tags | Current OneSignal Data Tags on the device. | | last_active | Date and time the user last opened the mobile app or visited the site. | | playtime | Total amount of time in seconds the user had the mobile app open. | | amount_spent | Mobile only - amount spent in USD on In-App Purchases. | | created_at | Date and time the device record was created in OneSignal. Mobile - first time they opened the app with OneSignal SDK. Web - first time the user subscribed to the site. | | invalid_identifier | t = unsubscribed, f = subscibed | | badge_count | Current number of badges on the device | - Extra Columns: | Field | Details | | --- | --- | | external_user_id | Your User Id set on the device | | notification_types | Notification types | | location | Location points (Latitude and Longitude) set on the device. | | country | Country code | | rooted | Android device rooted or not | | ip | IP Address of the device if being tracked. See Handling Personal Data. | | web_auth | Web Only authorization key. | | web_p256 | Web Only p256 key. |
|
232
206
|
# @param app_id The app ID that you want to export devices from
|
233
207
|
# @param [Hash] opts the optional parameters
|
234
|
-
# @option opts [
|
235
|
-
# @return [
|
236
|
-
describe '
|
208
|
+
# @option opts [ExportSubscriptionsRequestBody] :export_subscriptions_request_body
|
209
|
+
# @return [ExportSubscriptionsSuccessResponse]
|
210
|
+
describe 'export_subscriptions test' do
|
237
211
|
it 'should work' do
|
238
212
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
239
213
|
end
|
240
214
|
end
|
241
215
|
|
242
|
-
# unit tests for
|
243
|
-
# Lists all Aliases for the User identified by :
|
244
|
-
# @param app_id
|
245
|
-
# @param subscription_id
|
246
|
-
# @param [Hash] opts the optional parameters
|
247
|
-
# @return [UserIdentityResponse]
|
248
|
-
describe 'fetch_aliases test' do
|
249
|
-
it 'should work' do
|
250
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
251
|
-
end
|
252
|
-
end
|
253
|
-
|
254
|
-
# unit tests for fetch_user
|
255
|
-
# Returns the User’s properties, Aliases, and Subscriptions.
|
216
|
+
# unit tests for get_aliases
|
217
|
+
# Lists all Aliases for the User identified by (:alias_label, :alias_id).
|
256
218
|
# @param app_id
|
257
219
|
# @param alias_label
|
258
220
|
# @param alias_id
|
259
221
|
# @param [Hash] opts the optional parameters
|
260
|
-
# @return [
|
261
|
-
describe '
|
222
|
+
# @return [UserIdentityBody]
|
223
|
+
describe 'get_aliases test' do
|
262
224
|
it 'should work' do
|
263
225
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
264
226
|
end
|
265
227
|
end
|
266
228
|
|
267
|
-
# unit tests for
|
268
|
-
# Lists all Aliases for the User identified by
|
229
|
+
# unit tests for get_aliases_by_subscription
|
230
|
+
# Lists all Aliases for the User identified by :subscription_id.
|
269
231
|
# @param app_id
|
270
|
-
# @param
|
271
|
-
# @param alias_id
|
232
|
+
# @param subscription_id
|
272
233
|
# @param [Hash] opts the optional parameters
|
273
|
-
# @return [
|
274
|
-
describe '
|
234
|
+
# @return [UserIdentityBody]
|
235
|
+
describe 'get_aliases_by_subscription test' do
|
275
236
|
it 'should work' do
|
276
237
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
277
238
|
end
|
@@ -300,18 +261,6 @@ describe 'DefaultApi' do
|
|
300
261
|
end
|
301
262
|
end
|
302
263
|
|
303
|
-
# unit tests for get_eligible_iams
|
304
|
-
# Manifest of In-App Messages the Subscription is eligible to display by the SDK.
|
305
|
-
# @param app_id
|
306
|
-
# @param subscription_id
|
307
|
-
# @param [Hash] opts the optional parameters
|
308
|
-
# @return [InlineResponse2003]
|
309
|
-
describe 'get_eligible_iams test' do
|
310
|
-
it 'should work' do
|
311
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
312
|
-
end
|
313
|
-
end
|
314
|
-
|
315
264
|
# unit tests for get_notification
|
316
265
|
# View notification
|
317
266
|
# View the details of a single notification and outcomes associated with it
|
@@ -329,7 +278,7 @@ describe 'DefaultApi' do
|
|
329
278
|
# Notification History
|
330
279
|
# -> View the devices sent a message - OneSignal Paid Plan Required This method will return all devices that were sent the given notification_id of an Email or Push Notification if used within 7 days of the date sent. After 7 days of the sending date, the message history data will be unavailable. After a successful response is received, the destination url may be polled until the file becomes available. Most exports are done in ~1-3 minutes, so setting a poll interval of 10 seconds should be adequate. For use cases that are not meant to be consumed by a script, an email will be sent to the supplied email address. 🚧 Requirements A OneSignal Paid Plan. Turn on Send History via OneSignal API in Settings -> Analytics. Cannot get data before this was turned on. Must be called within 7 days after sending the message. Messages targeting under 1000 recipients will not have \"sent\" events recorded, but will show \"clicked\" events. Requires your OneSignal App's REST API Key, available in Keys & IDs.
|
331
280
|
# @param notification_id The \"id\" of the message found in the Notification object
|
332
|
-
# @param
|
281
|
+
# @param get_notification_history_request_body
|
333
282
|
# @param [Hash] opts the optional parameters
|
334
283
|
# @return [NotificationHistorySuccessResponse]
|
335
284
|
describe 'get_notification_history test' do
|
@@ -370,69 +319,55 @@ describe 'DefaultApi' do
|
|
370
319
|
end
|
371
320
|
end
|
372
321
|
|
373
|
-
# unit tests for
|
374
|
-
#
|
375
|
-
#
|
376
|
-
# @param app_id
|
377
|
-
# @param player_id Player's OneSignal ID
|
378
|
-
# @param [Hash] opts the optional parameters
|
379
|
-
# @option opts [String] :email_auth_hash Email - Only required if you have enabled Identity Verification and device_type is email (11).
|
380
|
-
# @return [Player]
|
381
|
-
describe 'get_player test' do
|
382
|
-
it 'should work' do
|
383
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
384
|
-
end
|
385
|
-
end
|
386
|
-
|
387
|
-
# unit tests for get_players
|
388
|
-
# View devices
|
389
|
-
# View the details of multiple devices in one of your OneSignal apps Unavailable for Apps Over 80,000 Users For performance reasons, this method is not available for larger apps. Larger apps should use the CSV export API endpoint, which is much more performant.
|
390
|
-
# @param app_id The app ID that you want to view players from
|
322
|
+
# unit tests for get_segments
|
323
|
+
# Get Segments
|
324
|
+
# Returns an array of segments from an app.
|
325
|
+
# @param app_id The OneSignal App ID for your app. Available in Keys & IDs.
|
391
326
|
# @param [Hash] opts the optional parameters
|
392
|
-
# @option opts [Integer] :
|
393
|
-
# @option opts [Integer] :
|
394
|
-
# @return [
|
395
|
-
describe '
|
327
|
+
# @option opts [Integer] :offset Segments are listed in ascending order of created_at date. offset will omit that number of segments from the beginning of the list. Eg offset 5, will remove the 5 earliest created Segments.
|
328
|
+
# @option opts [Integer] :limit The amount of Segments in the response. Maximum 300.
|
329
|
+
# @return [GetSegmentsSuccessResponse]
|
330
|
+
describe 'get_segments test' do
|
396
331
|
it 'should work' do
|
397
332
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
398
333
|
end
|
399
334
|
end
|
400
335
|
|
401
|
-
# unit tests for
|
402
|
-
#
|
336
|
+
# unit tests for get_user
|
337
|
+
# Returns the User’s properties, Aliases, and Subscriptions.
|
403
338
|
# @param app_id
|
404
339
|
# @param alias_label
|
405
340
|
# @param alias_id
|
406
|
-
# @param user_identity_request_body
|
407
341
|
# @param [Hash] opts the optional parameters
|
408
|
-
# @return [
|
409
|
-
describe '
|
342
|
+
# @return [User]
|
343
|
+
describe 'get_user test' do
|
410
344
|
it 'should work' do
|
411
345
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
412
346
|
end
|
413
347
|
end
|
414
348
|
|
415
|
-
# unit tests for
|
416
|
-
#
|
349
|
+
# unit tests for transfer_subscription
|
350
|
+
# Transfers this Subscription to the User identified by the identity in the payload.
|
417
351
|
# @param app_id
|
418
352
|
# @param subscription_id
|
419
|
-
# @param
|
353
|
+
# @param transfer_subscription_request_body
|
420
354
|
# @param [Hash] opts the optional parameters
|
421
|
-
# @return [
|
422
|
-
describe '
|
355
|
+
# @return [UserIdentityBody]
|
356
|
+
describe 'transfer_subscription test' do
|
423
357
|
it 'should work' do
|
424
358
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
425
359
|
end
|
426
360
|
end
|
427
361
|
|
428
|
-
# unit tests for
|
429
|
-
#
|
430
|
-
#
|
431
|
-
# @param
|
432
|
-
# @param
|
362
|
+
# unit tests for unsubscribe_email_with_token
|
363
|
+
# Unsubscribe with token
|
364
|
+
# Unsubscribe an email with a token when using your own custom email unsubscribe landing page
|
365
|
+
# @param app_id The OneSignal App ID for your app. Available in Keys & IDs.
|
366
|
+
# @param notification_id The id of the message found in the creation notification POST response, View Notifications GET response, or URL within the Message Report.
|
367
|
+
# @param token The unsubscribe token that is generated via liquid syntax in {{subscription.unsubscribe_token}} when personalizing an email.
|
433
368
|
# @param [Hash] opts the optional parameters
|
434
|
-
# @return [
|
435
|
-
describe '
|
369
|
+
# @return [GenericSuccessBoolResponse]
|
370
|
+
describe 'unsubscribe_email_with_token test' do
|
436
371
|
it 'should work' do
|
437
372
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
438
373
|
end
|
@@ -465,38 +400,11 @@ describe 'DefaultApi' do
|
|
465
400
|
end
|
466
401
|
end
|
467
402
|
|
468
|
-
# unit tests for update_player
|
469
|
-
# Edit device
|
470
|
-
# Update an existing device in one of your OneSignal apps
|
471
|
-
# @param player_id Player's OneSignal ID
|
472
|
-
# @param player
|
473
|
-
# @param [Hash] opts the optional parameters
|
474
|
-
# @return [UpdatePlayerSuccessResponse]
|
475
|
-
describe 'update_player test' do
|
476
|
-
it 'should work' do
|
477
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
478
|
-
end
|
479
|
-
end
|
480
|
-
|
481
|
-
# unit tests for update_player_tags
|
482
|
-
# Edit tags with external user id
|
483
|
-
# Update an existing device's tags in one of your OneSignal apps using the External User ID. Warning - Android SDK Data Synchronization Tags added through the Android SDK tagging methods may not update if using the API to change or update the same tag. For example, if you use SDK method sendTag(\"key\", \"value1\") then update the tag value to \"value2\" with this API endpoint. You will not be able to set the value back to \"value1\" through the SDK, you will need to change it to something different through the SDK to be reset. Recommendations if using this Endpoint on Android Mobile Apps: 1 - Do not use the same tag keys for SDK and API updates 2 - If you want to use the same key for both SDK and API updates, call the SDK getTags method first to update the device's tags. This is only applicable on the Android Mobile App SDKs. 📘 Deleting Tags To delete a tag, include its key and set its value to blank. Omitting a key/value will not delete it. For example, if I wanted to delete two existing tags rank and category while simultaneously adding a new tag class, the tags JSON would look like the following: \"tags\": { \"rank\": \"\", \"category\": \"\", \"class\": \"my_new_value\" }
|
484
|
-
# @param app_id The OneSignal App ID the user record is found under.
|
485
|
-
# @param external_user_id The External User ID mapped to teh device record in OneSignal. Must be actively set on the device to be updated.
|
486
|
-
# @param [Hash] opts the optional parameters
|
487
|
-
# @option opts [UpdatePlayerTagsRequestBody] :update_player_tags_request_body
|
488
|
-
# @return [UpdatePlayerTagsSuccessResponse]
|
489
|
-
describe 'update_player_tags test' do
|
490
|
-
it 'should work' do
|
491
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
492
|
-
end
|
493
|
-
end
|
494
|
-
|
495
403
|
# unit tests for update_subscription
|
496
404
|
# Updates an existing Subscription’s properties.
|
497
405
|
# @param app_id
|
498
406
|
# @param subscription_id
|
499
|
-
# @param
|
407
|
+
# @param subscription_body
|
500
408
|
# @param [Hash] opts the optional parameters
|
501
409
|
# @return [nil]
|
502
410
|
describe 'update_subscription test' do
|
@@ -512,7 +420,7 @@ describe 'DefaultApi' do
|
|
512
420
|
# @param alias_id
|
513
421
|
# @param update_user_request
|
514
422
|
# @param [Hash] opts the optional parameters
|
515
|
-
# @return [
|
423
|
+
# @return [PropertiesBody]
|
516
424
|
describe 'update_user test' do
|
517
425
|
it 'should work' do
|
518
426
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/api_client_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 5.1.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
data/spec/configuration_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 5.1.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
data/spec/models/app_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 5.1.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 5.1.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 5.1.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -113,12 +113,6 @@ describe OneSignal::BasicNotificationAllOf do
|
|
113
113
|
end
|
114
114
|
end
|
115
115
|
|
116
|
-
describe 'test attribute "channel_for_external_user_ids"' do
|
117
|
-
it 'should work' do
|
118
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
119
|
-
end
|
120
|
-
end
|
121
|
-
|
122
116
|
describe 'test attribute "app_id"' do
|
123
117
|
it 'should work' do
|
124
118
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -527,6 +521,18 @@ describe OneSignal::BasicNotificationAllOf do
|
|
527
521
|
end
|
528
522
|
end
|
529
523
|
|
524
|
+
describe 'test attribute "ios_relevance_score"' do
|
525
|
+
it 'should work' do
|
526
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
527
|
+
end
|
528
|
+
end
|
529
|
+
|
530
|
+
describe 'test attribute "ios_interruption_level"' do
|
531
|
+
it 'should work' do
|
532
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
533
|
+
end
|
534
|
+
end
|
535
|
+
|
530
536
|
describe 'test attribute "email_subject"' do
|
531
537
|
it 'should work' do
|
532
538
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 5.1.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -37,13 +37,7 @@ describe OneSignal::BasicNotification do
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
-
describe 'test attribute "
|
41
|
-
it 'should work' do
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
describe 'test attribute "include_external_user_ids"' do
|
40
|
+
describe 'test attribute "include_subscription_ids"' do
|
47
41
|
it 'should work' do
|
48
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
43
|
end
|
@@ -201,12 +195,6 @@ describe OneSignal::BasicNotification do
|
|
201
195
|
end
|
202
196
|
end
|
203
197
|
|
204
|
-
describe 'test attribute "channel_for_external_user_ids"' do
|
205
|
-
it 'should work' do
|
206
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
207
|
-
end
|
208
|
-
end
|
209
|
-
|
210
198
|
describe 'test attribute "app_id"' do
|
211
199
|
it 'should work' do
|
212
200
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -615,6 +603,18 @@ describe OneSignal::BasicNotification do
|
|
615
603
|
end
|
616
604
|
end
|
617
605
|
|
606
|
+
describe 'test attribute "ios_relevance_score"' do
|
607
|
+
it 'should work' do
|
608
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
612
|
+
describe 'test attribute "ios_interruption_level"' do
|
613
|
+
it 'should work' do
|
614
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
615
|
+
end
|
616
|
+
end
|
617
|
+
|
618
618
|
describe 'test attribute "email_subject"' do
|
619
619
|
it 'should work' do
|
620
620
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/button_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 5.1.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 5.1.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -31,12 +31,6 @@ describe OneSignal::CreateNotificationSuccessResponse do
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
describe 'test attribute "recipients"' do
|
35
|
-
it 'should work' do
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
34
|
describe 'test attribute "external_id"' do
|
41
35
|
it 'should work' do
|
42
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 5.1.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 5.1.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 5.1.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 5.1.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 5.1.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 5.1.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|