From bf961a3e2b8e08ce670081629c298d0db6e53342 Mon Sep 17 00:00:00 2001 From: OneSignal Date: Wed, 17 Jun 2026 21:19:41 +0000 Subject: [PATCH] feat: add v5.7.0 package updates --- README.md | 6 +- docs/DefaultApi.md | 134 +++++++++++++++++- lib/onesignal.rb | 3 +- lib/onesignal/api/default_api.rb | 2 +- lib/onesignal/api_client.rb | 4 +- lib/onesignal/api_error.rb | 51 ++++++- lib/onesignal/configuration.rb | 2 +- lib/onesignal/errors.rb | 23 +++ lib/onesignal/models/api_key_token.rb | 2 +- .../models/api_key_tokens_list_response.rb | 2 +- lib/onesignal/models/app.rb | 2 +- lib/onesignal/models/basic_notification.rb | 2 +- .../models/basic_notification_all_of.rb | 2 +- ...cation_all_of_android_background_layout.rb | 2 +- lib/onesignal/models/button.rb | 2 +- lib/onesignal/models/copy_template_request.rb | 2 +- .../models/create_api_key_request.rb | 2 +- .../models/create_api_key_response.rb | 2 +- .../create_notification_success_response.rb | 2 +- .../create_segment_conflict_response.rb | 2 +- .../models/create_segment_success_response.rb | 2 +- .../models/create_template_request.rb | 2 +- .../models/create_user_conflict_response.rb | 2 +- ...ate_user_conflict_response_errors_inner.rb | 2 +- ...ser_conflict_response_errors_items_meta.rb | 2 +- lib/onesignal/models/custom_event.rb | 2 +- lib/onesignal/models/custom_events_request.rb | 2 +- lib/onesignal/models/delivery_data.rb | 2 +- .../models/export_events_success_response.rb | 2 +- .../export_subscriptions_request_body.rb | 2 +- .../export_subscriptions_success_response.rb | 2 +- lib/onesignal/models/filter.rb | 2 +- lib/onesignal/models/filter_expression.rb | 2 +- lib/onesignal/models/generic_error.rb | 2 +- .../models/generic_success_bool_response.rb | 2 +- .../get_notification_history_request_body.rb | 2 +- .../models/get_segments_success_response.rb | 2 +- lib/onesignal/models/language_string_map.rb | 2 +- lib/onesignal/models/notification.rb | 2 +- lib/onesignal/models/notification_all_of.rb | 2 +- .../notification_history_success_response.rb | 2 +- lib/onesignal/models/notification_slice.rb | 2 +- lib/onesignal/models/notification_target.rb | 2 +- .../models/notification_with_meta.rb | 2 +- .../models/notification_with_meta_all_of.rb | 2 +- lib/onesignal/models/operator.rb | 2 +- lib/onesignal/models/outcome_data.rb | 2 +- lib/onesignal/models/outcomes_data.rb | 2 +- .../models/platform_delivery_data.rb | 2 +- .../platform_delivery_data_email_all_of.rb | 2 +- .../platform_delivery_data_sms_all_of.rb | 2 +- lib/onesignal/models/properties_body.rb | 2 +- lib/onesignal/models/properties_deltas.rb | 2 +- lib/onesignal/models/properties_object.rb | 2 +- lib/onesignal/models/purchase.rb | 2 +- lib/onesignal/models/rate_limit_error.rb | 2 +- lib/onesignal/models/segment.rb | 2 +- lib/onesignal/models/segment_data.rb | 2 +- .../models/segment_notification_target.rb | 2 +- .../models/start_live_activity_request.rb | 2 +- .../start_live_activity_success_response.rb | 2 +- lib/onesignal/models/subscription.rb | 2 +- lib/onesignal/models/subscription_body.rb | 2 +- .../subscription_notification_target.rb | 2 +- lib/onesignal/models/template_resource.rb | 2 +- .../models/templates_list_response.rb | 2 +- .../transfer_subscription_request_body.rb | 2 +- .../models/update_api_key_request.rb | 2 +- .../models/update_live_activity_request.rb | 2 +- .../update_live_activity_success_response.rb | 2 +- .../models/update_template_request.rb | 2 +- lib/onesignal/models/update_user_request.rb | 2 +- lib/onesignal/models/user.rb | 2 +- lib/onesignal/models/user_identity_body.rb | 2 +- lib/onesignal/models/web_button.rb | 2 +- lib/onesignal/version.rb | 4 +- onesignal.gemspec | 2 +- spec/api/default_api_spec.rb | 2 +- spec/api_client_spec.rb | 2 +- spec/configuration_spec.rb | 2 +- spec/models/api_key_token_spec.rb | 2 +- .../api_key_tokens_list_response_spec.rb | 2 +- spec/models/app_spec.rb | 2 +- ...n_all_of_android_background_layout_spec.rb | 2 +- spec/models/basic_notification_all_of_spec.rb | 2 +- spec/models/basic_notification_spec.rb | 2 +- spec/models/button_spec.rb | 2 +- spec/models/copy_template_request_spec.rb | 2 +- spec/models/create_api_key_request_spec.rb | 2 +- spec/models/create_api_key_response_spec.rb | 2 +- ...eate_notification_success_response_spec.rb | 2 +- .../create_segment_conflict_response_spec.rb | 2 +- .../create_segment_success_response_spec.rb | 2 +- spec/models/create_template_request_spec.rb | 2 +- ...ser_conflict_response_errors_inner_spec.rb | 2 +- ...onflict_response_errors_items_meta_spec.rb | 2 +- .../create_user_conflict_response_spec.rb | 2 +- spec/models/custom_event_spec.rb | 2 +- spec/models/custom_events_request_spec.rb | 2 +- spec/models/delivery_data_spec.rb | 2 +- .../export_events_success_response_spec.rb | 2 +- .../export_subscriptions_request_body_spec.rb | 2 +- ...ort_subscriptions_success_response_spec.rb | 2 +- spec/models/filter_expression_spec.rb | 2 +- spec/models/filter_spec.rb | 2 +- spec/models/generic_error_spec.rb | 2 +- .../generic_success_bool_response_spec.rb | 2 +- ..._notification_history_request_body_spec.rb | 2 +- .../get_segments_success_response_spec.rb | 2 +- spec/models/language_string_map_spec.rb | 2 +- spec/models/notification_all_of_spec.rb | 2 +- ...ification_history_success_response_spec.rb | 2 +- spec/models/notification_slice_spec.rb | 2 +- spec/models/notification_spec.rb | 2 +- spec/models/notification_target_spec.rb | 2 +- .../notification_with_meta_all_of_spec.rb | 2 +- spec/models/notification_with_meta_spec.rb | 2 +- spec/models/operator_spec.rb | 2 +- spec/models/outcome_data_spec.rb | 2 +- spec/models/outcomes_data_spec.rb | 2 +- ...latform_delivery_data_email_all_of_spec.rb | 2 +- .../platform_delivery_data_sms_all_of_spec.rb | 2 +- spec/models/platform_delivery_data_spec.rb | 2 +- spec/models/properties_body_spec.rb | 2 +- spec/models/properties_deltas_spec.rb | 2 +- spec/models/properties_object_spec.rb | 2 +- spec/models/purchase_spec.rb | 2 +- spec/models/rate_limit_error_spec.rb | 2 +- spec/models/segment_data_spec.rb | 2 +- .../segment_notification_target_spec.rb | 2 +- spec/models/segment_spec.rb | 2 +- .../start_live_activity_request_spec.rb | 2 +- ...art_live_activity_success_response_spec.rb | 2 +- spec/models/subscription_body_spec.rb | 2 +- .../subscription_notification_target_spec.rb | 2 +- spec/models/subscription_spec.rb | 2 +- spec/models/template_resource_spec.rb | 2 +- spec/models/templates_list_response_spec.rb | 2 +- ...transfer_subscription_request_body_spec.rb | 2 +- spec/models/update_api_key_request_spec.rb | 2 +- .../update_live_activity_request_spec.rb | 2 +- ...ate_live_activity_success_response_spec.rb | 2 +- spec/models/update_template_request_spec.rb | 2 +- spec/models/update_user_request_spec.rb | 2 +- spec/models/user_identity_body_spec.rb | 2 +- spec/models/user_spec.rb | 2 +- spec/models/web_button_spec.rb | 2 +- spec/spec_helper.rb | 2 +- 148 files changed, 356 insertions(+), 151 deletions(-) create mode 100644 lib/onesignal/errors.rb diff --git a/README.md b/README.md index 410701d..ed57364 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,15 @@ OneSignal - the Ruby gem for OneSignal A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -- API version: 5.6.0 -- Package version: 5.6.0 +- API version: 5.7.0 +- Package version: 5.7.0 ## Installation Add to your `Gemfile`: ```ruby -gem 'onesignal', '~> 5.6.0' +gem 'onesignal', '~> 5.7.0' ``` Then run `bundle install`. diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index 35b944a..36032a8 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -63,7 +63,7 @@ Every operation requires either a **REST API Key** (App-scoped, used by ~77% of ### Error handling -When a request fails, the SDK raises `OneSignal::ApiError`. The HTTP status code is `e.code` (Integer); the parsed error body is `e.response_body` (String — the raw JSON envelope). Response headers are available via `e.response_headers`. Most envelopes match `{ "errors": ["..."] }` (an array of strings) but a few endpoints return `{ "errors": [{"code": ..., "title": ..., "meta": {...}}] }` (an array of structured error objects — used by `POST /apps/{app_id}/users` 409 conflict, see `CreateUserConflictResponse`), `{ "errors": "..." }` (string), or `{ "success": false }` (no `errors` field at all). Robust error-handling code should tolerate all four shapes. +When a request fails, the SDK raises `OneSignal::ApiError`. The HTTP status code is `e.code` (Integer); the parsed error body is `e.response_body` (String — the raw JSON envelope). Response headers are available via `e.response_headers`. Most envelopes match `{ "errors": ["..."] }` (an array of strings) but a few endpoints return `{ "errors": [{"code": ..., "title": ..., "meta": {...}}] }` (an array of structured error objects — used by `POST /apps/{app_id}/users` 409 conflict, see `CreateUserConflictResponse`), `{ "errors": "..." }` (string), or `{ "success": false }` (no `errors` field at all). Robust error-handling code should tolerate all four shapes. The `e.error_messages` method does this for you, normalizing every shape to a flat `Array` (empty when the body carries no `errors`). ### Polymorphic 200 from POST /notifications @@ -108,6 +108,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->cancel_notification: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -184,6 +187,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->copy_template_to_app: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -262,6 +268,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->create_alias: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -340,6 +349,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->create_alias_by_subscription: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -416,6 +428,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->create_api_key: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -490,6 +505,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->create_app: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -564,6 +582,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->create_custom_events: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -661,6 +682,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->create_notification: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -737,6 +761,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->create_segment: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -814,6 +841,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->create_subscription: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -890,6 +920,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->create_template: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -964,6 +997,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->create_user: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -1041,6 +1077,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->delete_alias: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -1118,6 +1157,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->delete_api_key: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -1193,6 +1235,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->delete_segment: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -1267,6 +1312,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->delete_subscription: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -1342,6 +1390,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->delete_template: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -1417,6 +1468,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->delete_user: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -1493,6 +1547,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->export_events: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -1570,6 +1627,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->export_subscriptions: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -1646,6 +1706,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->get_aliases: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -1722,6 +1785,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->get_aliases_by_subscription: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -1796,6 +1862,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->get_app: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -1868,6 +1937,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->get_apps: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -1940,6 +2012,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->get_notification: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -2015,6 +2090,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->get_notification_history: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -2094,6 +2172,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->get_notifications: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -2177,6 +2258,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->get_outcomes: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -2259,6 +2343,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->get_segments: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -2336,6 +2423,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->get_user: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -2412,6 +2502,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->rotate_api_key: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -2488,6 +2581,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->start_live_activity: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -2565,6 +2661,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->transfer_subscription: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -2642,6 +2741,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->unsubscribe_email_with_token: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -2719,6 +2821,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->update_api_key: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -2795,6 +2900,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->update_app: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -2871,6 +2979,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->update_live_activity: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -2947,6 +3058,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->update_subscription: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -3025,6 +3139,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->update_subscription_by_token: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -3103,6 +3220,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->update_template: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -3181,6 +3301,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->update_user: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -3257,6 +3380,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->view_api_keys: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -3331,6 +3457,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->view_template: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` @@ -3410,6 +3539,9 @@ begin rescue OneSignal::ApiError => e puts "Error when calling DefaultApi->view_templates: #{e}" puts "Status Code: #{e.code}" + # `e.error_messages` flattens any error-envelope shape to an Array; + # the raw body remains on `e.response_body`. + puts "Error Messages: #{e.error_messages}" puts "Response Body: #{e.response_body}" end ``` diff --git a/lib/onesignal.rb b/lib/onesignal.rb index b5de56f..2dbf26f 100644 --- a/lib/onesignal.rb +++ b/lib/onesignal.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -105,3 +105,4 @@ def configure end end end +require 'onesignal/errors' diff --git a/lib/onesignal/api/default_api.rb b/lib/onesignal/api/default_api.rb index 62ffe3a..7e9d76e 100644 --- a/lib/onesignal/api/default_api.rb +++ b/lib/onesignal/api/default_api.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/api_client.rb b/lib/onesignal/api_client.rb index 06c2724..ec26174 100644 --- a/lib/onesignal/api_client.rb +++ b/lib/onesignal/api_client.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -90,7 +90,7 @@ def build_request(http_method, path, opts = {}) url = build_request_url(path, opts) http_method = http_method.to_sym.downcase - opts[:header_params]['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-ruby, version=5.6.0' + opts[:header_params]['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-ruby, version=5.7.0' header_params = @default_headers.merge(opts[:header_params] || {}) query_params = opts[:query_params] || {} form_params = opts[:form_params] || {} diff --git a/lib/onesignal/api_error.rb b/lib/onesignal/api_error.rb index 8ecfc14..77b731c 100644 --- a/lib/onesignal/api_error.rb +++ b/lib/onesignal/api_error.rb @@ -3,13 +3,15 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT =end +require 'json' + module OneSignal class ApiError < StandardError attr_reader :code, :response_headers, :response_body @@ -53,5 +55,52 @@ def message msg end + + # The error messages carried by the response body, normalized to a flat + # Array regardless of which envelope shape the API returned + # (`{ errors: "..." }`, `{ errors: ["..."] }`, `{ errors: [{ code:, title: }] }`, + # or an object map such as `{ errors: { invalid_aliases: {...} } }`, surfaced + # as `": "` entries). Returns an empty array when the body is not + # a recognizable error envelope. The raw body remains on +response_body+. + # + # @return [Array] + def error_messages + parsed = if response_body.is_a?(String) + begin + JSON.parse(response_body) + rescue JSON::ParserError, TypeError + nil + end + else + response_body + end + return [] unless parsed.is_a?(Hash) + + errors = parsed['errors'] || parsed[:errors] + case errors + when String + [errors] + when Array + errors.map do |e| + if e.is_a?(String) + e + elsif e.is_a?(Hash) + title = e['title'] || e[:title] + title = nil if title == '' + title || e['code'] || e[:code] + end + end.compact + when Hash + # Object-shaped envelopes (e.g. { invalid_aliases: {...} }) carry data + # under arbitrary keys; surface each so it isn't silently dropped. Key + # order is unspecified, so sort for deterministic output. + errors.map do |key, value| + rendered = value.is_a?(String) ? value : value.to_json + "#{key}: #{rendered}" + end.sort + else + [] + end + end end end diff --git a/lib/onesignal/configuration.rb b/lib/onesignal/configuration.rb index f775448..17ad3b1 100644 --- a/lib/onesignal/configuration.rb +++ b/lib/onesignal/configuration.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/errors.rb b/lib/onesignal/errors.rb new file mode 100644 index 0000000..9e8a3cd --- /dev/null +++ b/lib/onesignal/errors.rb @@ -0,0 +1,23 @@ +# Generated from inputs/api/error-catalog.json. Do not edit by hand. + +module OneSignal + # Sentinel error message strings the OneSignal API can return. Each + # constant equals the literal message the server emits, so you can test + # membership against ApiError#error_messages (e.g. NO_TARGETING_SPECIFIED). + # + # Note: 200-status sentinels such as NO_SUBSCRIBERS arrive on a successful + # response, not via the exception accessor — read the response's errors + # field for those. + module Errors + # HTTP 403 | retryable: no | emitted by: any API-key-authenticated endpoint (REST or Organization key) | note: Generic auth-failure message the public api.onesignal.com edge returns for any invalid or mismatched key — REST or Organization — so a single sentinel covers both. Supersedes the Rails-monolith INVALID_REST_API_KEY / INVALID_USER_AUTH_KEY strings, which the public host no longer returns verbatim. Note the double space after 'denied.' + INVALID_API_KEY = 'Access denied. Please include an \'Authorization: ...\' header with a valid API key (https://documentation.onesignal.com/docs/en/keys-and-ids#api-keys).'.freeze + # HTTP 400, 404 | retryable: no | emitted by: POST /notifications/{id}/history, POST /notifications/{id}/messages, GET /notifications/{id} (export) | note: Verified live 2026-06-16: GET /notifications/{bogus-uuid} returns 404 with this exact message. + NOTIFICATION_NOT_FOUND = 'Notification not found'.freeze + # HTTP 200 | retryable: no | emitted by: POST /notifications | note: Returned with HTTP 200 OK (id is empty), not an error status. The flagship case for the errorMessages accessor — lets callers distinguish a sent notification from a no-op without parsing the polymorphic 200 body. + NO_SUBSCRIBERS = 'All included players are not subscribed'.freeze + # HTTP 400 | retryable: no | emitted by: POST /notifications | note: Verified live 2026-06-16: a no-targeting POST /notifications returns 400 with this exact message. + NO_TARGETING_SPECIFIED = 'You must include which players, segments, or tags you wish to send this notification to.'.freeze + # HTTP 503 | retryable: yes | emitted by: any endpoint (pgbouncer rejection) | note: Transient DB/pgbouncer failure — the canonical retryable sentinel. + SERVICE_UNAVAILABLE = 'Service temporarily unavailable'.freeze + end +end diff --git a/lib/onesignal/models/api_key_token.rb b/lib/onesignal/models/api_key_token.rb index 59610ee..f9bcbe0 100644 --- a/lib/onesignal/models/api_key_token.rb +++ b/lib/onesignal/models/api_key_token.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/api_key_tokens_list_response.rb b/lib/onesignal/models/api_key_tokens_list_response.rb index a9c920f..2f3c5a9 100644 --- a/lib/onesignal/models/api_key_tokens_list_response.rb +++ b/lib/onesignal/models/api_key_tokens_list_response.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/app.rb b/lib/onesignal/models/app.rb index cac925f..a90edb8 100644 --- a/lib/onesignal/models/app.rb +++ b/lib/onesignal/models/app.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/basic_notification.rb b/lib/onesignal/models/basic_notification.rb index 695d704..6f1bf93 100644 --- a/lib/onesignal/models/basic_notification.rb +++ b/lib/onesignal/models/basic_notification.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/basic_notification_all_of.rb b/lib/onesignal/models/basic_notification_all_of.rb index cca7022..33b1a40 100644 --- a/lib/onesignal/models/basic_notification_all_of.rb +++ b/lib/onesignal/models/basic_notification_all_of.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/basic_notification_all_of_android_background_layout.rb b/lib/onesignal/models/basic_notification_all_of_android_background_layout.rb index c85f5bd..3b6dabe 100644 --- a/lib/onesignal/models/basic_notification_all_of_android_background_layout.rb +++ b/lib/onesignal/models/basic_notification_all_of_android_background_layout.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/button.rb b/lib/onesignal/models/button.rb index 319eeb9..f4fd00f 100644 --- a/lib/onesignal/models/button.rb +++ b/lib/onesignal/models/button.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/copy_template_request.rb b/lib/onesignal/models/copy_template_request.rb index 74a1883..c420881 100644 --- a/lib/onesignal/models/copy_template_request.rb +++ b/lib/onesignal/models/copy_template_request.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/create_api_key_request.rb b/lib/onesignal/models/create_api_key_request.rb index 697f4e5..e1143c6 100644 --- a/lib/onesignal/models/create_api_key_request.rb +++ b/lib/onesignal/models/create_api_key_request.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/create_api_key_response.rb b/lib/onesignal/models/create_api_key_response.rb index 9930d2d..b5a142a 100644 --- a/lib/onesignal/models/create_api_key_response.rb +++ b/lib/onesignal/models/create_api_key_response.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/create_notification_success_response.rb b/lib/onesignal/models/create_notification_success_response.rb index c363d80..72c7f40 100644 --- a/lib/onesignal/models/create_notification_success_response.rb +++ b/lib/onesignal/models/create_notification_success_response.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/create_segment_conflict_response.rb b/lib/onesignal/models/create_segment_conflict_response.rb index b727967..aa4ad19 100644 --- a/lib/onesignal/models/create_segment_conflict_response.rb +++ b/lib/onesignal/models/create_segment_conflict_response.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/create_segment_success_response.rb b/lib/onesignal/models/create_segment_success_response.rb index dc1600d..721b43e 100644 --- a/lib/onesignal/models/create_segment_success_response.rb +++ b/lib/onesignal/models/create_segment_success_response.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/create_template_request.rb b/lib/onesignal/models/create_template_request.rb index d1510f1..243b20f 100644 --- a/lib/onesignal/models/create_template_request.rb +++ b/lib/onesignal/models/create_template_request.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/create_user_conflict_response.rb b/lib/onesignal/models/create_user_conflict_response.rb index 0091f8b..9d17512 100644 --- a/lib/onesignal/models/create_user_conflict_response.rb +++ b/lib/onesignal/models/create_user_conflict_response.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/create_user_conflict_response_errors_inner.rb b/lib/onesignal/models/create_user_conflict_response_errors_inner.rb index ce42696..22ede1d 100644 --- a/lib/onesignal/models/create_user_conflict_response_errors_inner.rb +++ b/lib/onesignal/models/create_user_conflict_response_errors_inner.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/create_user_conflict_response_errors_items_meta.rb b/lib/onesignal/models/create_user_conflict_response_errors_items_meta.rb index 5839b0c..ef7e7f0 100644 --- a/lib/onesignal/models/create_user_conflict_response_errors_items_meta.rb +++ b/lib/onesignal/models/create_user_conflict_response_errors_items_meta.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/custom_event.rb b/lib/onesignal/models/custom_event.rb index 0cd82eb..c7b6a66 100644 --- a/lib/onesignal/models/custom_event.rb +++ b/lib/onesignal/models/custom_event.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/custom_events_request.rb b/lib/onesignal/models/custom_events_request.rb index 62e6c8c..ecc88cc 100644 --- a/lib/onesignal/models/custom_events_request.rb +++ b/lib/onesignal/models/custom_events_request.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/delivery_data.rb b/lib/onesignal/models/delivery_data.rb index 12fc167..0b333a5 100644 --- a/lib/onesignal/models/delivery_data.rb +++ b/lib/onesignal/models/delivery_data.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/export_events_success_response.rb b/lib/onesignal/models/export_events_success_response.rb index bb0f15a..f9efe98 100644 --- a/lib/onesignal/models/export_events_success_response.rb +++ b/lib/onesignal/models/export_events_success_response.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/export_subscriptions_request_body.rb b/lib/onesignal/models/export_subscriptions_request_body.rb index df6d76e..aec040a 100644 --- a/lib/onesignal/models/export_subscriptions_request_body.rb +++ b/lib/onesignal/models/export_subscriptions_request_body.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/export_subscriptions_success_response.rb b/lib/onesignal/models/export_subscriptions_success_response.rb index 664417f..6d82644 100644 --- a/lib/onesignal/models/export_subscriptions_success_response.rb +++ b/lib/onesignal/models/export_subscriptions_success_response.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/filter.rb b/lib/onesignal/models/filter.rb index 239f3ad..18eb2cd 100644 --- a/lib/onesignal/models/filter.rb +++ b/lib/onesignal/models/filter.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/filter_expression.rb b/lib/onesignal/models/filter_expression.rb index 7d779c0..32c0bcb 100644 --- a/lib/onesignal/models/filter_expression.rb +++ b/lib/onesignal/models/filter_expression.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/generic_error.rb b/lib/onesignal/models/generic_error.rb index 7c0eac1..b847c35 100644 --- a/lib/onesignal/models/generic_error.rb +++ b/lib/onesignal/models/generic_error.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/generic_success_bool_response.rb b/lib/onesignal/models/generic_success_bool_response.rb index 88bc6c1..9aaff4d 100644 --- a/lib/onesignal/models/generic_success_bool_response.rb +++ b/lib/onesignal/models/generic_success_bool_response.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/get_notification_history_request_body.rb b/lib/onesignal/models/get_notification_history_request_body.rb index 958d0fb..dc91dc9 100644 --- a/lib/onesignal/models/get_notification_history_request_body.rb +++ b/lib/onesignal/models/get_notification_history_request_body.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/get_segments_success_response.rb b/lib/onesignal/models/get_segments_success_response.rb index 22b086a..aea296d 100644 --- a/lib/onesignal/models/get_segments_success_response.rb +++ b/lib/onesignal/models/get_segments_success_response.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/language_string_map.rb b/lib/onesignal/models/language_string_map.rb index e6ac129..ea69d07 100644 --- a/lib/onesignal/models/language_string_map.rb +++ b/lib/onesignal/models/language_string_map.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/notification.rb b/lib/onesignal/models/notification.rb index 1ab6846..170bb11 100644 --- a/lib/onesignal/models/notification.rb +++ b/lib/onesignal/models/notification.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/notification_all_of.rb b/lib/onesignal/models/notification_all_of.rb index 9c208d8..e22c6a3 100644 --- a/lib/onesignal/models/notification_all_of.rb +++ b/lib/onesignal/models/notification_all_of.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/notification_history_success_response.rb b/lib/onesignal/models/notification_history_success_response.rb index 0bc82ab..dfb5f64 100644 --- a/lib/onesignal/models/notification_history_success_response.rb +++ b/lib/onesignal/models/notification_history_success_response.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/notification_slice.rb b/lib/onesignal/models/notification_slice.rb index cb5be8e..bf20bb3 100644 --- a/lib/onesignal/models/notification_slice.rb +++ b/lib/onesignal/models/notification_slice.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/notification_target.rb b/lib/onesignal/models/notification_target.rb index 5f480bc..85fc734 100644 --- a/lib/onesignal/models/notification_target.rb +++ b/lib/onesignal/models/notification_target.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/notification_with_meta.rb b/lib/onesignal/models/notification_with_meta.rb index 1be676d..43c71a4 100644 --- a/lib/onesignal/models/notification_with_meta.rb +++ b/lib/onesignal/models/notification_with_meta.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/notification_with_meta_all_of.rb b/lib/onesignal/models/notification_with_meta_all_of.rb index fc48871..eb20065 100644 --- a/lib/onesignal/models/notification_with_meta_all_of.rb +++ b/lib/onesignal/models/notification_with_meta_all_of.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/operator.rb b/lib/onesignal/models/operator.rb index 644179f..3c5d3eb 100644 --- a/lib/onesignal/models/operator.rb +++ b/lib/onesignal/models/operator.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/outcome_data.rb b/lib/onesignal/models/outcome_data.rb index 2e26722..ffb7ac5 100644 --- a/lib/onesignal/models/outcome_data.rb +++ b/lib/onesignal/models/outcome_data.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/outcomes_data.rb b/lib/onesignal/models/outcomes_data.rb index 43fa463..123f491 100644 --- a/lib/onesignal/models/outcomes_data.rb +++ b/lib/onesignal/models/outcomes_data.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/platform_delivery_data.rb b/lib/onesignal/models/platform_delivery_data.rb index 11b6d41..b18321f 100644 --- a/lib/onesignal/models/platform_delivery_data.rb +++ b/lib/onesignal/models/platform_delivery_data.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/platform_delivery_data_email_all_of.rb b/lib/onesignal/models/platform_delivery_data_email_all_of.rb index 0aeeef0..46ff50a 100644 --- a/lib/onesignal/models/platform_delivery_data_email_all_of.rb +++ b/lib/onesignal/models/platform_delivery_data_email_all_of.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/platform_delivery_data_sms_all_of.rb b/lib/onesignal/models/platform_delivery_data_sms_all_of.rb index e0a1ee5..31d8653 100644 --- a/lib/onesignal/models/platform_delivery_data_sms_all_of.rb +++ b/lib/onesignal/models/platform_delivery_data_sms_all_of.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/properties_body.rb b/lib/onesignal/models/properties_body.rb index ff59db8..ab1b8e2 100644 --- a/lib/onesignal/models/properties_body.rb +++ b/lib/onesignal/models/properties_body.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/properties_deltas.rb b/lib/onesignal/models/properties_deltas.rb index e87b71d..44f8915 100644 --- a/lib/onesignal/models/properties_deltas.rb +++ b/lib/onesignal/models/properties_deltas.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/properties_object.rb b/lib/onesignal/models/properties_object.rb index 51de49e..1ecd5fd 100644 --- a/lib/onesignal/models/properties_object.rb +++ b/lib/onesignal/models/properties_object.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/purchase.rb b/lib/onesignal/models/purchase.rb index 481a256..296173d 100644 --- a/lib/onesignal/models/purchase.rb +++ b/lib/onesignal/models/purchase.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/rate_limit_error.rb b/lib/onesignal/models/rate_limit_error.rb index 2589678..5fa9e40 100644 --- a/lib/onesignal/models/rate_limit_error.rb +++ b/lib/onesignal/models/rate_limit_error.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/segment.rb b/lib/onesignal/models/segment.rb index 892fa34..7005250 100644 --- a/lib/onesignal/models/segment.rb +++ b/lib/onesignal/models/segment.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/segment_data.rb b/lib/onesignal/models/segment_data.rb index 96a9749..01646ca 100644 --- a/lib/onesignal/models/segment_data.rb +++ b/lib/onesignal/models/segment_data.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/segment_notification_target.rb b/lib/onesignal/models/segment_notification_target.rb index e6dcbba..b10c04d 100644 --- a/lib/onesignal/models/segment_notification_target.rb +++ b/lib/onesignal/models/segment_notification_target.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/start_live_activity_request.rb b/lib/onesignal/models/start_live_activity_request.rb index d707fc2..c6f25ff 100644 --- a/lib/onesignal/models/start_live_activity_request.rb +++ b/lib/onesignal/models/start_live_activity_request.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/start_live_activity_success_response.rb b/lib/onesignal/models/start_live_activity_success_response.rb index 84be97b..8ef67e1 100644 --- a/lib/onesignal/models/start_live_activity_success_response.rb +++ b/lib/onesignal/models/start_live_activity_success_response.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/subscription.rb b/lib/onesignal/models/subscription.rb index d1cdc03..6b00779 100644 --- a/lib/onesignal/models/subscription.rb +++ b/lib/onesignal/models/subscription.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/subscription_body.rb b/lib/onesignal/models/subscription_body.rb index 7f6cb57..50b178e 100644 --- a/lib/onesignal/models/subscription_body.rb +++ b/lib/onesignal/models/subscription_body.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/subscription_notification_target.rb b/lib/onesignal/models/subscription_notification_target.rb index f77a7ed..d9ebf3f 100644 --- a/lib/onesignal/models/subscription_notification_target.rb +++ b/lib/onesignal/models/subscription_notification_target.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/template_resource.rb b/lib/onesignal/models/template_resource.rb index 9931e60..e465a0e 100644 --- a/lib/onesignal/models/template_resource.rb +++ b/lib/onesignal/models/template_resource.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/templates_list_response.rb b/lib/onesignal/models/templates_list_response.rb index ce2d39e..e9f2e1b 100644 --- a/lib/onesignal/models/templates_list_response.rb +++ b/lib/onesignal/models/templates_list_response.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/transfer_subscription_request_body.rb b/lib/onesignal/models/transfer_subscription_request_body.rb index 7c3faf9..36a87fb 100644 --- a/lib/onesignal/models/transfer_subscription_request_body.rb +++ b/lib/onesignal/models/transfer_subscription_request_body.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/update_api_key_request.rb b/lib/onesignal/models/update_api_key_request.rb index 0bef5ca..1940611 100644 --- a/lib/onesignal/models/update_api_key_request.rb +++ b/lib/onesignal/models/update_api_key_request.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/update_live_activity_request.rb b/lib/onesignal/models/update_live_activity_request.rb index 45e49b1..6b46579 100644 --- a/lib/onesignal/models/update_live_activity_request.rb +++ b/lib/onesignal/models/update_live_activity_request.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/update_live_activity_success_response.rb b/lib/onesignal/models/update_live_activity_success_response.rb index 2825257..70abff6 100644 --- a/lib/onesignal/models/update_live_activity_success_response.rb +++ b/lib/onesignal/models/update_live_activity_success_response.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/update_template_request.rb b/lib/onesignal/models/update_template_request.rb index 6bc508f..fe3e919 100644 --- a/lib/onesignal/models/update_template_request.rb +++ b/lib/onesignal/models/update_template_request.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/update_user_request.rb b/lib/onesignal/models/update_user_request.rb index 17e221a..a608cc2 100644 --- a/lib/onesignal/models/update_user_request.rb +++ b/lib/onesignal/models/update_user_request.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/user.rb b/lib/onesignal/models/user.rb index 2e9d81e..504f247 100644 --- a/lib/onesignal/models/user.rb +++ b/lib/onesignal/models/user.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/user_identity_body.rb b/lib/onesignal/models/user_identity_body.rb index 08939d5..265848b 100644 --- a/lib/onesignal/models/user_identity_body.rb +++ b/lib/onesignal/models/user_identity_body.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/models/web_button.rb b/lib/onesignal/models/web_button.rb index b80fa9e..286c56e 100644 --- a/lib/onesignal/models/web_button.rb +++ b/lib/onesignal/models/web_button.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/version.rb b/lib/onesignal/version.rb index d546486..76f95d2 100644 --- a/lib/onesignal/version.rb +++ b/lib/onesignal/version.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -11,5 +11,5 @@ =end module OneSignal - VERSION = '5.6.0' + VERSION = '5.7.0' end diff --git a/onesignal.gemspec b/onesignal.gemspec index f6af46d..b2815dc 100644 --- a/onesignal.gemspec +++ b/onesignal.gemspec @@ -5,7 +5,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/api/default_api_spec.rb b/spec/api/default_api_spec.rb index d4e6435..05ae7db 100644 --- a/spec/api/default_api_spec.rb +++ b/spec/api/default_api_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/api_client_spec.rb b/spec/api_client_spec.rb index 7cd342a..9c76ea9 100644 --- a/spec/api_client_spec.rb +++ b/spec/api_client_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/configuration_spec.rb b/spec/configuration_spec.rb index 8fdc414..cfcd9ba 100644 --- a/spec/configuration_spec.rb +++ b/spec/configuration_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/api_key_token_spec.rb b/spec/models/api_key_token_spec.rb index 0681948..8d09954 100644 --- a/spec/models/api_key_token_spec.rb +++ b/spec/models/api_key_token_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/api_key_tokens_list_response_spec.rb b/spec/models/api_key_tokens_list_response_spec.rb index 01d27a5..4c7bf99 100644 --- a/spec/models/api_key_tokens_list_response_spec.rb +++ b/spec/models/api_key_tokens_list_response_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/app_spec.rb b/spec/models/app_spec.rb index ce66feb..2b6ce5a 100644 --- a/spec/models/app_spec.rb +++ b/spec/models/app_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/basic_notification_all_of_android_background_layout_spec.rb b/spec/models/basic_notification_all_of_android_background_layout_spec.rb index eedb5eb..1bb1861 100644 --- a/spec/models/basic_notification_all_of_android_background_layout_spec.rb +++ b/spec/models/basic_notification_all_of_android_background_layout_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/basic_notification_all_of_spec.rb b/spec/models/basic_notification_all_of_spec.rb index f97fd9d..bd6434c 100644 --- a/spec/models/basic_notification_all_of_spec.rb +++ b/spec/models/basic_notification_all_of_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/basic_notification_spec.rb b/spec/models/basic_notification_spec.rb index f54dc29..d28f66b 100644 --- a/spec/models/basic_notification_spec.rb +++ b/spec/models/basic_notification_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/button_spec.rb b/spec/models/button_spec.rb index dc79492..bbec2e0 100644 --- a/spec/models/button_spec.rb +++ b/spec/models/button_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/copy_template_request_spec.rb b/spec/models/copy_template_request_spec.rb index 39c339b..be59c33 100644 --- a/spec/models/copy_template_request_spec.rb +++ b/spec/models/copy_template_request_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/create_api_key_request_spec.rb b/spec/models/create_api_key_request_spec.rb index 0957e6d..d1f2e36 100644 --- a/spec/models/create_api_key_request_spec.rb +++ b/spec/models/create_api_key_request_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/create_api_key_response_spec.rb b/spec/models/create_api_key_response_spec.rb index 1c3c4ee..b2d061d 100644 --- a/spec/models/create_api_key_response_spec.rb +++ b/spec/models/create_api_key_response_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/create_notification_success_response_spec.rb b/spec/models/create_notification_success_response_spec.rb index 366a22e..b063048 100644 --- a/spec/models/create_notification_success_response_spec.rb +++ b/spec/models/create_notification_success_response_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/create_segment_conflict_response_spec.rb b/spec/models/create_segment_conflict_response_spec.rb index 124b32e..05824e6 100644 --- a/spec/models/create_segment_conflict_response_spec.rb +++ b/spec/models/create_segment_conflict_response_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/create_segment_success_response_spec.rb b/spec/models/create_segment_success_response_spec.rb index 745e280..026359d 100644 --- a/spec/models/create_segment_success_response_spec.rb +++ b/spec/models/create_segment_success_response_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/create_template_request_spec.rb b/spec/models/create_template_request_spec.rb index 933170a..5107e95 100644 --- a/spec/models/create_template_request_spec.rb +++ b/spec/models/create_template_request_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/create_user_conflict_response_errors_inner_spec.rb b/spec/models/create_user_conflict_response_errors_inner_spec.rb index 65bb5f8..a57ae9a 100644 --- a/spec/models/create_user_conflict_response_errors_inner_spec.rb +++ b/spec/models/create_user_conflict_response_errors_inner_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/create_user_conflict_response_errors_items_meta_spec.rb b/spec/models/create_user_conflict_response_errors_items_meta_spec.rb index c4a0b9f..9f14134 100644 --- a/spec/models/create_user_conflict_response_errors_items_meta_spec.rb +++ b/spec/models/create_user_conflict_response_errors_items_meta_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/create_user_conflict_response_spec.rb b/spec/models/create_user_conflict_response_spec.rb index f59c991..85b15b6 100644 --- a/spec/models/create_user_conflict_response_spec.rb +++ b/spec/models/create_user_conflict_response_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/custom_event_spec.rb b/spec/models/custom_event_spec.rb index 0dd879a..bfe1182 100644 --- a/spec/models/custom_event_spec.rb +++ b/spec/models/custom_event_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/custom_events_request_spec.rb b/spec/models/custom_events_request_spec.rb index 6521f9e..c7b7671 100644 --- a/spec/models/custom_events_request_spec.rb +++ b/spec/models/custom_events_request_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/delivery_data_spec.rb b/spec/models/delivery_data_spec.rb index bb89570..46d1ff3 100644 --- a/spec/models/delivery_data_spec.rb +++ b/spec/models/delivery_data_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/export_events_success_response_spec.rb b/spec/models/export_events_success_response_spec.rb index 13887e0..c193aa5 100644 --- a/spec/models/export_events_success_response_spec.rb +++ b/spec/models/export_events_success_response_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/export_subscriptions_request_body_spec.rb b/spec/models/export_subscriptions_request_body_spec.rb index 4dcfd45..63d5265 100644 --- a/spec/models/export_subscriptions_request_body_spec.rb +++ b/spec/models/export_subscriptions_request_body_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/export_subscriptions_success_response_spec.rb b/spec/models/export_subscriptions_success_response_spec.rb index bee862b..4610bcb 100644 --- a/spec/models/export_subscriptions_success_response_spec.rb +++ b/spec/models/export_subscriptions_success_response_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/filter_expression_spec.rb b/spec/models/filter_expression_spec.rb index d2058d0..428de7b 100644 --- a/spec/models/filter_expression_spec.rb +++ b/spec/models/filter_expression_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/filter_spec.rb b/spec/models/filter_spec.rb index c1281f9..616c199 100644 --- a/spec/models/filter_spec.rb +++ b/spec/models/filter_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/generic_error_spec.rb b/spec/models/generic_error_spec.rb index 69613c8..3eef043 100644 --- a/spec/models/generic_error_spec.rb +++ b/spec/models/generic_error_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/generic_success_bool_response_spec.rb b/spec/models/generic_success_bool_response_spec.rb index c6d1684..301c267 100644 --- a/spec/models/generic_success_bool_response_spec.rb +++ b/spec/models/generic_success_bool_response_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/get_notification_history_request_body_spec.rb b/spec/models/get_notification_history_request_body_spec.rb index 343d1b5..e0e01a3 100644 --- a/spec/models/get_notification_history_request_body_spec.rb +++ b/spec/models/get_notification_history_request_body_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/get_segments_success_response_spec.rb b/spec/models/get_segments_success_response_spec.rb index 32c3c9c..69c9f33 100644 --- a/spec/models/get_segments_success_response_spec.rb +++ b/spec/models/get_segments_success_response_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/language_string_map_spec.rb b/spec/models/language_string_map_spec.rb index 4902062..8c37750 100644 --- a/spec/models/language_string_map_spec.rb +++ b/spec/models/language_string_map_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/notification_all_of_spec.rb b/spec/models/notification_all_of_spec.rb index 4e4fc98..7e0e39c 100644 --- a/spec/models/notification_all_of_spec.rb +++ b/spec/models/notification_all_of_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/notification_history_success_response_spec.rb b/spec/models/notification_history_success_response_spec.rb index 14a2735..a4d82e4 100644 --- a/spec/models/notification_history_success_response_spec.rb +++ b/spec/models/notification_history_success_response_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/notification_slice_spec.rb b/spec/models/notification_slice_spec.rb index fbf3849..9d3415c 100644 --- a/spec/models/notification_slice_spec.rb +++ b/spec/models/notification_slice_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/notification_spec.rb b/spec/models/notification_spec.rb index 3d5d943..d429119 100644 --- a/spec/models/notification_spec.rb +++ b/spec/models/notification_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/notification_target_spec.rb b/spec/models/notification_target_spec.rb index b76929f..930d060 100644 --- a/spec/models/notification_target_spec.rb +++ b/spec/models/notification_target_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/notification_with_meta_all_of_spec.rb b/spec/models/notification_with_meta_all_of_spec.rb index 514a686..153455c 100644 --- a/spec/models/notification_with_meta_all_of_spec.rb +++ b/spec/models/notification_with_meta_all_of_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/notification_with_meta_spec.rb b/spec/models/notification_with_meta_spec.rb index e7523b0..1764498 100644 --- a/spec/models/notification_with_meta_spec.rb +++ b/spec/models/notification_with_meta_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/operator_spec.rb b/spec/models/operator_spec.rb index 4cd293e..4981e5b 100644 --- a/spec/models/operator_spec.rb +++ b/spec/models/operator_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/outcome_data_spec.rb b/spec/models/outcome_data_spec.rb index 7e69b2f..d3ae504 100644 --- a/spec/models/outcome_data_spec.rb +++ b/spec/models/outcome_data_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/outcomes_data_spec.rb b/spec/models/outcomes_data_spec.rb index ee38a79..26664b2 100644 --- a/spec/models/outcomes_data_spec.rb +++ b/spec/models/outcomes_data_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/platform_delivery_data_email_all_of_spec.rb b/spec/models/platform_delivery_data_email_all_of_spec.rb index e29b905..356e8dc 100644 --- a/spec/models/platform_delivery_data_email_all_of_spec.rb +++ b/spec/models/platform_delivery_data_email_all_of_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/platform_delivery_data_sms_all_of_spec.rb b/spec/models/platform_delivery_data_sms_all_of_spec.rb index 6ca8f2d..6bd0c47 100644 --- a/spec/models/platform_delivery_data_sms_all_of_spec.rb +++ b/spec/models/platform_delivery_data_sms_all_of_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/platform_delivery_data_spec.rb b/spec/models/platform_delivery_data_spec.rb index fb6e091..8b211df 100644 --- a/spec/models/platform_delivery_data_spec.rb +++ b/spec/models/platform_delivery_data_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/properties_body_spec.rb b/spec/models/properties_body_spec.rb index 368ffbf..d5248e1 100644 --- a/spec/models/properties_body_spec.rb +++ b/spec/models/properties_body_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/properties_deltas_spec.rb b/spec/models/properties_deltas_spec.rb index 9f53305..14ad8dd 100644 --- a/spec/models/properties_deltas_spec.rb +++ b/spec/models/properties_deltas_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/properties_object_spec.rb b/spec/models/properties_object_spec.rb index c0d1518..6ef4fff 100644 --- a/spec/models/properties_object_spec.rb +++ b/spec/models/properties_object_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/purchase_spec.rb b/spec/models/purchase_spec.rb index 58d0032..920a184 100644 --- a/spec/models/purchase_spec.rb +++ b/spec/models/purchase_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/rate_limit_error_spec.rb b/spec/models/rate_limit_error_spec.rb index b3d0653..e220298 100644 --- a/spec/models/rate_limit_error_spec.rb +++ b/spec/models/rate_limit_error_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/segment_data_spec.rb b/spec/models/segment_data_spec.rb index 6fb84b1..9e4c2ba 100644 --- a/spec/models/segment_data_spec.rb +++ b/spec/models/segment_data_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/segment_notification_target_spec.rb b/spec/models/segment_notification_target_spec.rb index 4891862..dff09cf 100644 --- a/spec/models/segment_notification_target_spec.rb +++ b/spec/models/segment_notification_target_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/segment_spec.rb b/spec/models/segment_spec.rb index 65af895..4d83d1e 100644 --- a/spec/models/segment_spec.rb +++ b/spec/models/segment_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/start_live_activity_request_spec.rb b/spec/models/start_live_activity_request_spec.rb index b8ec35c..df45786 100644 --- a/spec/models/start_live_activity_request_spec.rb +++ b/spec/models/start_live_activity_request_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/start_live_activity_success_response_spec.rb b/spec/models/start_live_activity_success_response_spec.rb index 7f3cb26..043d2db 100644 --- a/spec/models/start_live_activity_success_response_spec.rb +++ b/spec/models/start_live_activity_success_response_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/subscription_body_spec.rb b/spec/models/subscription_body_spec.rb index 7c9978e..df85fc7 100644 --- a/spec/models/subscription_body_spec.rb +++ b/spec/models/subscription_body_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/subscription_notification_target_spec.rb b/spec/models/subscription_notification_target_spec.rb index b114f65..9038002 100644 --- a/spec/models/subscription_notification_target_spec.rb +++ b/spec/models/subscription_notification_target_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/subscription_spec.rb b/spec/models/subscription_spec.rb index 8a11cb5..2283658 100644 --- a/spec/models/subscription_spec.rb +++ b/spec/models/subscription_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/template_resource_spec.rb b/spec/models/template_resource_spec.rb index 8106746..237d1a1 100644 --- a/spec/models/template_resource_spec.rb +++ b/spec/models/template_resource_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/templates_list_response_spec.rb b/spec/models/templates_list_response_spec.rb index c26a8cc..d31bcb4 100644 --- a/spec/models/templates_list_response_spec.rb +++ b/spec/models/templates_list_response_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/transfer_subscription_request_body_spec.rb b/spec/models/transfer_subscription_request_body_spec.rb index 099de20..356395e 100644 --- a/spec/models/transfer_subscription_request_body_spec.rb +++ b/spec/models/transfer_subscription_request_body_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/update_api_key_request_spec.rb b/spec/models/update_api_key_request_spec.rb index e291548..6ae329b 100644 --- a/spec/models/update_api_key_request_spec.rb +++ b/spec/models/update_api_key_request_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/update_live_activity_request_spec.rb b/spec/models/update_live_activity_request_spec.rb index 9393122..d85239f 100644 --- a/spec/models/update_live_activity_request_spec.rb +++ b/spec/models/update_live_activity_request_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/update_live_activity_success_response_spec.rb b/spec/models/update_live_activity_success_response_spec.rb index 3bacfa8..6e3ad92 100644 --- a/spec/models/update_live_activity_success_response_spec.rb +++ b/spec/models/update_live_activity_success_response_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/update_template_request_spec.rb b/spec/models/update_template_request_spec.rb index 1cb0080..b3af305 100644 --- a/spec/models/update_template_request_spec.rb +++ b/spec/models/update_template_request_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/update_user_request_spec.rb b/spec/models/update_user_request_spec.rb index 5c64bea..85de32e 100644 --- a/spec/models/update_user_request_spec.rb +++ b/spec/models/update_user_request_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/user_identity_body_spec.rb b/spec/models/user_identity_body_spec.rb index 6341613..79b6847 100644 --- a/spec/models/user_identity_body_spec.rb +++ b/spec/models/user_identity_body_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index a095295..7695120 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/models/web_button_spec.rb b/spec/models/web_button_spec.rb index 4ee3574..22def5c 100644 --- a/spec/models/web_button_spec.rb +++ b/spec/models/web_button_spec.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 01cf599..be4a2bf 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,7 +3,7 @@ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com -The version of the OpenAPI document: 5.6.0 +The version of the OpenAPI document: 5.7.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT