From 7b629b2bddff261421c30df0c682187e899c0439 Mon Sep 17 00:00:00 2001 From: OneSignal Date: Fri, 8 May 2026 16:48:54 +0000 Subject: [PATCH] feat: add v5.5.0 package updates --- .github/workflows/project.yml | 2 +- README.md | 6 ++-- docs/BasicNotification.md | 2 ++ docs/BasicNotificationAllOf.md | 2 ++ docs/CreateTemplateRequest.md | 2 ++ docs/Notification.md | 2 ++ docs/NotificationWithMeta.md | 6 +++- docs/NotificationWithMetaAllOf.md | 6 +++- docs/UpdateTemplateRequest.md | 2 ++ lib/onesignal.rb | 2 +- lib/onesignal/api/default_api.rb | 2 +- lib/onesignal/api_client.rb | 4 +-- lib/onesignal/api_error.rb | 2 +- lib/onesignal/configuration.rb | 2 +- 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 | 32 +++++++++++++++-- .../models/basic_notification_all_of.rb | 32 +++++++++++++++-- ...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 | 32 +++++++++++++++-- .../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 | 32 +++++++++++++++-- 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 | 34 ++++++++++++++++--- .../models/notification_with_meta_all_of.rb | 34 ++++++++++++++++--- 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 | 32 +++++++++++++++-- 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 | 8 ++++- spec/models/basic_notification_spec.rb | 8 ++++- 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 | 8 ++++- ...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 | 8 ++++- spec/models/notification_target_spec.rb | 2 +- .../notification_with_meta_all_of_spec.rb | 14 +++++++- spec/models/notification_with_meta_spec.rb | 14 +++++++- 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 | 8 ++++- 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 +- 154 files changed, 426 insertions(+), 166 deletions(-) diff --git a/.github/workflows/project.yml b/.github/workflows/project.yml index 69960fe..e6d4603 100644 --- a/.github/workflows/project.yml +++ b/.github/workflows/project.yml @@ -14,4 +14,4 @@ jobs: with: # SDK Server Project project-url: https://github.com/orgs/OneSignal/projects/11 - github-token: ${{ secrets.GH_PROJECTS_TOKEN }} + github-token: ${{ secrets.GH_PUSH_TOKEN }} diff --git a/README.md b/README.md index d1fd0c5..a0bb6a4 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.4.0 -- Package version: 5.4.0 +- API version: 5.5.0 +- Package version: 5.5.0 ## Installation Add to your `Gemfile`: ```ruby -gem 'onesignal', '~> 5.4.0' +gem 'onesignal', '~> 5.5.0' ``` Then run `bundle install`. diff --git a/docs/BasicNotification.md b/docs/BasicNotification.md index 9b26465..8159fd8 100644 --- a/docs/BasicNotification.md +++ b/docs/BasicNotification.md @@ -109,6 +109,7 @@ | **email_preheader** | **String** | Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null. | [optional] | | **disable_email_click_tracking** | **Boolean** | Channel: Email Default is `false`. If set to `true`, the URLs sent within the email will not include link tracking and will be the same as originally set; otherwise, all the URLs in the email will be tracked. | [optional] | | **include_unsubscribed** | **Boolean** | Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared. | [optional] | +| **email_bcc** | **Array<String>** | Channel: Email BCC recipients for the email. Maximum 5 addresses. Only supported when the email service provider is OneSignal Email. | [optional] | | **sms_from** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] | | **sms_media_urls** | **Array<String>** | Channel: SMS URLs for the media files to be attached to the SMS content. Limit: 10 media urls with a total max. size of 5MBs. | [optional] | | **filters** | [**Array<FilterExpression>**](FilterExpression.md) | | [optional] | @@ -230,6 +231,7 @@ instance = OneSignal::BasicNotification.new( email_preheader: null, disable_email_click_tracking: null, include_unsubscribed: null, + email_bcc: null, sms_from: null, sms_media_urls: null, filters: null, diff --git a/docs/BasicNotificationAllOf.md b/docs/BasicNotificationAllOf.md index 96966ca..73639c1 100644 --- a/docs/BasicNotificationAllOf.md +++ b/docs/BasicNotificationAllOf.md @@ -96,6 +96,7 @@ | **email_preheader** | **String** | Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null. | [optional] | | **disable_email_click_tracking** | **Boolean** | Channel: Email Default is `false`. If set to `true`, the URLs sent within the email will not include link tracking and will be the same as originally set; otherwise, all the URLs in the email will be tracked. | [optional] | | **include_unsubscribed** | **Boolean** | Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared. | [optional] | +| **email_bcc** | **Array<String>** | Channel: Email BCC recipients for the email. Maximum 5 addresses. Only supported when the email service provider is OneSignal Email. | [optional] | | **sms_from** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] | | **sms_media_urls** | **Array<String>** | Channel: SMS URLs for the media files to be attached to the SMS content. Limit: 10 media urls with a total max. size of 5MBs. | [optional] | | **filters** | [**Array<FilterExpression>**](FilterExpression.md) | | [optional] | @@ -204,6 +205,7 @@ instance = OneSignal::BasicNotificationAllOf.new( email_preheader: null, disable_email_click_tracking: null, include_unsubscribed: null, + email_bcc: null, sms_from: null, sms_media_urls: null, filters: null, diff --git a/docs/CreateTemplateRequest.md b/docs/CreateTemplateRequest.md index 0edef68..0ea43a7 100644 --- a/docs/CreateTemplateRequest.md +++ b/docs/CreateTemplateRequest.md @@ -12,6 +12,7 @@ | **is_email** | **Boolean** | Set true for an Email template. | [optional] | | **email_subject** | **String** | Subject of the email. | [optional] | | **email_body** | **String** | Body of the email (HTML supported). | [optional] | +| **email_bcc** | **Array<String>** | BCC recipients for the email template. Maximum 5 addresses. Only supported when the email service provider is OneSignal Email. | [optional] | | **is_sms** | **Boolean** | Set true for an SMS template. | [optional] | | **dynamic_content** | **String** | JSON string for dynamic content personalization. | [optional] | @@ -29,6 +30,7 @@ instance = OneSignal::CreateTemplateRequest.new( is_email: null, email_subject: null, email_body: null, + email_bcc: null, is_sms: null, dynamic_content: null ) diff --git a/docs/Notification.md b/docs/Notification.md index 68fcfe0..dd0a3e7 100644 --- a/docs/Notification.md +++ b/docs/Notification.md @@ -109,6 +109,7 @@ | **email_preheader** | **String** | Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null. | [optional] | | **disable_email_click_tracking** | **Boolean** | Channel: Email Default is `false`. If set to `true`, the URLs sent within the email will not include link tracking and will be the same as originally set; otherwise, all the URLs in the email will be tracked. | [optional] | | **include_unsubscribed** | **Boolean** | Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared. | [optional] | +| **email_bcc** | **Array<String>** | Channel: Email BCC recipients for the email. Maximum 5 addresses. Only supported when the email service provider is OneSignal Email. | [optional] | | **sms_from** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] | | **sms_media_urls** | **Array<String>** | Channel: SMS URLs for the media files to be attached to the SMS content. Limit: 10 media urls with a total max. size of 5MBs. | [optional] | | **filters** | [**Array<FilterExpression>**](FilterExpression.md) | | [optional] | @@ -231,6 +232,7 @@ instance = OneSignal::Notification.new( email_preheader: null, disable_email_click_tracking: null, include_unsubscribed: null, + email_bcc: null, sms_from: null, sms_media_urls: null, filters: null, diff --git a/docs/NotificationWithMeta.md b/docs/NotificationWithMeta.md index e8574d1..d3c65d8 100644 --- a/docs/NotificationWithMeta.md +++ b/docs/NotificationWithMeta.md @@ -109,6 +109,7 @@ | **email_preheader** | **String** | Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null. | [optional] | | **disable_email_click_tracking** | **Boolean** | Channel: Email Default is `false`. If set to `true`, the URLs sent within the email will not include link tracking and will be the same as originally set; otherwise, all the URLs in the email will be tracked. | [optional] | | **include_unsubscribed** | **Boolean** | Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared. | [optional] | +| **email_bcc** | **Array<String>** | BCC recipients that were set on this email notification. | [optional] | | **sms_from** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] | | **sms_media_urls** | **Array<String>** | Channel: SMS URLs for the media files to be attached to the SMS content. Limit: 10 media urls with a total max. size of 5MBs. | [optional] | | **filters** | [**Array<FilterExpression>**](FilterExpression.md) | | [optional] | @@ -130,6 +131,7 @@ | **completed_at** | **Integer** | Unix timestamp indicating when notification delivery completed. The delivery duration from start to finish can be calculated with completed_at - send_after. | [optional] | | **platform_delivery_stats** | [**PlatformDeliveryData**](PlatformDeliveryData.md) | | [optional] | | **canceled** | **Boolean** | Indicates whether the notification was canceled before it could be sent. | [optional] | +| **bcc_sent** | **Integer** | Number of BCC copies successfully sent for this notification. | [optional] | ## Example @@ -242,6 +244,7 @@ instance = OneSignal::NotificationWithMeta.new( email_preheader: null, disable_email_click_tracking: null, include_unsubscribed: null, + email_bcc: null, sms_from: null, sms_media_urls: null, filters: null, @@ -262,7 +265,8 @@ instance = OneSignal::NotificationWithMeta.new( send_after: null, completed_at: null, platform_delivery_stats: null, - canceled: null + canceled: null, + bcc_sent: null ) ``` diff --git a/docs/NotificationWithMetaAllOf.md b/docs/NotificationWithMetaAllOf.md index d97d991..a249494 100644 --- a/docs/NotificationWithMetaAllOf.md +++ b/docs/NotificationWithMetaAllOf.md @@ -16,6 +16,8 @@ | **received** | **Integer** | Confirmed Deliveries number of devices that received the push notification. Paid Feature Only. Free accounts will see 0. | [optional] | | **throttle_rate_per_minute** | **Integer** | number of push notifications sent per minute. Paid Feature Only. If throttling is not enabled for the app or the notification, and for free accounts, null is returned. Refer to Throttling for more details. | [optional] | | **canceled** | **Boolean** | Indicates whether the notification was canceled before it could be sent. | [optional] | +| **email_bcc** | **Array<String>** | BCC recipients that were set on this email notification. | [optional] | +| **bcc_sent** | **Integer** | Number of BCC copies successfully sent for this notification. | [optional] | ## Example @@ -34,7 +36,9 @@ instance = OneSignal::NotificationWithMetaAllOf.new( platform_delivery_stats: null, received: null, throttle_rate_per_minute: null, - canceled: null + canceled: null, + email_bcc: null, + bcc_sent: null ) ``` diff --git a/docs/UpdateTemplateRequest.md b/docs/UpdateTemplateRequest.md index 5baedc5..e6669e4 100644 --- a/docs/UpdateTemplateRequest.md +++ b/docs/UpdateTemplateRequest.md @@ -11,6 +11,7 @@ | **is_email** | **Boolean** | Set true for an Email template. | [optional] | | **email_subject** | **String** | Subject of the email. | [optional] | | **email_body** | **String** | Body of the email (HTML supported). | [optional] | +| **email_bcc** | **Array<String>** | BCC recipients for the email template. Maximum 5 addresses. Only supported when the email service provider is OneSignal Email. | [optional] | | **is_sms** | **Boolean** | Set true for an SMS template. | [optional] | | **dynamic_content** | **String** | JSON string for dynamic content personalization. | [optional] | @@ -27,6 +28,7 @@ instance = OneSignal::UpdateTemplateRequest.new( is_email: null, email_subject: null, email_body: null, + email_bcc: null, is_sms: null, dynamic_content: null ) diff --git a/lib/onesignal.rb b/lib/onesignal.rb index e41d6c8..f5c2a3d 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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/api/default_api.rb b/lib/onesignal/api/default_api.rb index b3b350e..9ca1aab 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.4.0 +The version of the OpenAPI document: 5.5.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 8b5bd6b..33faaca 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.4.0 +The version of the OpenAPI document: 5.5.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.4.0' + opts[:header_params]['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-ruby, version=5.5.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 8768b52..f999c6f 100644 --- a/lib/onesignal/api_error.rb +++ b/lib/onesignal/api_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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/onesignal/configuration.rb b/lib/onesignal/configuration.rb index 5451af2..1b7fd69 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.4.0 +The version of the OpenAPI document: 5.5.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_token.rb b/lib/onesignal/models/api_key_token.rb index 8db062c..c2ed4a4 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.4.0 +The version of the OpenAPI document: 5.5.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 b78d726..41a7250 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.4.0 +The version of the OpenAPI document: 5.5.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 1e5f7ea..57b1cee 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.4.0 +The version of the OpenAPI document: 5.5.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 420d1cd..a4e2738 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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -322,6 +322,9 @@ class BasicNotification # Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared. attr_accessor :include_unsubscribed + # Channel: Email BCC recipients for the email. Maximum 5 addresses. Only supported when the email service provider is OneSignal Email. + attr_accessor :email_bcc + # Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. attr_accessor :sms_from @@ -478,6 +481,7 @@ def self.attribute_map :'email_preheader' => :'email_preheader', :'disable_email_click_tracking' => :'disable_email_click_tracking', :'include_unsubscribed' => :'include_unsubscribed', + :'email_bcc' => :'email_bcc', :'sms_from' => :'sms_from', :'sms_media_urls' => :'sms_media_urls', :'filters' => :'filters', @@ -603,6 +607,7 @@ def self.openapi_types :'email_preheader' => :'String', :'disable_email_click_tracking' => :'Boolean', :'include_unsubscribed' => :'Boolean', + :'email_bcc' => :'Array', :'sms_from' => :'String', :'sms_media_urls' => :'Array', :'filters' => :'Array', @@ -700,6 +705,7 @@ def self.openapi_nullable :'email_reply_to_address', :'email_preheader', :'disable_email_click_tracking', + :'email_bcc', :'sms_from', :'sms_media_urls', :'filters', @@ -1183,6 +1189,12 @@ def initialize(attributes = {}) self.include_unsubscribed = attributes[:'include_unsubscribed'] end + if attributes.key?(:'email_bcc') + if (value = attributes[:'email_bcc']).is_a?(Array) + self.email_bcc = value + end + end + if attributes.key?(:'sms_from') self.sms_from = attributes[:'sms_from'] end @@ -1232,6 +1244,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "app_id", app_id cannot be nil.') end + if !@email_bcc.nil? && @email_bcc.length > 5 + invalid_properties.push('invalid value for "email_bcc", number of items must be less than or equal to 5.') + end + invalid_properties end @@ -1243,6 +1259,7 @@ def valid? aggregation_validator = EnumAttributeValidator.new('String', ["sum", "count"]) return false unless aggregation_validator.valid?(@aggregation) return false if @app_id.nil? + return false if !@email_bcc.nil? && @email_bcc.length > 5 huawei_category_validator = EnumAttributeValidator.new('String', ["IM", "VOIP", "SUBSCRIPTION", "TRAVEL", "HEALTH", "WORK", "ACCOUNT", "EXPRESS", "FINANCE", "DEVICE_REMINDER", "MAIL", "MARKETING"]) return false unless huawei_category_validator.valid?(@huawei_category) true @@ -1268,6 +1285,16 @@ def aggregation=(aggregation) @aggregation = aggregation end + # Custom attribute writer method with validation + # @param [Object] email_bcc Value to be assigned + def email_bcc=(email_bcc) + if !email_bcc.nil? && email_bcc.length > 5 + fail ArgumentError, 'invalid value for "email_bcc", number of items must be less than or equal to 5.' + end + + @email_bcc = email_bcc + end + # Custom attribute writer method checking allowed values (enum). # @param [Object] huawei_category Object to be assigned def huawei_category=(huawei_category) @@ -1388,6 +1415,7 @@ def ==(o) email_preheader == o.email_preheader && disable_email_click_tracking == o.disable_email_click_tracking && include_unsubscribed == o.include_unsubscribed && + email_bcc == o.email_bcc && sms_from == o.sms_from && sms_media_urls == o.sms_media_urls && filters == o.filters && @@ -1408,7 +1436,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [included_segments, excluded_segments, include_subscription_ids, include_email_tokens, include_phone_numbers, include_ios_tokens, include_wp_wns_uris, include_amazon_reg_ids, include_chrome_reg_ids, include_chrome_web_reg_ids, include_android_reg_ids, include_aliases, target_channel, id, value, name, aggregation, is_ios, is_android, is_huawei, is_any_web, is_chrome_web, is_firefox, is_safari, is_wp_wns, is_adm, is_chrome, app_id, external_id, idempotency_key, contents, headings, subtitle, data, huawei_msg_type, url, web_url, app_url, ios_attachments, template_id, content_available, mutable_content, target_content_identifier, big_picture, huawei_big_picture, adm_big_picture, chrome_big_picture, chrome_web_image, buttons, web_buttons, ios_category, android_channel_id, huawei_channel_id, existing_android_channel_id, huawei_existing_channel_id, android_background_layout, small_icon, huawei_small_icon, large_icon, huawei_large_icon, adm_small_icon, adm_large_icon, chrome_web_icon, chrome_web_badge, firefox_icon, chrome_icon, ios_sound, android_sound, huawei_sound, adm_sound, wp_wns_sound, android_led_color, huawei_led_color, android_accent_color, huawei_accent_color, android_visibility, huawei_visibility, ios_badge_type, ios_badge_count, collapse_id, web_push_topic, apns_alert, delayed_option, delivery_time_of_day, ttl, priority, apns_push_type_override, throttle_rate_per_minute, android_group, android_group_message, adm_group, adm_group_message, thread_id, summary_arg, summary_arg_count, ios_relevance_score, ios_interruption_level, email_subject, email_body, email_from_name, email_from_address, email_reply_to_address, email_preheader, disable_email_click_tracking, include_unsubscribed, sms_from, sms_media_urls, filters, custom_data, huawei_badge_class, huawei_badge_add_num, huawei_badge_set_num, huawei_category, huawei_bi_tag].hash + [included_segments, excluded_segments, include_subscription_ids, include_email_tokens, include_phone_numbers, include_ios_tokens, include_wp_wns_uris, include_amazon_reg_ids, include_chrome_reg_ids, include_chrome_web_reg_ids, include_android_reg_ids, include_aliases, target_channel, id, value, name, aggregation, is_ios, is_android, is_huawei, is_any_web, is_chrome_web, is_firefox, is_safari, is_wp_wns, is_adm, is_chrome, app_id, external_id, idempotency_key, contents, headings, subtitle, data, huawei_msg_type, url, web_url, app_url, ios_attachments, template_id, content_available, mutable_content, target_content_identifier, big_picture, huawei_big_picture, adm_big_picture, chrome_big_picture, chrome_web_image, buttons, web_buttons, ios_category, android_channel_id, huawei_channel_id, existing_android_channel_id, huawei_existing_channel_id, android_background_layout, small_icon, huawei_small_icon, large_icon, huawei_large_icon, adm_small_icon, adm_large_icon, chrome_web_icon, chrome_web_badge, firefox_icon, chrome_icon, ios_sound, android_sound, huawei_sound, adm_sound, wp_wns_sound, android_led_color, huawei_led_color, android_accent_color, huawei_accent_color, android_visibility, huawei_visibility, ios_badge_type, ios_badge_count, collapse_id, web_push_topic, apns_alert, delayed_option, delivery_time_of_day, ttl, priority, apns_push_type_override, throttle_rate_per_minute, android_group, android_group_message, adm_group, adm_group_message, thread_id, summary_arg, summary_arg_count, ios_relevance_score, ios_interruption_level, email_subject, email_body, email_from_name, email_from_address, email_reply_to_address, email_preheader, disable_email_click_tracking, include_unsubscribed, email_bcc, sms_from, sms_media_urls, filters, custom_data, huawei_badge_class, huawei_badge_add_num, huawei_badge_set_num, huawei_category, huawei_bi_tag].hash end # Builds the object from hash diff --git a/lib/onesignal/models/basic_notification_all_of.rb b/lib/onesignal/models/basic_notification_all_of.rb index 683d4dc..2eeecf9 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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -284,6 +284,9 @@ class BasicNotificationAllOf # Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared. attr_accessor :include_unsubscribed + # Channel: Email BCC recipients for the email. Maximum 5 addresses. Only supported when the email service provider is OneSignal Email. + attr_accessor :email_bcc + # Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. attr_accessor :sms_from @@ -427,6 +430,7 @@ def self.attribute_map :'email_preheader' => :'email_preheader', :'disable_email_click_tracking' => :'disable_email_click_tracking', :'include_unsubscribed' => :'include_unsubscribed', + :'email_bcc' => :'email_bcc', :'sms_from' => :'sms_from', :'sms_media_urls' => :'sms_media_urls', :'filters' => :'filters', @@ -539,6 +543,7 @@ def self.openapi_types :'email_preheader' => :'String', :'disable_email_click_tracking' => :'Boolean', :'include_unsubscribed' => :'Boolean', + :'email_bcc' => :'Array', :'sms_from' => :'String', :'sms_media_urls' => :'Array', :'filters' => :'Array', @@ -634,6 +639,7 @@ def self.openapi_nullable :'email_reply_to_address', :'email_preheader', :'disable_email_click_tracking', + :'email_bcc', :'sms_from', :'sms_media_urls', :'filters', @@ -1033,6 +1039,12 @@ def initialize(attributes = {}) self.include_unsubscribed = attributes[:'include_unsubscribed'] end + if attributes.key?(:'email_bcc') + if (value = attributes[:'email_bcc']).is_a?(Array) + self.email_bcc = value + end + end + if attributes.key?(:'sms_from') self.sms_from = attributes[:'sms_from'] end @@ -1078,6 +1090,10 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + if !@email_bcc.nil? && @email_bcc.length > 5 + invalid_properties.push('invalid value for "email_bcc", number of items must be less than or equal to 5.') + end + invalid_properties end @@ -1086,6 +1102,7 @@ def list_invalid_properties def valid? aggregation_validator = EnumAttributeValidator.new('String', ["sum", "count"]) return false unless aggregation_validator.valid?(@aggregation) + return false if !@email_bcc.nil? && @email_bcc.length > 5 huawei_category_validator = EnumAttributeValidator.new('String', ["IM", "VOIP", "SUBSCRIPTION", "TRAVEL", "HEALTH", "WORK", "ACCOUNT", "EXPRESS", "FINANCE", "DEVICE_REMINDER", "MAIL", "MARKETING"]) return false unless huawei_category_validator.valid?(@huawei_category) true @@ -1101,6 +1118,16 @@ def aggregation=(aggregation) @aggregation = aggregation end + # Custom attribute writer method with validation + # @param [Object] email_bcc Value to be assigned + def email_bcc=(email_bcc) + if !email_bcc.nil? && email_bcc.length > 5 + fail ArgumentError, 'invalid value for "email_bcc", number of items must be less than or equal to 5.' + end + + @email_bcc = email_bcc + end + # Custom attribute writer method checking allowed values (enum). # @param [Object] huawei_category Object to be assigned def huawei_category=(huawei_category) @@ -1208,6 +1235,7 @@ def ==(o) email_preheader == o.email_preheader && disable_email_click_tracking == o.disable_email_click_tracking && include_unsubscribed == o.include_unsubscribed && + email_bcc == o.email_bcc && sms_from == o.sms_from && sms_media_urls == o.sms_media_urls && filters == o.filters && @@ -1228,7 +1256,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, value, name, aggregation, is_ios, is_android, is_huawei, is_any_web, is_chrome_web, is_firefox, is_safari, is_wp_wns, is_adm, is_chrome, app_id, external_id, idempotency_key, contents, headings, subtitle, data, huawei_msg_type, url, web_url, app_url, ios_attachments, template_id, content_available, mutable_content, target_content_identifier, big_picture, huawei_big_picture, adm_big_picture, chrome_big_picture, chrome_web_image, buttons, web_buttons, ios_category, android_channel_id, huawei_channel_id, existing_android_channel_id, huawei_existing_channel_id, android_background_layout, small_icon, huawei_small_icon, large_icon, huawei_large_icon, adm_small_icon, adm_large_icon, chrome_web_icon, chrome_web_badge, firefox_icon, chrome_icon, ios_sound, android_sound, huawei_sound, adm_sound, wp_wns_sound, android_led_color, huawei_led_color, android_accent_color, huawei_accent_color, android_visibility, huawei_visibility, ios_badge_type, ios_badge_count, collapse_id, web_push_topic, apns_alert, delayed_option, delivery_time_of_day, ttl, priority, apns_push_type_override, throttle_rate_per_minute, android_group, android_group_message, adm_group, adm_group_message, thread_id, summary_arg, summary_arg_count, ios_relevance_score, ios_interruption_level, email_subject, email_body, email_from_name, email_from_address, email_reply_to_address, email_preheader, disable_email_click_tracking, include_unsubscribed, sms_from, sms_media_urls, filters, custom_data, huawei_badge_class, huawei_badge_add_num, huawei_badge_set_num, huawei_category, huawei_bi_tag].hash + [id, value, name, aggregation, is_ios, is_android, is_huawei, is_any_web, is_chrome_web, is_firefox, is_safari, is_wp_wns, is_adm, is_chrome, app_id, external_id, idempotency_key, contents, headings, subtitle, data, huawei_msg_type, url, web_url, app_url, ios_attachments, template_id, content_available, mutable_content, target_content_identifier, big_picture, huawei_big_picture, adm_big_picture, chrome_big_picture, chrome_web_image, buttons, web_buttons, ios_category, android_channel_id, huawei_channel_id, existing_android_channel_id, huawei_existing_channel_id, android_background_layout, small_icon, huawei_small_icon, large_icon, huawei_large_icon, adm_small_icon, adm_large_icon, chrome_web_icon, chrome_web_badge, firefox_icon, chrome_icon, ios_sound, android_sound, huawei_sound, adm_sound, wp_wns_sound, android_led_color, huawei_led_color, android_accent_color, huawei_accent_color, android_visibility, huawei_visibility, ios_badge_type, ios_badge_count, collapse_id, web_push_topic, apns_alert, delayed_option, delivery_time_of_day, ttl, priority, apns_push_type_override, throttle_rate_per_minute, android_group, android_group_message, adm_group, adm_group_message, thread_id, summary_arg, summary_arg_count, ios_relevance_score, ios_interruption_level, email_subject, email_body, email_from_name, email_from_address, email_reply_to_address, email_preheader, disable_email_click_tracking, include_unsubscribed, email_bcc, sms_from, sms_media_urls, filters, custom_data, huawei_badge_class, huawei_badge_add_num, huawei_badge_set_num, huawei_category, huawei_bi_tag].hash end # Builds the object from hash 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 f24e515..44ef4ea 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.4.0 +The version of the OpenAPI document: 5.5.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 53e1ee3..1ef8c15 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.4.0 +The version of the OpenAPI document: 5.5.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 46194bd..edac61b 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.4.0 +The version of the OpenAPI document: 5.5.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 7693b65..7016174 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.4.0 +The version of the OpenAPI document: 5.5.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 949001c..26f2d6e 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.4.0 +The version of the OpenAPI document: 5.5.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 ad5602c..94616ef 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.4.0 +The version of the OpenAPI document: 5.5.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 2e58ebf..31b3509 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.4.0 +The version of the OpenAPI document: 5.5.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 e072448..49f2e0f 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.4.0 +The version of the OpenAPI document: 5.5.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 0428bb4..aa25d96 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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -36,6 +36,9 @@ class CreateTemplateRequest # Body of the email (HTML supported). attr_accessor :email_body + # BCC recipients for the email template. Maximum 5 addresses. Only supported when the email service provider is OneSignal Email. + attr_accessor :email_bcc + # Set true for an SMS template. attr_accessor :is_sms @@ -53,6 +56,7 @@ def self.attribute_map :'is_email' => :'isEmail', :'email_subject' => :'email_subject', :'email_body' => :'email_body', + :'email_bcc' => :'email_bcc', :'is_sms' => :'isSMS', :'dynamic_content' => :'dynamic_content' } @@ -74,6 +78,7 @@ def self.openapi_types :'is_email' => :'Boolean', :'email_subject' => :'String', :'email_body' => :'String', + :'email_bcc' => :'Array', :'is_sms' => :'Boolean', :'dynamic_content' => :'String' } @@ -84,6 +89,7 @@ def self.openapi_nullable Set.new([ :'email_subject', :'email_body', + :'email_bcc', :'dynamic_content' ]) end @@ -135,6 +141,12 @@ def initialize(attributes = {}) self.email_body = attributes[:'email_body'] end + if attributes.key?(:'email_bcc') + if (value = attributes[:'email_bcc']).is_a?(Array) + self.email_bcc = value + end + end + if attributes.key?(:'is_sms') self.is_sms = attributes[:'is_sms'] end @@ -160,6 +172,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "contents", contents cannot be nil.') end + if !@email_bcc.nil? && @email_bcc.length > 5 + invalid_properties.push('invalid value for "email_bcc", number of items must be less than or equal to 5.') + end + invalid_properties end @@ -169,9 +185,20 @@ def valid? return false if @app_id.nil? return false if @name.nil? return false if @contents.nil? + return false if !@email_bcc.nil? && @email_bcc.length > 5 true end + # Custom attribute writer method with validation + # @param [Object] email_bcc Value to be assigned + def email_bcc=(email_bcc) + if !email_bcc.nil? && email_bcc.length > 5 + fail ArgumentError, 'invalid value for "email_bcc", number of items must be less than or equal to 5.' + end + + @email_bcc = email_bcc + end + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) @@ -185,6 +212,7 @@ def ==(o) is_email == o.is_email && email_subject == o.email_subject && email_body == o.email_body && + email_bcc == o.email_bcc && is_sms == o.is_sms && dynamic_content == o.dynamic_content end @@ -198,7 +226,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [app_id, name, contents, headings, subtitle, is_email, email_subject, email_body, is_sms, dynamic_content].hash + [app_id, name, contents, headings, subtitle, is_email, email_subject, email_body, email_bcc, is_sms, dynamic_content].hash end # Builds the object from hash diff --git a/lib/onesignal/models/create_user_conflict_response.rb b/lib/onesignal/models/create_user_conflict_response.rb index 7f6c69a..de345c7 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.4.0 +The version of the OpenAPI document: 5.5.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 20490bf..c7ca646 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.4.0 +The version of the OpenAPI document: 5.5.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 9948c37..7f8bc64 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.4.0 +The version of the OpenAPI document: 5.5.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 794ac8a..1953438 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.4.0 +The version of the OpenAPI document: 5.5.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 65d3e15..f7cdd3c 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.4.0 +The version of the OpenAPI document: 5.5.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 830ba7a..8361540 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.4.0 +The version of the OpenAPI document: 5.5.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 5604218..e91c7e7 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.4.0 +The version of the OpenAPI document: 5.5.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 44b8a1b..8eee4ec 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.4.0 +The version of the OpenAPI document: 5.5.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 5099391..79cc959 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.4.0 +The version of the OpenAPI document: 5.5.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 13ddc1b..dc7b249 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.4.0 +The version of the OpenAPI document: 5.5.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 bab08af..16ea18f 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.4.0 +The version of the OpenAPI document: 5.5.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 f616c45..979e20d 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.4.0 +The version of the OpenAPI document: 5.5.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 050e596..fb6bf6d 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.4.0 +The version of the OpenAPI document: 5.5.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 25f6219..6b1e47f 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.4.0 +The version of the OpenAPI document: 5.5.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 95f254d..fc2e647 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.4.0 +The version of the OpenAPI document: 5.5.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 255d8e6..5b3f54c 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.4.0 +The version of the OpenAPI document: 5.5.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 76deb60..9a4ca2d 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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -322,6 +322,9 @@ class Notification # Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared. attr_accessor :include_unsubscribed + # Channel: Email BCC recipients for the email. Maximum 5 addresses. Only supported when the email service provider is OneSignal Email. + attr_accessor :email_bcc + # Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. attr_accessor :sms_from @@ -481,6 +484,7 @@ def self.attribute_map :'email_preheader' => :'email_preheader', :'disable_email_click_tracking' => :'disable_email_click_tracking', :'include_unsubscribed' => :'include_unsubscribed', + :'email_bcc' => :'email_bcc', :'sms_from' => :'sms_from', :'sms_media_urls' => :'sms_media_urls', :'filters' => :'filters', @@ -607,6 +611,7 @@ def self.openapi_types :'email_preheader' => :'String', :'disable_email_click_tracking' => :'Boolean', :'include_unsubscribed' => :'Boolean', + :'email_bcc' => :'Array', :'sms_from' => :'String', :'sms_media_urls' => :'Array', :'filters' => :'Array', @@ -705,6 +710,7 @@ def self.openapi_nullable :'email_reply_to_address', :'email_preheader', :'disable_email_click_tracking', + :'email_bcc', :'sms_from', :'sms_media_urls', :'filters', @@ -1189,6 +1195,12 @@ def initialize(attributes = {}) self.include_unsubscribed = attributes[:'include_unsubscribed'] end + if attributes.key?(:'email_bcc') + if (value = attributes[:'email_bcc']).is_a?(Array) + self.email_bcc = value + end + end + if attributes.key?(:'sms_from') self.sms_from = attributes[:'sms_from'] end @@ -1242,6 +1254,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "app_id", app_id cannot be nil.') end + if !@email_bcc.nil? && @email_bcc.length > 5 + invalid_properties.push('invalid value for "email_bcc", number of items must be less than or equal to 5.') + end + invalid_properties end @@ -1253,6 +1269,7 @@ def valid? aggregation_validator = EnumAttributeValidator.new('String', ["sum", "count"]) return false unless aggregation_validator.valid?(@aggregation) return false if @app_id.nil? + return false if !@email_bcc.nil? && @email_bcc.length > 5 huawei_category_validator = EnumAttributeValidator.new('String', ["IM", "VOIP", "SUBSCRIPTION", "TRAVEL", "HEALTH", "WORK", "ACCOUNT", "EXPRESS", "FINANCE", "DEVICE_REMINDER", "MAIL", "MARKETING"]) return false unless huawei_category_validator.valid?(@huawei_category) true @@ -1278,6 +1295,16 @@ def aggregation=(aggregation) @aggregation = aggregation end + # Custom attribute writer method with validation + # @param [Object] email_bcc Value to be assigned + def email_bcc=(email_bcc) + if !email_bcc.nil? && email_bcc.length > 5 + fail ArgumentError, 'invalid value for "email_bcc", number of items must be less than or equal to 5.' + end + + @email_bcc = email_bcc + end + # Custom attribute writer method checking allowed values (enum). # @param [Object] huawei_category Object to be assigned def huawei_category=(huawei_category) @@ -1398,6 +1425,7 @@ def ==(o) email_preheader == o.email_preheader && disable_email_click_tracking == o.disable_email_click_tracking && include_unsubscribed == o.include_unsubscribed && + email_bcc == o.email_bcc && sms_from == o.sms_from && sms_media_urls == o.sms_media_urls && filters == o.filters && @@ -1419,7 +1447,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [included_segments, excluded_segments, include_subscription_ids, include_email_tokens, include_phone_numbers, include_ios_tokens, include_wp_wns_uris, include_amazon_reg_ids, include_chrome_reg_ids, include_chrome_web_reg_ids, include_android_reg_ids, include_aliases, target_channel, id, value, name, aggregation, is_ios, is_android, is_huawei, is_any_web, is_chrome_web, is_firefox, is_safari, is_wp_wns, is_adm, is_chrome, app_id, external_id, idempotency_key, contents, headings, subtitle, data, huawei_msg_type, url, web_url, app_url, ios_attachments, template_id, content_available, mutable_content, target_content_identifier, big_picture, huawei_big_picture, adm_big_picture, chrome_big_picture, chrome_web_image, buttons, web_buttons, ios_category, android_channel_id, huawei_channel_id, existing_android_channel_id, huawei_existing_channel_id, android_background_layout, small_icon, huawei_small_icon, large_icon, huawei_large_icon, adm_small_icon, adm_large_icon, chrome_web_icon, chrome_web_badge, firefox_icon, chrome_icon, ios_sound, android_sound, huawei_sound, adm_sound, wp_wns_sound, android_led_color, huawei_led_color, android_accent_color, huawei_accent_color, android_visibility, huawei_visibility, ios_badge_type, ios_badge_count, collapse_id, web_push_topic, apns_alert, delayed_option, delivery_time_of_day, ttl, priority, apns_push_type_override, throttle_rate_per_minute, android_group, android_group_message, adm_group, adm_group_message, thread_id, summary_arg, summary_arg_count, ios_relevance_score, ios_interruption_level, email_subject, email_body, email_from_name, email_from_address, email_reply_to_address, email_preheader, disable_email_click_tracking, include_unsubscribed, sms_from, sms_media_urls, filters, custom_data, huawei_badge_class, huawei_badge_add_num, huawei_badge_set_num, huawei_category, huawei_bi_tag, send_after].hash + [included_segments, excluded_segments, include_subscription_ids, include_email_tokens, include_phone_numbers, include_ios_tokens, include_wp_wns_uris, include_amazon_reg_ids, include_chrome_reg_ids, include_chrome_web_reg_ids, include_android_reg_ids, include_aliases, target_channel, id, value, name, aggregation, is_ios, is_android, is_huawei, is_any_web, is_chrome_web, is_firefox, is_safari, is_wp_wns, is_adm, is_chrome, app_id, external_id, idempotency_key, contents, headings, subtitle, data, huawei_msg_type, url, web_url, app_url, ios_attachments, template_id, content_available, mutable_content, target_content_identifier, big_picture, huawei_big_picture, adm_big_picture, chrome_big_picture, chrome_web_image, buttons, web_buttons, ios_category, android_channel_id, huawei_channel_id, existing_android_channel_id, huawei_existing_channel_id, android_background_layout, small_icon, huawei_small_icon, large_icon, huawei_large_icon, adm_small_icon, adm_large_icon, chrome_web_icon, chrome_web_badge, firefox_icon, chrome_icon, ios_sound, android_sound, huawei_sound, adm_sound, wp_wns_sound, android_led_color, huawei_led_color, android_accent_color, huawei_accent_color, android_visibility, huawei_visibility, ios_badge_type, ios_badge_count, collapse_id, web_push_topic, apns_alert, delayed_option, delivery_time_of_day, ttl, priority, apns_push_type_override, throttle_rate_per_minute, android_group, android_group_message, adm_group, adm_group_message, thread_id, summary_arg, summary_arg_count, ios_relevance_score, ios_interruption_level, email_subject, email_body, email_from_name, email_from_address, email_reply_to_address, email_preheader, disable_email_click_tracking, include_unsubscribed, email_bcc, sms_from, sms_media_urls, filters, custom_data, huawei_badge_class, huawei_badge_add_num, huawei_badge_set_num, huawei_category, huawei_bi_tag, send_after].hash end # Builds the object from hash diff --git a/lib/onesignal/models/notification_all_of.rb b/lib/onesignal/models/notification_all_of.rb index 076d70b..53320d4 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.4.0 +The version of the OpenAPI document: 5.5.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 bbf2e43..c831af2 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.4.0 +The version of the OpenAPI document: 5.5.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 9ecf4c2..83261de 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.4.0 +The version of the OpenAPI document: 5.5.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 e75cb70..e262ee9 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.4.0 +The version of the OpenAPI document: 5.5.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 fe10e38..0564945 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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -322,6 +322,9 @@ class NotificationWithMeta # Channel: Email Default is `false`. This field is used to send transactional notifications. If set to `true`, this notification will also be sent to unsubscribed emails. If a `template_id` is provided, the `include_unsubscribed` value from the template will be inherited. If you are using a third-party ESP, this field requires the ESP's list of unsubscribed emails to be cleared. attr_accessor :include_unsubscribed + # BCC recipients that were set on this email notification. + attr_accessor :email_bcc + # Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. attr_accessor :sms_from @@ -382,6 +385,9 @@ class NotificationWithMeta # Indicates whether the notification was canceled before it could be sent. attr_accessor :canceled + # Number of BCC copies successfully sent for this notification. + attr_accessor :bcc_sent + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -512,6 +518,7 @@ def self.attribute_map :'email_preheader' => :'email_preheader', :'disable_email_click_tracking' => :'disable_email_click_tracking', :'include_unsubscribed' => :'include_unsubscribed', + :'email_bcc' => :'email_bcc', :'sms_from' => :'sms_from', :'sms_media_urls' => :'sms_media_urls', :'filters' => :'filters', @@ -532,7 +539,8 @@ def self.attribute_map :'send_after' => :'send_after', :'completed_at' => :'completed_at', :'platform_delivery_stats' => :'platform_delivery_stats', - :'canceled' => :'canceled' + :'canceled' => :'canceled', + :'bcc_sent' => :'bcc_sent' } end @@ -649,6 +657,7 @@ def self.openapi_types :'email_preheader' => :'String', :'disable_email_click_tracking' => :'Boolean', :'include_unsubscribed' => :'Boolean', + :'email_bcc' => :'Array', :'sms_from' => :'String', :'sms_media_urls' => :'Array', :'filters' => :'Array', @@ -669,7 +678,8 @@ def self.openapi_types :'send_after' => :'Integer', :'completed_at' => :'Integer', :'platform_delivery_stats' => :'PlatformDeliveryData', - :'canceled' => :'Boolean' + :'canceled' => :'Boolean', + :'bcc_sent' => :'Integer' } end @@ -758,6 +768,7 @@ def self.openapi_nullable :'email_reply_to_address', :'email_preheader', :'disable_email_click_tracking', + :'email_bcc', :'sms_from', :'sms_media_urls', :'filters', @@ -770,6 +781,7 @@ def self.openapi_nullable :'received', :'send_after', :'completed_at', + :'bcc_sent' ]) end @@ -1246,6 +1258,12 @@ def initialize(attributes = {}) self.include_unsubscribed = attributes[:'include_unsubscribed'] end + if attributes.key?(:'email_bcc') + if (value = attributes[:'email_bcc']).is_a?(Array) + self.email_bcc = value + end + end + if attributes.key?(:'sms_from') self.sms_from = attributes[:'sms_from'] end @@ -1335,6 +1353,10 @@ def initialize(attributes = {}) if attributes.key?(:'canceled') self.canceled = attributes[:'canceled'] end + + if attributes.key?(:'bcc_sent') + self.bcc_sent = attributes[:'bcc_sent'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -1501,6 +1523,7 @@ def ==(o) email_preheader == o.email_preheader && disable_email_click_tracking == o.disable_email_click_tracking && include_unsubscribed == o.include_unsubscribed && + email_bcc == o.email_bcc && sms_from == o.sms_from && sms_media_urls == o.sms_media_urls && filters == o.filters && @@ -1521,7 +1544,8 @@ def ==(o) send_after == o.send_after && completed_at == o.completed_at && platform_delivery_stats == o.platform_delivery_stats && - canceled == o.canceled + canceled == o.canceled && + bcc_sent == o.bcc_sent end # @see the `==` method @@ -1533,7 +1557,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [included_segments, excluded_segments, include_subscription_ids, include_email_tokens, include_phone_numbers, include_ios_tokens, include_wp_wns_uris, include_amazon_reg_ids, include_chrome_reg_ids, include_chrome_web_reg_ids, include_android_reg_ids, include_aliases, target_channel, id, value, name, aggregation, is_ios, is_android, is_huawei, is_any_web, is_chrome_web, is_firefox, is_safari, is_wp_wns, is_adm, is_chrome, app_id, external_id, idempotency_key, contents, headings, subtitle, data, huawei_msg_type, url, web_url, app_url, ios_attachments, template_id, content_available, mutable_content, target_content_identifier, big_picture, huawei_big_picture, adm_big_picture, chrome_big_picture, chrome_web_image, buttons, web_buttons, ios_category, android_channel_id, huawei_channel_id, existing_android_channel_id, huawei_existing_channel_id, android_background_layout, small_icon, huawei_small_icon, large_icon, huawei_large_icon, adm_small_icon, adm_large_icon, chrome_web_icon, chrome_web_badge, firefox_icon, chrome_icon, ios_sound, android_sound, huawei_sound, adm_sound, wp_wns_sound, android_led_color, huawei_led_color, android_accent_color, huawei_accent_color, android_visibility, huawei_visibility, ios_badge_type, ios_badge_count, collapse_id, web_push_topic, apns_alert, delayed_option, delivery_time_of_day, ttl, priority, apns_push_type_override, throttle_rate_per_minute, android_group, android_group_message, adm_group, adm_group_message, thread_id, summary_arg, summary_arg_count, ios_relevance_score, ios_interruption_level, email_subject, email_body, email_from_name, email_from_address, email_reply_to_address, email_preheader, disable_email_click_tracking, include_unsubscribed, sms_from, sms_media_urls, filters, custom_data, huawei_badge_class, huawei_badge_add_num, huawei_badge_set_num, huawei_category, huawei_bi_tag, successful, failed, errored, converted, received, outcomes, remaining, queued_at, send_after, completed_at, platform_delivery_stats, canceled].hash + [included_segments, excluded_segments, include_subscription_ids, include_email_tokens, include_phone_numbers, include_ios_tokens, include_wp_wns_uris, include_amazon_reg_ids, include_chrome_reg_ids, include_chrome_web_reg_ids, include_android_reg_ids, include_aliases, target_channel, id, value, name, aggregation, is_ios, is_android, is_huawei, is_any_web, is_chrome_web, is_firefox, is_safari, is_wp_wns, is_adm, is_chrome, app_id, external_id, idempotency_key, contents, headings, subtitle, data, huawei_msg_type, url, web_url, app_url, ios_attachments, template_id, content_available, mutable_content, target_content_identifier, big_picture, huawei_big_picture, adm_big_picture, chrome_big_picture, chrome_web_image, buttons, web_buttons, ios_category, android_channel_id, huawei_channel_id, existing_android_channel_id, huawei_existing_channel_id, android_background_layout, small_icon, huawei_small_icon, large_icon, huawei_large_icon, adm_small_icon, adm_large_icon, chrome_web_icon, chrome_web_badge, firefox_icon, chrome_icon, ios_sound, android_sound, huawei_sound, adm_sound, wp_wns_sound, android_led_color, huawei_led_color, android_accent_color, huawei_accent_color, android_visibility, huawei_visibility, ios_badge_type, ios_badge_count, collapse_id, web_push_topic, apns_alert, delayed_option, delivery_time_of_day, ttl, priority, apns_push_type_override, throttle_rate_per_minute, android_group, android_group_message, adm_group, adm_group_message, thread_id, summary_arg, summary_arg_count, ios_relevance_score, ios_interruption_level, email_subject, email_body, email_from_name, email_from_address, email_reply_to_address, email_preheader, disable_email_click_tracking, include_unsubscribed, email_bcc, sms_from, sms_media_urls, filters, custom_data, huawei_badge_class, huawei_badge_add_num, huawei_badge_set_num, huawei_category, huawei_bi_tag, successful, failed, errored, converted, received, outcomes, remaining, queued_at, send_after, completed_at, platform_delivery_stats, canceled, bcc_sent].hash end # Builds the object from hash diff --git a/lib/onesignal/models/notification_with_meta_all_of.rb b/lib/onesignal/models/notification_with_meta_all_of.rb index 54b368b..846bad2 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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -50,6 +50,12 @@ class NotificationWithMetaAllOf # Indicates whether the notification was canceled before it could be sent. attr_accessor :canceled + # BCC recipients that were set on this email notification. + attr_accessor :email_bcc + + # Number of BCC copies successfully sent for this notification. + attr_accessor :bcc_sent + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -64,7 +70,9 @@ def self.attribute_map :'platform_delivery_stats' => :'platform_delivery_stats', :'received' => :'received', :'throttle_rate_per_minute' => :'throttle_rate_per_minute', - :'canceled' => :'canceled' + :'canceled' => :'canceled', + :'email_bcc' => :'email_bcc', + :'bcc_sent' => :'bcc_sent' } end @@ -87,7 +95,9 @@ def self.openapi_types :'platform_delivery_stats' => :'PlatformDeliveryData', :'received' => :'Integer', :'throttle_rate_per_minute' => :'Integer', - :'canceled' => :'Boolean' + :'canceled' => :'Boolean', + :'email_bcc' => :'Array', + :'bcc_sent' => :'Integer' } end @@ -98,6 +108,8 @@ def self.openapi_nullable :'completed_at', :'received', :'throttle_rate_per_minute', + :'email_bcc', + :'bcc_sent' ]) end @@ -163,6 +175,16 @@ def initialize(attributes = {}) if attributes.key?(:'canceled') self.canceled = attributes[:'canceled'] end + + if attributes.key?(:'email_bcc') + if (value = attributes[:'email_bcc']).is_a?(Array) + self.email_bcc = value + end + end + + if attributes.key?(:'bcc_sent') + self.bcc_sent = attributes[:'bcc_sent'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -194,7 +216,9 @@ def ==(o) platform_delivery_stats == o.platform_delivery_stats && received == o.received && throttle_rate_per_minute == o.throttle_rate_per_minute && - canceled == o.canceled + canceled == o.canceled && + email_bcc == o.email_bcc && + bcc_sent == o.bcc_sent end # @see the `==` method @@ -206,7 +230,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [remaining, successful, failed, errored, converted, queued_at, send_after, completed_at, platform_delivery_stats, received, throttle_rate_per_minute, canceled].hash + [remaining, successful, failed, errored, converted, queued_at, send_after, completed_at, platform_delivery_stats, received, throttle_rate_per_minute, canceled, email_bcc, bcc_sent].hash end # Builds the object from hash diff --git a/lib/onesignal/models/operator.rb b/lib/onesignal/models/operator.rb index 9a6e6c6..006394a 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.4.0 +The version of the OpenAPI document: 5.5.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 f8c6ad6..2bbf3a7 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.4.0 +The version of the OpenAPI document: 5.5.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 8387acb..b0da87e 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.4.0 +The version of the OpenAPI document: 5.5.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 510130c..c9bf917 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.4.0 +The version of the OpenAPI document: 5.5.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 f7af940..eee5933 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.4.0 +The version of the OpenAPI document: 5.5.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 67aae46..84ce6de 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.4.0 +The version of the OpenAPI document: 5.5.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 25c8814..d030680 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.4.0 +The version of the OpenAPI document: 5.5.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 4de0743..6e37147 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.4.0 +The version of the OpenAPI document: 5.5.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 baecf44..b956986 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.4.0 +The version of the OpenAPI document: 5.5.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 cc2ab98..7e61d77 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.4.0 +The version of the OpenAPI document: 5.5.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 15ea03b..b1d3808 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.4.0 +The version of the OpenAPI document: 5.5.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 7c46997..f415c42 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.4.0 +The version of the OpenAPI document: 5.5.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 7face7f..cbbbceb 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.4.0 +The version of the OpenAPI document: 5.5.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 68abdca..1ad85fc 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.4.0 +The version of the OpenAPI document: 5.5.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 9d0aa1e..9380c53 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.4.0 +The version of the OpenAPI document: 5.5.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 8c378c2..6a26da3 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.4.0 +The version of the OpenAPI document: 5.5.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 066be47..8b967a4 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.4.0 +The version of the OpenAPI document: 5.5.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 c47b8bf..c5c03db 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.4.0 +The version of the OpenAPI document: 5.5.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 d7622db..35dfe86 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.4.0 +The version of the OpenAPI document: 5.5.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 d990a05..91829a9 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.4.0 +The version of the OpenAPI document: 5.5.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 5c31349..a52c0b2 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.4.0 +The version of the OpenAPI document: 5.5.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 45097b8..ffd412c 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.4.0 +The version of the OpenAPI document: 5.5.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 78025ed..ea7fc92 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.4.0 +The version of the OpenAPI document: 5.5.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 1048b12..811d41b 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.4.0 +The version of the OpenAPI document: 5.5.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 bd3b3a2..833860d 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.4.0 +The version of the OpenAPI document: 5.5.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 4864a76..0db12a6 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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -33,6 +33,9 @@ class UpdateTemplateRequest # Body of the email (HTML supported). attr_accessor :email_body + # BCC recipients for the email template. Maximum 5 addresses. Only supported when the email service provider is OneSignal Email. + attr_accessor :email_bcc + # Set true for an SMS template. attr_accessor :is_sms @@ -49,6 +52,7 @@ def self.attribute_map :'is_email' => :'isEmail', :'email_subject' => :'email_subject', :'email_body' => :'email_body', + :'email_bcc' => :'email_bcc', :'is_sms' => :'isSMS', :'dynamic_content' => :'dynamic_content' } @@ -69,6 +73,7 @@ def self.openapi_types :'is_email' => :'Boolean', :'email_subject' => :'String', :'email_body' => :'String', + :'email_bcc' => :'Array', :'is_sms' => :'Boolean', :'dynamic_content' => :'String' } @@ -79,6 +84,7 @@ def self.openapi_nullable Set.new([ :'email_subject', :'email_body', + :'email_bcc', :'dynamic_content' ]) end @@ -126,6 +132,12 @@ def initialize(attributes = {}) self.email_body = attributes[:'email_body'] end + if attributes.key?(:'email_bcc') + if (value = attributes[:'email_bcc']).is_a?(Array) + self.email_bcc = value + end + end + if attributes.key?(:'is_sms') self.is_sms = attributes[:'is_sms'] end @@ -139,15 +151,30 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + if !@email_bcc.nil? && @email_bcc.length > 5 + invalid_properties.push('invalid value for "email_bcc", number of items must be less than or equal to 5.') + end + invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if !@email_bcc.nil? && @email_bcc.length > 5 true end + # Custom attribute writer method with validation + # @param [Object] email_bcc Value to be assigned + def email_bcc=(email_bcc) + if !email_bcc.nil? && email_bcc.length > 5 + fail ArgumentError, 'invalid value for "email_bcc", number of items must be less than or equal to 5.' + end + + @email_bcc = email_bcc + end + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) @@ -160,6 +187,7 @@ def ==(o) is_email == o.is_email && email_subject == o.email_subject && email_body == o.email_body && + email_bcc == o.email_bcc && is_sms == o.is_sms && dynamic_content == o.dynamic_content end @@ -173,7 +201,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [name, contents, headings, subtitle, is_email, email_subject, email_body, is_sms, dynamic_content].hash + [name, contents, headings, subtitle, is_email, email_subject, email_body, email_bcc, is_sms, dynamic_content].hash end # Builds the object from hash diff --git a/lib/onesignal/models/update_user_request.rb b/lib/onesignal/models/update_user_request.rb index dd79874..012d681 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.4.0 +The version of the OpenAPI document: 5.5.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 3eaf7c8..f7ad7a4 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.4.0 +The version of the OpenAPI document: 5.5.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 398e118..f45dab0 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.4.0 +The version of the OpenAPI document: 5.5.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 ba8d6a6..95aa577 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.4.0 +The version of the OpenAPI document: 5.5.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 9a7d3cb..57c51bb 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.4.0 +The version of the OpenAPI document: 5.5.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.4.0' + VERSION = '5.5.0' end diff --git a/onesignal.gemspec b/onesignal.gemspec index 5fedb35..1f08d28 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.4.0 +The version of the OpenAPI document: 5.5.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 49e7e6a..18bf888 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.4.0 +The version of the OpenAPI document: 5.5.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 3a5eb5c..9012780 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.4.0 +The version of the OpenAPI document: 5.5.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 a7311cc..e9894cd 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.4.0 +The version of the OpenAPI document: 5.5.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 d379e8c..db4a98f 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.4.0 +The version of the OpenAPI document: 5.5.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 930031d..f3a2359 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.4.0 +The version of the OpenAPI document: 5.5.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 fb1255f..d7f20c2 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.4.0 +The version of the OpenAPI document: 5.5.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 3945cc0..d2bc7b7 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.4.0 +The version of the OpenAPI document: 5.5.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 cd85a3e..0cd9a93 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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -581,6 +581,12 @@ end end + describe 'test attribute "email_bcc"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "sms_from"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/spec/models/basic_notification_spec.rb b/spec/models/basic_notification_spec.rb index 33e6d13..f174fea 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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -663,6 +663,12 @@ end end + describe 'test attribute "email_bcc"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "sms_from"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/spec/models/button_spec.rb b/spec/models/button_spec.rb index 4911bd1..4166588 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.4.0 +The version of the OpenAPI document: 5.5.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 baa7fdb..8493d36 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.4.0 +The version of the OpenAPI document: 5.5.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 827d257..2617c26 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.4.0 +The version of the OpenAPI document: 5.5.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 efd853a..81a8b36 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.4.0 +The version of the OpenAPI document: 5.5.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 1a1191c..3d17c33 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.4.0 +The version of the OpenAPI document: 5.5.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 fc81613..5c53c12 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.4.0 +The version of the OpenAPI document: 5.5.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 07e2ab8..d14970f 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.4.0 +The version of the OpenAPI document: 5.5.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 352f04c..d0e5d56 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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -73,6 +73,12 @@ end end + describe 'test attribute "email_bcc"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_sms"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers 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 a225523..d06d424 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.4.0 +The version of the OpenAPI document: 5.5.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 451b914..93cd8b7 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.4.0 +The version of the OpenAPI document: 5.5.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 5b17f15..f3f0b55 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.4.0 +The version of the OpenAPI document: 5.5.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 0a0d358..8e17a3b 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.4.0 +The version of the OpenAPI document: 5.5.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 9d106cd..48330eb 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.4.0 +The version of the OpenAPI document: 5.5.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 c8f6d3d..316837c 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.4.0 +The version of the OpenAPI document: 5.5.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 83f4a04..4251ad0 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.4.0 +The version of the OpenAPI document: 5.5.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 521557a..db0d73d 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.4.0 +The version of the OpenAPI document: 5.5.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 24e1162..955ba48 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.4.0 +The version of the OpenAPI document: 5.5.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 e549909..1ed1a8e 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.4.0 +The version of the OpenAPI document: 5.5.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 939a5cf..dd62923 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.4.0 +The version of the OpenAPI document: 5.5.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 7c2f520..429ac2a 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.4.0 +The version of the OpenAPI document: 5.5.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 767e3f7..8dd2351 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.4.0 +The version of the OpenAPI document: 5.5.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 3b0e4b1..0d16be3 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.4.0 +The version of the OpenAPI document: 5.5.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 12d35c2..52f1665 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.4.0 +The version of the OpenAPI document: 5.5.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 a3c8aa5..7163c3b 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.4.0 +The version of the OpenAPI document: 5.5.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 96196d9..73d6da9 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.4.0 +The version of the OpenAPI document: 5.5.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 45f77b9..413513d 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.4.0 +The version of the OpenAPI document: 5.5.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 5be08ea..27cfa27 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.4.0 +The version of the OpenAPI document: 5.5.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 29150c5..324ad41 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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -663,6 +663,12 @@ end end + describe 'test attribute "email_bcc"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "sms_from"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/spec/models/notification_target_spec.rb b/spec/models/notification_target_spec.rb index b66b46f..9e9f3f9 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.4.0 +The version of the OpenAPI document: 5.5.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 d93af16..f403aae 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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -97,4 +97,16 @@ end end + describe 'test attribute "email_bcc"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "bcc_sent"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/spec/models/notification_with_meta_spec.rb b/spec/models/notification_with_meta_spec.rb index 76e3b81..c1242a0 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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -663,6 +663,12 @@ end end + describe 'test attribute "email_bcc"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "sms_from"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -793,4 +799,10 @@ end end + describe 'test attribute "bcc_sent"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/spec/models/operator_spec.rb b/spec/models/operator_spec.rb index e95667b..0d9240e 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.4.0 +The version of the OpenAPI document: 5.5.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 00a100b..bd77074 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.4.0 +The version of the OpenAPI document: 5.5.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 e7cf2b4..fe6ab0e 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.4.0 +The version of the OpenAPI document: 5.5.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 682a724..a652e52 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.4.0 +The version of the OpenAPI document: 5.5.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 0a34bee..ee525c5 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.4.0 +The version of the OpenAPI document: 5.5.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 76f7cb2..593c28f 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.4.0 +The version of the OpenAPI document: 5.5.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 276996a..047c829 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.4.0 +The version of the OpenAPI document: 5.5.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 4ce8612..e8c4186 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.4.0 +The version of the OpenAPI document: 5.5.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 c0edacb..2629a94 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.4.0 +The version of the OpenAPI document: 5.5.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 885c249..807ddd7 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.4.0 +The version of the OpenAPI document: 5.5.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 fef28aa..fd4b543 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.4.0 +The version of the OpenAPI document: 5.5.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 726cf94..eb3b61c 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.4.0 +The version of the OpenAPI document: 5.5.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 70be3b7..e008c5b 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.4.0 +The version of the OpenAPI document: 5.5.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 2acabef..034cd10 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.4.0 +The version of the OpenAPI document: 5.5.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 6f09404..53dbd3e 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.4.0 +The version of the OpenAPI document: 5.5.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 d57997b..7e66d1f 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.4.0 +The version of the OpenAPI document: 5.5.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 be51dfb..288c12e 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.4.0 +The version of the OpenAPI document: 5.5.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 0ae7dba..4887867 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.4.0 +The version of the OpenAPI document: 5.5.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 9e2b0e1..5431fb7 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.4.0 +The version of the OpenAPI document: 5.5.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 9e9fd59..c3bebac 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.4.0 +The version of the OpenAPI document: 5.5.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 c2b8133..773dfde 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.4.0 +The version of the OpenAPI document: 5.5.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 c6c2458..80af8fe 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.4.0 +The version of the OpenAPI document: 5.5.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 8a8e7e5..d9b8180 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.4.0 +The version of the OpenAPI document: 5.5.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 375b365..3df9149 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.4.0 +The version of the OpenAPI document: 5.5.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 5de60d3..f3c13d0 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.4.0 +The version of the OpenAPI document: 5.5.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 513ae8c..eecd034 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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -67,6 +67,12 @@ end end + describe 'test attribute "email_bcc"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "is_sms"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/spec/models/update_user_request_spec.rb b/spec/models/update_user_request_spec.rb index 77052b4..c127ad9 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.4.0 +The version of the OpenAPI document: 5.5.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 c42f6fa..0a89756 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.4.0 +The version of the OpenAPI document: 5.5.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 faa0a81..d8f75bd 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.4.0 +The version of the OpenAPI document: 5.5.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 a10487d..ef76d3d 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.4.0 +The version of the OpenAPI document: 5.5.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 39ef724..99b9172 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.4.0 +The version of the OpenAPI document: 5.5.0 Contact: devrel@onesignal.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.0-SNAPSHOT