diff --git a/README.md b/README.md index a52bc9d0..14830d75 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # onesignal-java-client OneSignal -- API version: 5.5.0 +- API version: 5.6.0 A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com @@ -19,14 +19,14 @@ Building the API client library requires: com.onesignal onesignal-java-client - 5.5.0 + 5.6.0 ``` ### Gradle ```groovy -implementation "com.onesignal:onesignal-java-client:5.5.0" +implementation "com.onesignal:onesignal-java-client:5.6.0" ``` ## Configuration diff --git a/api/openapi.yaml b/api/openapi.yaml index d52a307c..5ee31be5 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -8,7 +8,7 @@ info: customer engagement strategies. Learn more at onesignal.com termsOfService: https://onesignal.com/tos title: OneSignal - version: 5.5.0 + version: 5.6.0 servers: - url: https://api.onesignal.com paths: @@ -2580,10 +2580,19 @@ components: nullable: true type: array include_email_tokens: - description: "Recommended for Sending Emails - Target specific email addresses.\n\ - If an email does not correspond to an existing user, a new user will be\ - \ created.\nExample: nick@catfac.ts\nLimit of 2,000 entries per REST API\ - \ call\n" + deprecated: true + description: "Deprecated alias for `email_to`. Target specific email addresses.\ + \ If an email does not correspond to an existing user, a new user will\ + \ be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST\ + \ API call. Prefer `email_to` in new integrations.\n" + items: + type: string + type: array + email_to: + description: "Recommended for Sending Emails - Target specific email addresses.\ + \ If an email does not correspond to an existing user, a new user will\ + \ be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST\ + \ API call. Supersedes the deprecated `include_email_tokens` field.\n" items: type: string type: array @@ -5405,6 +5414,13 @@ components: nullable: true type: array writeOnly: true + email_sender_domain: + description: "Channel: Email\nSender domain to use for the email message.\ + \ Overrides the default sender domain configured for the app. Only supported\ + \ when the email service provider is OneSignal Email.\n" + nullable: true + type: string + writeOnly: true sms_from: description: "Channel: SMS\nPhone Number used to send SMS. Should be a registered\ \ Twilio phone number in E.164 format.\n" diff --git a/build.gradle b/build.gradle index 08d8984e..87dcaa98 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ apply plugin: 'com.diffplug.spotless' apply plugin: 'com.vanniktech.maven.publish' group = 'com.onesignal' -version = '5.5.0' +version = '5.6.0' buildscript { repositories { diff --git a/build.sbt b/build.sbt index 5d057eec..cbc98c0d 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")). settings( organization := "com.onesignal", name := "onesignal-java-client", - version := "5.5.0", + version := "5.6.0", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), javacOptions in compile ++= Seq("-Xlint:deprecation"), diff --git a/docs/BasicNotification.md b/docs/BasicNotification.md index 76777bd0..7bc341ec 100644 --- a/docs/BasicNotification.md +++ b/docs/BasicNotification.md @@ -10,7 +10,8 @@ |**includedSegments** | **List<String>** | The segment names you want to target. Users in these segments will receive a notification. This targeting parameter is only compatible with excluded_segments. Example: [\"Active Users\", \"Inactive Users\"] | [optional] | |**excludedSegments** | **List<String>** | Segment that will be excluded when sending. Users in these segments will not receive a notification, even if they were included in included_segments. This targeting parameter is only compatible with included_segments. Example: [\"Active Users\", \"Inactive Users\"] | [optional] | |**includeSubscriptionIds** | **List<String>** | Specific subscription ids to send your notification to. _Does not require API Auth Key._ Not compatible with any other targeting parameters. Example: [\"1dd608f2-c6a1-11e3-851d-000c2940e62c\"] Limit of 2,000 entries per REST API call | [optional] | -|**includeEmailTokens** | **List<String>** | Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts Limit of 2,000 entries per REST API call | [optional] | +|**includeEmailTokens** | **List<String>** | Deprecated alias for `email_to`. Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Prefer `email_to` in new integrations. | [optional] | +|**emailTo** | **List<String>** | Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Supersedes the deprecated `include_email_tokens` field. | [optional] | |**includePhoneNumbers** | **List<String>** | Recommended for Sending SMS - Target specific phone numbers. The phone number should be in the E.164 format. Phone number should be an existing subscriber on OneSignal. Refer our docs to learn how to add phone numbers to OneSignal. Example phone number: +1999999999 Limit of 2,000 entries per REST API call | [optional] | |**includeIosTokens** | **List<String>** | Not Recommended: Please consider using include_subscription_ids or include_aliases instead. Target using iOS device tokens. Warning: Only works with Production tokens. All non-alphanumeric characters must be removed from each token. If a token does not correspond to an existing user, a new user will be created. Example: ce777617da7f548fe7a9ab6febb56cf39fba6d38203... Limit of 2,000 entries per REST API call | [optional] | |**includeWpWnsUris** | **List<String>** | Not Recommended: Please consider using include_subscription_ids or include_aliases instead. Target using Windows URIs. If a token does not correspond to an existing user, a new user will be created. Example: http://s.notify.live.net/u/1/bn1/HmQAAACPaLDr-... Limit of 2,000 entries per REST API call | [optional] | @@ -113,6 +114,7 @@ |**disableEmailClickTracking** | **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] | |**includeUnsubscribed** | **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] | |**emailBcc** | **List<String>** | Channel: Email BCC recipients for the email. Maximum 5 addresses. Only supported when the email service provider is OneSignal Email. | [optional] | +|**emailSenderDomain** | **String** | Channel: Email Sender domain to use for the email message. Overrides the default sender domain configured for the app. Only supported when the email service provider is OneSignal Email. | [optional] | |**smsFrom** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] | |**smsMediaUrls** | **List<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** | [**List<FilterExpression>**](FilterExpression.md) | | [optional] | diff --git a/docs/BasicNotificationAllOf.md b/docs/BasicNotificationAllOf.md index 560f138e..4c3454bc 100644 --- a/docs/BasicNotificationAllOf.md +++ b/docs/BasicNotificationAllOf.md @@ -100,6 +100,7 @@ |**disableEmailClickTracking** | **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] | |**includeUnsubscribed** | **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] | |**emailBcc** | **List<String>** | Channel: Email BCC recipients for the email. Maximum 5 addresses. Only supported when the email service provider is OneSignal Email. | [optional] | +|**emailSenderDomain** | **String** | Channel: Email Sender domain to use for the email message. Overrides the default sender domain configured for the app. Only supported when the email service provider is OneSignal Email. | [optional] | |**smsFrom** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] | |**smsMediaUrls** | **List<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** | [**List<FilterExpression>**](FilterExpression.md) | | [optional] | diff --git a/docs/Notification.md b/docs/Notification.md index fe9fcd00..5e593579 100644 --- a/docs/Notification.md +++ b/docs/Notification.md @@ -10,7 +10,8 @@ |**includedSegments** | **List<String>** | The segment names you want to target. Users in these segments will receive a notification. This targeting parameter is only compatible with excluded_segments. Example: [\"Active Users\", \"Inactive Users\"] | [optional] | |**excludedSegments** | **List<String>** | Segment that will be excluded when sending. Users in these segments will not receive a notification, even if they were included in included_segments. This targeting parameter is only compatible with included_segments. Example: [\"Active Users\", \"Inactive Users\"] | [optional] | |**includeSubscriptionIds** | **List<String>** | Specific subscription ids to send your notification to. _Does not require API Auth Key._ Not compatible with any other targeting parameters. Example: [\"1dd608f2-c6a1-11e3-851d-000c2940e62c\"] Limit of 2,000 entries per REST API call | [optional] | -|**includeEmailTokens** | **List<String>** | Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts Limit of 2,000 entries per REST API call | [optional] | +|**includeEmailTokens** | **List<String>** | Deprecated alias for `email_to`. Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Prefer `email_to` in new integrations. | [optional] | +|**emailTo** | **List<String>** | Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Supersedes the deprecated `include_email_tokens` field. | [optional] | |**includePhoneNumbers** | **List<String>** | Recommended for Sending SMS - Target specific phone numbers. The phone number should be in the E.164 format. Phone number should be an existing subscriber on OneSignal. Refer our docs to learn how to add phone numbers to OneSignal. Example phone number: +1999999999 Limit of 2,000 entries per REST API call | [optional] | |**includeIosTokens** | **List<String>** | Not Recommended: Please consider using include_subscription_ids or include_aliases instead. Target using iOS device tokens. Warning: Only works with Production tokens. All non-alphanumeric characters must be removed from each token. If a token does not correspond to an existing user, a new user will be created. Example: ce777617da7f548fe7a9ab6febb56cf39fba6d38203... Limit of 2,000 entries per REST API call | [optional] | |**includeWpWnsUris** | **List<String>** | Not Recommended: Please consider using include_subscription_ids or include_aliases instead. Target using Windows URIs. If a token does not correspond to an existing user, a new user will be created. Example: http://s.notify.live.net/u/1/bn1/HmQAAACPaLDr-... Limit of 2,000 entries per REST API call | [optional] | @@ -113,6 +114,7 @@ |**disableEmailClickTracking** | **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] | |**includeUnsubscribed** | **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] | |**emailBcc** | **List<String>** | Channel: Email BCC recipients for the email. Maximum 5 addresses. Only supported when the email service provider is OneSignal Email. | [optional] | +|**emailSenderDomain** | **String** | Channel: Email Sender domain to use for the email message. Overrides the default sender domain configured for the app. Only supported when the email service provider is OneSignal Email. | [optional] | |**smsFrom** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] | |**smsMediaUrls** | **List<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** | [**List<FilterExpression>**](FilterExpression.md) | | [optional] | diff --git a/docs/NotificationTarget.md b/docs/NotificationTarget.md index 87eb7a68..db4e8cdd 100644 --- a/docs/NotificationTarget.md +++ b/docs/NotificationTarget.md @@ -10,7 +10,8 @@ |**includedSegments** | **List<String>** | The segment names you want to target. Users in these segments will receive a notification. This targeting parameter is only compatible with excluded_segments. Example: [\"Active Users\", \"Inactive Users\"] | [optional] | |**excludedSegments** | **List<String>** | Segment that will be excluded when sending. Users in these segments will not receive a notification, even if they were included in included_segments. This targeting parameter is only compatible with included_segments. Example: [\"Active Users\", \"Inactive Users\"] | [optional] | |**includeSubscriptionIds** | **List<String>** | Specific subscription ids to send your notification to. _Does not require API Auth Key._ Not compatible with any other targeting parameters. Example: [\"1dd608f2-c6a1-11e3-851d-000c2940e62c\"] Limit of 2,000 entries per REST API call | [optional] | -|**includeEmailTokens** | **List<String>** | Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts Limit of 2,000 entries per REST API call | [optional] | +|**includeEmailTokens** | **List<String>** | Deprecated alias for `email_to`. Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Prefer `email_to` in new integrations. | [optional] | +|**emailTo** | **List<String>** | Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Supersedes the deprecated `include_email_tokens` field. | [optional] | |**includePhoneNumbers** | **List<String>** | Recommended for Sending SMS - Target specific phone numbers. The phone number should be in the E.164 format. Phone number should be an existing subscriber on OneSignal. Refer our docs to learn how to add phone numbers to OneSignal. Example phone number: +1999999999 Limit of 2,000 entries per REST API call | [optional] | |**includeIosTokens** | **List<String>** | Not Recommended: Please consider using include_subscription_ids or include_aliases instead. Target using iOS device tokens. Warning: Only works with Production tokens. All non-alphanumeric characters must be removed from each token. If a token does not correspond to an existing user, a new user will be created. Example: ce777617da7f548fe7a9ab6febb56cf39fba6d38203... Limit of 2,000 entries per REST API call | [optional] | |**includeWpWnsUris** | **List<String>** | Not Recommended: Please consider using include_subscription_ids or include_aliases instead. Target using Windows URIs. If a token does not correspond to an existing user, a new user will be created. Example: http://s.notify.live.net/u/1/bn1/HmQAAACPaLDr-... Limit of 2,000 entries per REST API call | [optional] | diff --git a/docs/NotificationWithMeta.md b/docs/NotificationWithMeta.md index bb008dbd..c410f931 100644 --- a/docs/NotificationWithMeta.md +++ b/docs/NotificationWithMeta.md @@ -10,7 +10,8 @@ |**includedSegments** | **List<String>** | The segment names you want to target. Users in these segments will receive a notification. This targeting parameter is only compatible with excluded_segments. Example: [\"Active Users\", \"Inactive Users\"] | [optional] | |**excludedSegments** | **List<String>** | Segment that will be excluded when sending. Users in these segments will not receive a notification, even if they were included in included_segments. This targeting parameter is only compatible with included_segments. Example: [\"Active Users\", \"Inactive Users\"] | [optional] | |**includeSubscriptionIds** | **List<String>** | Specific subscription ids to send your notification to. _Does not require API Auth Key._ Not compatible with any other targeting parameters. Example: [\"1dd608f2-c6a1-11e3-851d-000c2940e62c\"] Limit of 2,000 entries per REST API call | [optional] | -|**includeEmailTokens** | **List<String>** | Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts Limit of 2,000 entries per REST API call | [optional] | +|**includeEmailTokens** | **List<String>** | Deprecated alias for `email_to`. Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Prefer `email_to` in new integrations. | [optional] | +|**emailTo** | **List<String>** | Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Supersedes the deprecated `include_email_tokens` field. | [optional] | |**includePhoneNumbers** | **List<String>** | Recommended for Sending SMS - Target specific phone numbers. The phone number should be in the E.164 format. Phone number should be an existing subscriber on OneSignal. Refer our docs to learn how to add phone numbers to OneSignal. Example phone number: +1999999999 Limit of 2,000 entries per REST API call | [optional] | |**includeIosTokens** | **List<String>** | Not Recommended: Please consider using include_subscription_ids or include_aliases instead. Target using iOS device tokens. Warning: Only works with Production tokens. All non-alphanumeric characters must be removed from each token. If a token does not correspond to an existing user, a new user will be created. Example: ce777617da7f548fe7a9ab6febb56cf39fba6d38203... Limit of 2,000 entries per REST API call | [optional] | |**includeWpWnsUris** | **List<String>** | Not Recommended: Please consider using include_subscription_ids or include_aliases instead. Target using Windows URIs. If a token does not correspond to an existing user, a new user will be created. Example: http://s.notify.live.net/u/1/bn1/HmQAAACPaLDr-... Limit of 2,000 entries per REST API call | [optional] | @@ -113,6 +114,7 @@ |**disableEmailClickTracking** | **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] | |**includeUnsubscribed** | **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] | |**emailBcc** | **List<String>** | BCC recipients that were set on this email notification. | [optional] | +|**emailSenderDomain** | **String** | Channel: Email Sender domain to use for the email message. Overrides the default sender domain configured for the app. Only supported when the email service provider is OneSignal Email. | [optional] | |**smsFrom** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] | |**smsMediaUrls** | **List<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** | [**List<FilterExpression>**](FilterExpression.md) | | [optional] | diff --git a/docs/SubscriptionNotificationTarget.md b/docs/SubscriptionNotificationTarget.md index f1149637..e81e5efd 100644 --- a/docs/SubscriptionNotificationTarget.md +++ b/docs/SubscriptionNotificationTarget.md @@ -8,7 +8,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**includeSubscriptionIds** | **List<String>** | Specific subscription ids to send your notification to. _Does not require API Auth Key._ Not compatible with any other targeting parameters. Example: [\"1dd608f2-c6a1-11e3-851d-000c2940e62c\"] Limit of 2,000 entries per REST API call | [optional] | -|**includeEmailTokens** | **List<String>** | Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts Limit of 2,000 entries per REST API call | [optional] | +|**includeEmailTokens** | **List<String>** | Deprecated alias for `email_to`. Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Prefer `email_to` in new integrations. | [optional] | +|**emailTo** | **List<String>** | Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Supersedes the deprecated `include_email_tokens` field. | [optional] | |**includePhoneNumbers** | **List<String>** | Recommended for Sending SMS - Target specific phone numbers. The phone number should be in the E.164 format. Phone number should be an existing subscriber on OneSignal. Refer our docs to learn how to add phone numbers to OneSignal. Example phone number: +1999999999 Limit of 2,000 entries per REST API call | [optional] | |**includeIosTokens** | **List<String>** | Not Recommended: Please consider using include_subscription_ids or include_aliases instead. Target using iOS device tokens. Warning: Only works with Production tokens. All non-alphanumeric characters must be removed from each token. If a token does not correspond to an existing user, a new user will be created. Example: ce777617da7f548fe7a9ab6febb56cf39fba6d38203... Limit of 2,000 entries per REST API call | [optional] | |**includeWpWnsUris** | **List<String>** | Not Recommended: Please consider using include_subscription_ids or include_aliases instead. Target using Windows URIs. If a token does not correspond to an existing user, a new user will be created. Example: http://s.notify.live.net/u/1/bn1/HmQAAACPaLDr-... Limit of 2,000 entries per REST API call | [optional] | diff --git a/pom.xml b/pom.xml index 1c484f25..4003beab 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ onesignal-java-client jar onesignal-java-client - 5.5.0 + 5.6.0 https://github.com/OneSignal/onesignal-java-api OneSignal Java API Client diff --git a/src/main/java/com/onesignal/client/ApiCallback.java b/src/main/java/com/onesignal/client/ApiCallback.java index 3e6b30e7..e72af3de 100644 --- a/src/main/java/com/onesignal/client/ApiCallback.java +++ b/src/main/java/com/onesignal/client/ApiCallback.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/ApiClient.java b/src/main/java/com/onesignal/client/ApiClient.java index d14944e1..04175ab8 100644 --- a/src/main/java/com/onesignal/client/ApiClient.java +++ b/src/main/java/com/onesignal/client/ApiClient.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -133,7 +133,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/5.5.0/java"); + setUserAgent("OpenAPI-Generator/5.6.0/java"); authentications = new HashMap(); } diff --git a/src/main/java/com/onesignal/client/ApiException.java b/src/main/java/com/onesignal/client/ApiException.java index 0c59bf11..ecb23bd7 100644 --- a/src/main/java/com/onesignal/client/ApiException.java +++ b/src/main/java/com/onesignal/client/ApiException.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/ApiResponse.java b/src/main/java/com/onesignal/client/ApiResponse.java index 822240af..d67f3519 100644 --- a/src/main/java/com/onesignal/client/ApiResponse.java +++ b/src/main/java/com/onesignal/client/ApiResponse.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/Configuration.java b/src/main/java/com/onesignal/client/Configuration.java index 53435ff9..54f57182 100644 --- a/src/main/java/com/onesignal/client/Configuration.java +++ b/src/main/java/com/onesignal/client/Configuration.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/GzipRequestInterceptor.java b/src/main/java/com/onesignal/client/GzipRequestInterceptor.java index 681cc6e5..9c36c3b6 100644 --- a/src/main/java/com/onesignal/client/GzipRequestInterceptor.java +++ b/src/main/java/com/onesignal/client/GzipRequestInterceptor.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/JSON.java b/src/main/java/com/onesignal/client/JSON.java index a90996da..1cb0693b 100644 --- a/src/main/java/com/onesignal/client/JSON.java +++ b/src/main/java/com/onesignal/client/JSON.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/Pair.java b/src/main/java/com/onesignal/client/Pair.java index 394ccb95..c52851ec 100644 --- a/src/main/java/com/onesignal/client/Pair.java +++ b/src/main/java/com/onesignal/client/Pair.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/ProgressRequestBody.java b/src/main/java/com/onesignal/client/ProgressRequestBody.java index a6667f99..58244934 100644 --- a/src/main/java/com/onesignal/client/ProgressRequestBody.java +++ b/src/main/java/com/onesignal/client/ProgressRequestBody.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/ProgressResponseBody.java b/src/main/java/com/onesignal/client/ProgressResponseBody.java index cfe60803..80623ad0 100644 --- a/src/main/java/com/onesignal/client/ProgressResponseBody.java +++ b/src/main/java/com/onesignal/client/ProgressResponseBody.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/StringUtil.java b/src/main/java/com/onesignal/client/StringUtil.java index 111177ef..5ee1648f 100644 --- a/src/main/java/com/onesignal/client/StringUtil.java +++ b/src/main/java/com/onesignal/client/StringUtil.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/api/DefaultApi.java b/src/main/java/com/onesignal/client/api/DefaultApi.java index da4a229a..bb6f55d9 100644 --- a/src/main/java/com/onesignal/client/api/DefaultApi.java +++ b/src/main/java/com/onesignal/client/api/DefaultApi.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -154,7 +154,7 @@ public okhttp3.Call cancelNotificationCall(String appId, String notificationId, Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); if (appId != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("app_id", appId)); @@ -308,7 +308,7 @@ public okhttp3.Call copyTemplateToAppCall(String templateId, String appId, CopyT Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); if (appId != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("app_id", appId)); @@ -470,7 +470,7 @@ public okhttp3.Call createAliasCall(String appId, String aliasLabel, String alia Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -643,7 +643,7 @@ public okhttp3.Call createAliasBySubscriptionCall(String appId, String subscript Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -803,7 +803,7 @@ public okhttp3.Call createApiKeyCall(String appId, CreateApiKeyRequest createApi Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -945,7 +945,7 @@ public okhttp3.Call createAppCall(App app, final ApiCallback _callback) throws A Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -1085,7 +1085,7 @@ public okhttp3.Call createCustomEventsCall(String appId, CustomEventsRequest cus Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -1233,7 +1233,7 @@ public okhttp3.Call createNotificationCall(Notification notification, final ApiC Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -1373,7 +1373,7 @@ public okhttp3.Call createSegmentCall(String appId, Segment segment, final ApiCa Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -1525,7 +1525,7 @@ public okhttp3.Call createSubscriptionCall(String appId, String aliasLabel, Stri Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -1695,7 +1695,7 @@ public okhttp3.Call createTemplateCall(CreateTemplateRequest createTemplateReque Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -1837,7 +1837,7 @@ public okhttp3.Call createUserCall(String appId, User user, final ApiCallback _c Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -2000,7 +2000,7 @@ public okhttp3.Call deleteAliasCall(String appId, String aliasLabel, String alia Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -2169,7 +2169,7 @@ public okhttp3.Call deleteApiKeyCall(String appId, String tokenId, final ApiCall Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -2315,7 +2315,7 @@ public okhttp3.Call deleteSegmentCall(String appId, String segmentId, final ApiC Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -2468,7 +2468,7 @@ public okhttp3.Call deleteSubscriptionCall(String appId, String subscriptionId, Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -2617,7 +2617,7 @@ public okhttp3.Call deleteTemplateCall(String templateId, String appId, final Ap Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); if (appId != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("app_id", appId)); @@ -2772,7 +2772,7 @@ public okhttp3.Call deleteUserCall(String appId, String aliasLabel, String alias Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -2927,7 +2927,7 @@ public okhttp3.Call exportEventsCall(String notificationId, String appId, final Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); if (appId != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("app_id", appId)); @@ -3081,7 +3081,7 @@ public okhttp3.Call exportSubscriptionsCall(String appId, ExportSubscriptionsReq Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -3227,7 +3227,7 @@ public okhttp3.Call getAliasesCall(String appId, String aliasLabel, String alias Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -3386,7 +3386,7 @@ public okhttp3.Call getAliasesBySubscriptionCall(String appId, String subscripti Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -3532,7 +3532,7 @@ public okhttp3.Call getAppCall(String appId, final ApiCallback _callback) throws Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -3668,7 +3668,7 @@ public okhttp3.Call getAppsCall(final ApiCallback _callback) throws ApiException Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -3800,7 +3800,7 @@ public okhttp3.Call getNotificationCall(String appId, String notificationId, fin Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); if (appId != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("app_id", appId)); @@ -3955,7 +3955,7 @@ public okhttp3.Call getNotificationHistoryCall(String notificationId, GetNotific Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -4106,7 +4106,7 @@ public okhttp3.Call getNotificationsCall(String appId, Integer limit, Integer of Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); if (appId != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("app_id", appId)); @@ -4274,7 +4274,7 @@ public okhttp3.Call getOutcomesCall(String appId, String outcomeNames, String ou Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); if (outcomeNames != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("outcome_names", outcomeNames)); @@ -4454,7 +4454,7 @@ public okhttp3.Call getSegmentsCall(String appId, Integer offset, Integer limit, Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); if (offset != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("offset", offset)); @@ -4611,7 +4611,7 @@ public okhttp3.Call getUserCall(String appId, String aliasLabel, String aliasId, Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -4769,7 +4769,7 @@ public okhttp3.Call rotateApiKeyCall(String appId, String tokenId, final ApiCall Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -4915,7 +4915,7 @@ public okhttp3.Call startLiveActivityCall(String appId, String activityType, Sta Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -5074,7 +5074,7 @@ public okhttp3.Call transferSubscriptionCall(String appId, String subscriptionId Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -5237,7 +5237,7 @@ public okhttp3.Call unsubscribeEmailWithTokenCall(String appId, String notificat Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); if (token != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("token", token)); @@ -5397,7 +5397,7 @@ public okhttp3.Call updateApiKeyCall(String appId, String tokenId, UpdateApiKeyR Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -5549,7 +5549,7 @@ public okhttp3.Call updateAppCall(String appId, App app, final ApiCallback _call Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -5698,7 +5698,7 @@ public okhttp3.Call updateLiveActivityCall(String appId, String activityId, Upda Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -5857,7 +5857,7 @@ public okhttp3.Call updateSubscriptionCall(String appId, String subscriptionId, Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -6018,7 +6018,7 @@ public okhttp3.Call updateSubscriptionByTokenCall(String appId, String tokenType Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -6181,7 +6181,7 @@ public okhttp3.Call updateTemplateCall(String templateId, String appId, UpdateTe Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); if (appId != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("app_id", appId)); @@ -6342,7 +6342,7 @@ public okhttp3.Call updateUserCall(String appId, String aliasLabel, String alias Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -6506,7 +6506,7 @@ public okhttp3.Call viewApiKeysCall(String appId, final ApiCallback _callback) t Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); final String[] localVarAccepts = { "application/json" @@ -6642,7 +6642,7 @@ public okhttp3.Call viewTemplateCall(String templateId, String appId, final ApiC Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); if (appId != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("app_id", appId)); @@ -6794,7 +6794,7 @@ public okhttp3.Call viewTemplatesCall(String appId, Integer limit, Integer offse Map localVarFormParams = new HashMap(); // Adds client sdk version header - localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.5.0"); + localVarHeaderParams.put("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-java, version=5.6.0"); if (appId != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("app_id", appId)); diff --git a/src/main/java/com/onesignal/client/auth/ApiKeyAuth.java b/src/main/java/com/onesignal/client/auth/ApiKeyAuth.java index d34990fc..6a762d4d 100644 --- a/src/main/java/com/onesignal/client/auth/ApiKeyAuth.java +++ b/src/main/java/com/onesignal/client/auth/ApiKeyAuth.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/auth/Authentication.java b/src/main/java/com/onesignal/client/auth/Authentication.java index f2d9674f..b4d7ac00 100644 --- a/src/main/java/com/onesignal/client/auth/Authentication.java +++ b/src/main/java/com/onesignal/client/auth/Authentication.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/auth/HttpBasicAuth.java b/src/main/java/com/onesignal/client/auth/HttpBasicAuth.java index 3caad103..86a2def1 100644 --- a/src/main/java/com/onesignal/client/auth/HttpBasicAuth.java +++ b/src/main/java/com/onesignal/client/auth/HttpBasicAuth.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/auth/HttpBearerAuth.java b/src/main/java/com/onesignal/client/auth/HttpBearerAuth.java index 1e2bbea9..5dac0826 100644 --- a/src/main/java/com/onesignal/client/auth/HttpBearerAuth.java +++ b/src/main/java/com/onesignal/client/auth/HttpBearerAuth.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/AbstractOpenApiSchema.java b/src/main/java/com/onesignal/client/model/AbstractOpenApiSchema.java index 20509f81..d01845d3 100644 --- a/src/main/java/com/onesignal/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/com/onesignal/client/model/AbstractOpenApiSchema.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/ApiKeyToken.java b/src/main/java/com/onesignal/client/model/ApiKeyToken.java index 58c2348b..47100f0f 100644 --- a/src/main/java/com/onesignal/client/model/ApiKeyToken.java +++ b/src/main/java/com/onesignal/client/model/ApiKeyToken.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/ApiKeyTokensListResponse.java b/src/main/java/com/onesignal/client/model/ApiKeyTokensListResponse.java index 387ff187..27604b24 100644 --- a/src/main/java/com/onesignal/client/model/ApiKeyTokensListResponse.java +++ b/src/main/java/com/onesignal/client/model/ApiKeyTokensListResponse.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/App.java b/src/main/java/com/onesignal/client/model/App.java index 76444432..9b4c6013 100644 --- a/src/main/java/com/onesignal/client/model/App.java +++ b/src/main/java/com/onesignal/client/model/App.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/BasicNotification.java b/src/main/java/com/onesignal/client/model/BasicNotification.java index c7ed3dec..bd89bea7 100644 --- a/src/main/java/com/onesignal/client/model/BasicNotification.java +++ b/src/main/java/com/onesignal/client/model/BasicNotification.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -81,6 +81,10 @@ public class BasicNotification { @SerializedName(SERIALIZED_NAME_INCLUDE_EMAIL_TOKENS) private List includeEmailTokens = null; + public static final String SERIALIZED_NAME_EMAIL_TO = "email_to"; + @SerializedName(SERIALIZED_NAME_EMAIL_TO) + private List emailTo = null; + public static final String SERIALIZED_NAME_INCLUDE_PHONE_NUMBERS = "include_phone_numbers"; @SerializedName(SERIALIZED_NAME_INCLUDE_PHONE_NUMBERS) private List includePhoneNumbers = null; @@ -585,6 +589,10 @@ public AggregationEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_EMAIL_BCC) private List emailBcc = null; + public static final String SERIALIZED_NAME_EMAIL_SENDER_DOMAIN = "email_sender_domain"; + @SerializedName(SERIALIZED_NAME_EMAIL_SENDER_DOMAIN) + private String emailSenderDomain; + public static final String SERIALIZED_NAME_SMS_FROM = "sms_from"; @SerializedName(SERIALIZED_NAME_SMS_FROM) private String smsFrom; @@ -809,11 +817,13 @@ public BasicNotification addIncludeEmailTokensItem(String includeEmailTokensItem } /** - * Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts Limit of 2,000 entries per REST API call + * Deprecated alias for `email_to`. Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Prefer `email_to` in new integrations. * @return includeEmailTokens + * @deprecated **/ + @Deprecated @javax.annotation.Nullable - @ApiModelProperty(value = "Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts Limit of 2,000 entries per REST API call ") + @ApiModelProperty(value = "Deprecated alias for `email_to`. Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Prefer `email_to` in new integrations. ") public List getIncludeEmailTokens() { return includeEmailTokens; @@ -825,6 +835,37 @@ public void setIncludeEmailTokens(List includeEmailTokens) { } + public BasicNotification emailTo(List emailTo) { + + this.emailTo = emailTo; + return this; + } + + public BasicNotification addEmailToItem(String emailToItem) { + if (this.emailTo == null) { + this.emailTo = new ArrayList<>(); + } + this.emailTo.add(emailToItem); + return this; + } + + /** + * Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Supersedes the deprecated `include_email_tokens` field. + * @return emailTo + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Supersedes the deprecated `include_email_tokens` field. ") + + public List getEmailTo() { + return emailTo; + } + + + public void setEmailTo(List emailTo) { + this.emailTo = emailTo; + } + + public BasicNotification includePhoneNumbers(List includePhoneNumbers) { this.includePhoneNumbers = includePhoneNumbers; @@ -3243,6 +3284,29 @@ public void setEmailBcc(List emailBcc) { } + public BasicNotification emailSenderDomain(String emailSenderDomain) { + + this.emailSenderDomain = emailSenderDomain; + return this; + } + + /** + * Channel: Email Sender domain to use for the email message. Overrides the default sender domain configured for the app. Only supported when the email service provider is OneSignal Email. + * @return emailSenderDomain + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Channel: Email Sender domain to use for the email message. Overrides the default sender domain configured for the app. Only supported when the email service provider is OneSignal Email. ") + + public String getEmailSenderDomain() { + return emailSenderDomain; + } + + + public void setEmailSenderDomain(String emailSenderDomain) { + this.emailSenderDomain = emailSenderDomain; + } + + public BasicNotification smsFrom(String smsFrom) { this.smsFrom = smsFrom; @@ -3480,6 +3544,7 @@ public boolean equals(Object o) { Objects.equals(this.excludedSegments, basicNotification.excludedSegments) && Objects.equals(this.includeSubscriptionIds, basicNotification.includeSubscriptionIds) && Objects.equals(this.includeEmailTokens, basicNotification.includeEmailTokens) && + Objects.equals(this.emailTo, basicNotification.emailTo) && Objects.equals(this.includePhoneNumbers, basicNotification.includePhoneNumbers) && Objects.equals(this.includeIosTokens, basicNotification.includeIosTokens) && Objects.equals(this.includeWpWnsUris, basicNotification.includeWpWnsUris) && @@ -3582,6 +3647,7 @@ public boolean equals(Object o) { Objects.equals(this.disableEmailClickTracking, basicNotification.disableEmailClickTracking) && Objects.equals(this.includeUnsubscribed, basicNotification.includeUnsubscribed) && Objects.equals(this.emailBcc, basicNotification.emailBcc) && + Objects.equals(this.emailSenderDomain, basicNotification.emailSenderDomain) && Objects.equals(this.smsFrom, basicNotification.smsFrom) && Objects.equals(this.smsMediaUrls, basicNotification.smsMediaUrls) && Objects.equals(this.filters, basicNotification.filters) && @@ -3599,7 +3665,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(includedSegments, excludedSegments, includeSubscriptionIds, includeEmailTokens, includePhoneNumbers, includeIosTokens, includeWpWnsUris, includeAmazonRegIds, includeChromeRegIds, includeChromeWebRegIds, includeAndroidRegIds, includeAliases, targetChannel, id, value, name, aggregation, isIos, isAndroid, isHuawei, isAnyWeb, isChromeWeb, isFirefox, isSafari, isWPWNS, isAdm, isChrome, appId, externalId, idempotencyKey, contents, headings, subtitle, data, huaweiMsgType, url, webUrl, appUrl, iosAttachments, templateId, contentAvailable, mutableContent, targetContentIdentifier, bigPicture, huaweiBigPicture, admBigPicture, chromeBigPicture, chromeWebImage, buttons, webButtons, iosCategory, androidChannelId, huaweiChannelId, existingAndroidChannelId, huaweiExistingChannelId, androidBackgroundLayout, smallIcon, huaweiSmallIcon, largeIcon, huaweiLargeIcon, admSmallIcon, admLargeIcon, chromeWebIcon, chromeWebBadge, firefoxIcon, chromeIcon, iosSound, androidSound, huaweiSound, admSound, wpWnsSound, androidLedColor, huaweiLedColor, androidAccentColor, huaweiAccentColor, androidVisibility, huaweiVisibility, iosBadgeType, iosBadgeCount, collapseId, webPushTopic, apnsAlert, delayedOption, deliveryTimeOfDay, ttl, priority, apnsPushTypeOverride, throttleRatePerMinute, androidGroup, androidGroupMessage, admGroup, admGroupMessage, threadId, summaryArg, summaryArgCount, iosRelevanceScore, iosInterruptionLevel, emailSubject, emailBody, emailFromName, emailFromAddress, emailReplyToAddress, emailPreheader, disableEmailClickTracking, includeUnsubscribed, emailBcc, smsFrom, smsMediaUrls, filters, customData, huaweiBadgeClass, huaweiBadgeAddNum, huaweiBadgeSetNum, huaweiCategory, huaweiBiTag); + return Objects.hash(includedSegments, excludedSegments, includeSubscriptionIds, includeEmailTokens, emailTo, includePhoneNumbers, includeIosTokens, includeWpWnsUris, includeAmazonRegIds, includeChromeRegIds, includeChromeWebRegIds, includeAndroidRegIds, includeAliases, targetChannel, id, value, name, aggregation, isIos, isAndroid, isHuawei, isAnyWeb, isChromeWeb, isFirefox, isSafari, isWPWNS, isAdm, isChrome, appId, externalId, idempotencyKey, contents, headings, subtitle, data, huaweiMsgType, url, webUrl, appUrl, iosAttachments, templateId, contentAvailable, mutableContent, targetContentIdentifier, bigPicture, huaweiBigPicture, admBigPicture, chromeBigPicture, chromeWebImage, buttons, webButtons, iosCategory, androidChannelId, huaweiChannelId, existingAndroidChannelId, huaweiExistingChannelId, androidBackgroundLayout, smallIcon, huaweiSmallIcon, largeIcon, huaweiLargeIcon, admSmallIcon, admLargeIcon, chromeWebIcon, chromeWebBadge, firefoxIcon, chromeIcon, iosSound, androidSound, huaweiSound, admSound, wpWnsSound, androidLedColor, huaweiLedColor, androidAccentColor, huaweiAccentColor, androidVisibility, huaweiVisibility, iosBadgeType, iosBadgeCount, collapseId, webPushTopic, apnsAlert, delayedOption, deliveryTimeOfDay, ttl, priority, apnsPushTypeOverride, throttleRatePerMinute, androidGroup, androidGroupMessage, admGroup, admGroupMessage, threadId, summaryArg, summaryArgCount, iosRelevanceScore, iosInterruptionLevel, emailSubject, emailBody, emailFromName, emailFromAddress, emailReplyToAddress, emailPreheader, disableEmailClickTracking, includeUnsubscribed, emailBcc, emailSenderDomain, smsFrom, smsMediaUrls, filters, customData, huaweiBadgeClass, huaweiBadgeAddNum, huaweiBadgeSetNum, huaweiCategory, huaweiBiTag); } private static int hashCodeNullable(JsonNullable a) { @@ -3617,6 +3683,7 @@ public String toString() { sb.append(" excludedSegments: ").append(toIndentedString(excludedSegments)).append("\n"); sb.append(" includeSubscriptionIds: ").append(toIndentedString(includeSubscriptionIds)).append("\n"); sb.append(" includeEmailTokens: ").append(toIndentedString(includeEmailTokens)).append("\n"); + sb.append(" emailTo: ").append(toIndentedString(emailTo)).append("\n"); sb.append(" includePhoneNumbers: ").append(toIndentedString(includePhoneNumbers)).append("\n"); sb.append(" includeIosTokens: ").append(toIndentedString(includeIosTokens)).append("\n"); sb.append(" includeWpWnsUris: ").append(toIndentedString(includeWpWnsUris)).append("\n"); @@ -3719,6 +3786,7 @@ public String toString() { sb.append(" disableEmailClickTracking: ").append(toIndentedString(disableEmailClickTracking)).append("\n"); sb.append(" includeUnsubscribed: ").append(toIndentedString(includeUnsubscribed)).append("\n"); sb.append(" emailBcc: ").append(toIndentedString(emailBcc)).append("\n"); + sb.append(" emailSenderDomain: ").append(toIndentedString(emailSenderDomain)).append("\n"); sb.append(" smsFrom: ").append(toIndentedString(smsFrom)).append("\n"); sb.append(" smsMediaUrls: ").append(toIndentedString(smsMediaUrls)).append("\n"); sb.append(" filters: ").append(toIndentedString(filters)).append("\n"); @@ -3754,6 +3822,7 @@ private String toIndentedString(Object o) { openapiFields.add("excluded_segments"); openapiFields.add("include_subscription_ids"); openapiFields.add("include_email_tokens"); + openapiFields.add("email_to"); openapiFields.add("include_phone_numbers"); openapiFields.add("include_ios_tokens"); openapiFields.add("include_wp_wns_uris"); @@ -3856,6 +3925,7 @@ private String toIndentedString(Object o) { openapiFields.add("disable_email_click_tracking"); openapiFields.add("include_unsubscribed"); openapiFields.add("email_bcc"); + openapiFields.add("email_sender_domain"); openapiFields.add("sms_from"); openapiFields.add("sms_media_urls"); openapiFields.add("filters"); diff --git a/src/main/java/com/onesignal/client/model/BasicNotificationAllOf.java b/src/main/java/com/onesignal/client/model/BasicNotificationAllOf.java index 99ea10ff..2a177e63 100644 --- a/src/main/java/com/onesignal/client/model/BasicNotificationAllOf.java +++ b/src/main/java/com/onesignal/client/model/BasicNotificationAllOf.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -480,6 +480,10 @@ public AggregationEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_EMAIL_BCC) private List emailBcc = null; + public static final String SERIALIZED_NAME_EMAIL_SENDER_DOMAIN = "email_sender_domain"; + @SerializedName(SERIALIZED_NAME_EMAIL_SENDER_DOMAIN) + private String emailSenderDomain; + public static final String SERIALIZED_NAME_SMS_FROM = "sms_from"; @SerializedName(SERIALIZED_NAME_SMS_FROM) private String smsFrom; @@ -2743,6 +2747,29 @@ public void setEmailBcc(List emailBcc) { } + public BasicNotificationAllOf emailSenderDomain(String emailSenderDomain) { + + this.emailSenderDomain = emailSenderDomain; + return this; + } + + /** + * Channel: Email Sender domain to use for the email message. Overrides the default sender domain configured for the app. Only supported when the email service provider is OneSignal Email. + * @return emailSenderDomain + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Channel: Email Sender domain to use for the email message. Overrides the default sender domain configured for the app. Only supported when the email service provider is OneSignal Email. ") + + public String getEmailSenderDomain() { + return emailSenderDomain; + } + + + public void setEmailSenderDomain(String emailSenderDomain) { + this.emailSenderDomain = emailSenderDomain; + } + + public BasicNotificationAllOf smsFrom(String smsFrom) { this.smsFrom = smsFrom; @@ -3069,6 +3096,7 @@ public boolean equals(Object o) { Objects.equals(this.disableEmailClickTracking, basicNotificationAllOf.disableEmailClickTracking) && Objects.equals(this.includeUnsubscribed, basicNotificationAllOf.includeUnsubscribed) && Objects.equals(this.emailBcc, basicNotificationAllOf.emailBcc) && + Objects.equals(this.emailSenderDomain, basicNotificationAllOf.emailSenderDomain) && Objects.equals(this.smsFrom, basicNotificationAllOf.smsFrom) && Objects.equals(this.smsMediaUrls, basicNotificationAllOf.smsMediaUrls) && Objects.equals(this.filters, basicNotificationAllOf.filters) && @@ -3086,7 +3114,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(id, value, name, aggregation, isIos, isAndroid, isHuawei, isAnyWeb, isChromeWeb, isFirefox, isSafari, isWPWNS, isAdm, isChrome, appId, externalId, idempotencyKey, contents, headings, subtitle, data, huaweiMsgType, url, webUrl, appUrl, iosAttachments, templateId, contentAvailable, mutableContent, targetContentIdentifier, bigPicture, huaweiBigPicture, admBigPicture, chromeBigPicture, chromeWebImage, buttons, webButtons, iosCategory, androidChannelId, huaweiChannelId, existingAndroidChannelId, huaweiExistingChannelId, androidBackgroundLayout, smallIcon, huaweiSmallIcon, largeIcon, huaweiLargeIcon, admSmallIcon, admLargeIcon, chromeWebIcon, chromeWebBadge, firefoxIcon, chromeIcon, iosSound, androidSound, huaweiSound, admSound, wpWnsSound, androidLedColor, huaweiLedColor, androidAccentColor, huaweiAccentColor, androidVisibility, huaweiVisibility, iosBadgeType, iosBadgeCount, collapseId, webPushTopic, apnsAlert, delayedOption, deliveryTimeOfDay, ttl, priority, apnsPushTypeOverride, throttleRatePerMinute, androidGroup, androidGroupMessage, admGroup, admGroupMessage, threadId, summaryArg, summaryArgCount, iosRelevanceScore, iosInterruptionLevel, emailSubject, emailBody, emailFromName, emailFromAddress, emailReplyToAddress, emailPreheader, disableEmailClickTracking, includeUnsubscribed, emailBcc, smsFrom, smsMediaUrls, filters, customData, huaweiBadgeClass, huaweiBadgeAddNum, huaweiBadgeSetNum, huaweiCategory, huaweiBiTag); + return Objects.hash(id, value, name, aggregation, isIos, isAndroid, isHuawei, isAnyWeb, isChromeWeb, isFirefox, isSafari, isWPWNS, isAdm, isChrome, appId, externalId, idempotencyKey, contents, headings, subtitle, data, huaweiMsgType, url, webUrl, appUrl, iosAttachments, templateId, contentAvailable, mutableContent, targetContentIdentifier, bigPicture, huaweiBigPicture, admBigPicture, chromeBigPicture, chromeWebImage, buttons, webButtons, iosCategory, androidChannelId, huaweiChannelId, existingAndroidChannelId, huaweiExistingChannelId, androidBackgroundLayout, smallIcon, huaweiSmallIcon, largeIcon, huaweiLargeIcon, admSmallIcon, admLargeIcon, chromeWebIcon, chromeWebBadge, firefoxIcon, chromeIcon, iosSound, androidSound, huaweiSound, admSound, wpWnsSound, androidLedColor, huaweiLedColor, androidAccentColor, huaweiAccentColor, androidVisibility, huaweiVisibility, iosBadgeType, iosBadgeCount, collapseId, webPushTopic, apnsAlert, delayedOption, deliveryTimeOfDay, ttl, priority, apnsPushTypeOverride, throttleRatePerMinute, androidGroup, androidGroupMessage, admGroup, admGroupMessage, threadId, summaryArg, summaryArgCount, iosRelevanceScore, iosInterruptionLevel, emailSubject, emailBody, emailFromName, emailFromAddress, emailReplyToAddress, emailPreheader, disableEmailClickTracking, includeUnsubscribed, emailBcc, emailSenderDomain, smsFrom, smsMediaUrls, filters, customData, huaweiBadgeClass, huaweiBadgeAddNum, huaweiBadgeSetNum, huaweiCategory, huaweiBiTag); } private static int hashCodeNullable(JsonNullable a) { @@ -3193,6 +3221,7 @@ public String toString() { sb.append(" disableEmailClickTracking: ").append(toIndentedString(disableEmailClickTracking)).append("\n"); sb.append(" includeUnsubscribed: ").append(toIndentedString(includeUnsubscribed)).append("\n"); sb.append(" emailBcc: ").append(toIndentedString(emailBcc)).append("\n"); + sb.append(" emailSenderDomain: ").append(toIndentedString(emailSenderDomain)).append("\n"); sb.append(" smsFrom: ").append(toIndentedString(smsFrom)).append("\n"); sb.append(" smsMediaUrls: ").append(toIndentedString(smsMediaUrls)).append("\n"); sb.append(" filters: ").append(toIndentedString(filters)).append("\n"); @@ -3317,6 +3346,7 @@ private String toIndentedString(Object o) { openapiFields.add("disable_email_click_tracking"); openapiFields.add("include_unsubscribed"); openapiFields.add("email_bcc"); + openapiFields.add("email_sender_domain"); openapiFields.add("sms_from"); openapiFields.add("sms_media_urls"); openapiFields.add("filters"); diff --git a/src/main/java/com/onesignal/client/model/BasicNotificationAllOfAndroidBackgroundLayout.java b/src/main/java/com/onesignal/client/model/BasicNotificationAllOfAndroidBackgroundLayout.java index f451ac88..4bb6d92e 100644 --- a/src/main/java/com/onesignal/client/model/BasicNotificationAllOfAndroidBackgroundLayout.java +++ b/src/main/java/com/onesignal/client/model/BasicNotificationAllOfAndroidBackgroundLayout.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/Button.java b/src/main/java/com/onesignal/client/model/Button.java index 44ee67a6..57abb661 100644 --- a/src/main/java/com/onesignal/client/model/Button.java +++ b/src/main/java/com/onesignal/client/model/Button.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/CopyTemplateRequest.java b/src/main/java/com/onesignal/client/model/CopyTemplateRequest.java index f05b8700..7cfc2535 100644 --- a/src/main/java/com/onesignal/client/model/CopyTemplateRequest.java +++ b/src/main/java/com/onesignal/client/model/CopyTemplateRequest.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/CreateApiKeyRequest.java b/src/main/java/com/onesignal/client/model/CreateApiKeyRequest.java index 15466657..561b2334 100644 --- a/src/main/java/com/onesignal/client/model/CreateApiKeyRequest.java +++ b/src/main/java/com/onesignal/client/model/CreateApiKeyRequest.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/CreateApiKeyResponse.java b/src/main/java/com/onesignal/client/model/CreateApiKeyResponse.java index 48334249..ab11aa34 100644 --- a/src/main/java/com/onesignal/client/model/CreateApiKeyResponse.java +++ b/src/main/java/com/onesignal/client/model/CreateApiKeyResponse.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/CreateNotificationSuccessResponse.java b/src/main/java/com/onesignal/client/model/CreateNotificationSuccessResponse.java index 752cd762..b90ea976 100644 --- a/src/main/java/com/onesignal/client/model/CreateNotificationSuccessResponse.java +++ b/src/main/java/com/onesignal/client/model/CreateNotificationSuccessResponse.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/CreateSegmentConflictResponse.java b/src/main/java/com/onesignal/client/model/CreateSegmentConflictResponse.java index 6737ad4d..2b73ff10 100644 --- a/src/main/java/com/onesignal/client/model/CreateSegmentConflictResponse.java +++ b/src/main/java/com/onesignal/client/model/CreateSegmentConflictResponse.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/CreateSegmentSuccessResponse.java b/src/main/java/com/onesignal/client/model/CreateSegmentSuccessResponse.java index c17916ba..96c97046 100644 --- a/src/main/java/com/onesignal/client/model/CreateSegmentSuccessResponse.java +++ b/src/main/java/com/onesignal/client/model/CreateSegmentSuccessResponse.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/CreateTemplateRequest.java b/src/main/java/com/onesignal/client/model/CreateTemplateRequest.java index 0e859796..48dbea94 100644 --- a/src/main/java/com/onesignal/client/model/CreateTemplateRequest.java +++ b/src/main/java/com/onesignal/client/model/CreateTemplateRequest.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/CreateUserConflictResponse.java b/src/main/java/com/onesignal/client/model/CreateUserConflictResponse.java index 960e0a00..7cfecf3e 100644 --- a/src/main/java/com/onesignal/client/model/CreateUserConflictResponse.java +++ b/src/main/java/com/onesignal/client/model/CreateUserConflictResponse.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/CreateUserConflictResponseErrorsInner.java b/src/main/java/com/onesignal/client/model/CreateUserConflictResponseErrorsInner.java index 927c7f02..018bc997 100644 --- a/src/main/java/com/onesignal/client/model/CreateUserConflictResponseErrorsInner.java +++ b/src/main/java/com/onesignal/client/model/CreateUserConflictResponseErrorsInner.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/CreateUserConflictResponseErrorsItemsMeta.java b/src/main/java/com/onesignal/client/model/CreateUserConflictResponseErrorsItemsMeta.java index c418084e..87a61473 100644 --- a/src/main/java/com/onesignal/client/model/CreateUserConflictResponseErrorsItemsMeta.java +++ b/src/main/java/com/onesignal/client/model/CreateUserConflictResponseErrorsItemsMeta.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/CustomEvent.java b/src/main/java/com/onesignal/client/model/CustomEvent.java index e0eaf7f5..a7246cdf 100644 --- a/src/main/java/com/onesignal/client/model/CustomEvent.java +++ b/src/main/java/com/onesignal/client/model/CustomEvent.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/CustomEventsRequest.java b/src/main/java/com/onesignal/client/model/CustomEventsRequest.java index 6c0b6a00..141a0375 100644 --- a/src/main/java/com/onesignal/client/model/CustomEventsRequest.java +++ b/src/main/java/com/onesignal/client/model/CustomEventsRequest.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/DeliveryData.java b/src/main/java/com/onesignal/client/model/DeliveryData.java index 686e421e..d08f94b4 100644 --- a/src/main/java/com/onesignal/client/model/DeliveryData.java +++ b/src/main/java/com/onesignal/client/model/DeliveryData.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/ExportEventsSuccessResponse.java b/src/main/java/com/onesignal/client/model/ExportEventsSuccessResponse.java index a0099c9d..275b7aaf 100644 --- a/src/main/java/com/onesignal/client/model/ExportEventsSuccessResponse.java +++ b/src/main/java/com/onesignal/client/model/ExportEventsSuccessResponse.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/ExportSubscriptionsRequestBody.java b/src/main/java/com/onesignal/client/model/ExportSubscriptionsRequestBody.java index f361f77c..7ee509cb 100644 --- a/src/main/java/com/onesignal/client/model/ExportSubscriptionsRequestBody.java +++ b/src/main/java/com/onesignal/client/model/ExportSubscriptionsRequestBody.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/ExportSubscriptionsSuccessResponse.java b/src/main/java/com/onesignal/client/model/ExportSubscriptionsSuccessResponse.java index dced816b..97c6048d 100644 --- a/src/main/java/com/onesignal/client/model/ExportSubscriptionsSuccessResponse.java +++ b/src/main/java/com/onesignal/client/model/ExportSubscriptionsSuccessResponse.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/Filter.java b/src/main/java/com/onesignal/client/model/Filter.java index ae741d79..fe1776af 100644 --- a/src/main/java/com/onesignal/client/model/Filter.java +++ b/src/main/java/com/onesignal/client/model/Filter.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/FilterExpression.java b/src/main/java/com/onesignal/client/model/FilterExpression.java index 3f717cde..31a7ba27 100644 --- a/src/main/java/com/onesignal/client/model/FilterExpression.java +++ b/src/main/java/com/onesignal/client/model/FilterExpression.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/GenericError.java b/src/main/java/com/onesignal/client/model/GenericError.java index e5c2d471..47c3c6ae 100644 --- a/src/main/java/com/onesignal/client/model/GenericError.java +++ b/src/main/java/com/onesignal/client/model/GenericError.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/GenericSuccessBoolResponse.java b/src/main/java/com/onesignal/client/model/GenericSuccessBoolResponse.java index d82edafe..2164033d 100644 --- a/src/main/java/com/onesignal/client/model/GenericSuccessBoolResponse.java +++ b/src/main/java/com/onesignal/client/model/GenericSuccessBoolResponse.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/GetNotificationHistoryRequestBody.java b/src/main/java/com/onesignal/client/model/GetNotificationHistoryRequestBody.java index 463ca746..6fecf7a0 100644 --- a/src/main/java/com/onesignal/client/model/GetNotificationHistoryRequestBody.java +++ b/src/main/java/com/onesignal/client/model/GetNotificationHistoryRequestBody.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/GetSegmentsSuccessResponse.java b/src/main/java/com/onesignal/client/model/GetSegmentsSuccessResponse.java index 25137c7e..00d41205 100644 --- a/src/main/java/com/onesignal/client/model/GetSegmentsSuccessResponse.java +++ b/src/main/java/com/onesignal/client/model/GetSegmentsSuccessResponse.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/LanguageStringMap.java b/src/main/java/com/onesignal/client/model/LanguageStringMap.java index b06681ac..f9b9cde1 100644 --- a/src/main/java/com/onesignal/client/model/LanguageStringMap.java +++ b/src/main/java/com/onesignal/client/model/LanguageStringMap.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/Notification.java b/src/main/java/com/onesignal/client/model/Notification.java index 39ace2a9..ff50de94 100644 --- a/src/main/java/com/onesignal/client/model/Notification.java +++ b/src/main/java/com/onesignal/client/model/Notification.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -82,6 +82,10 @@ public class Notification { @SerializedName(SERIALIZED_NAME_INCLUDE_EMAIL_TOKENS) private List includeEmailTokens = null; + public static final String SERIALIZED_NAME_EMAIL_TO = "email_to"; + @SerializedName(SERIALIZED_NAME_EMAIL_TO) + private List emailTo = null; + public static final String SERIALIZED_NAME_INCLUDE_PHONE_NUMBERS = "include_phone_numbers"; @SerializedName(SERIALIZED_NAME_INCLUDE_PHONE_NUMBERS) private List includePhoneNumbers = null; @@ -586,6 +590,10 @@ public AggregationEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_EMAIL_BCC) private List emailBcc = null; + public static final String SERIALIZED_NAME_EMAIL_SENDER_DOMAIN = "email_sender_domain"; + @SerializedName(SERIALIZED_NAME_EMAIL_SENDER_DOMAIN) + private String emailSenderDomain; + public static final String SERIALIZED_NAME_SMS_FROM = "sms_from"; @SerializedName(SERIALIZED_NAME_SMS_FROM) private String smsFrom; @@ -814,11 +822,13 @@ public Notification addIncludeEmailTokensItem(String includeEmailTokensItem) { } /** - * Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts Limit of 2,000 entries per REST API call + * Deprecated alias for `email_to`. Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Prefer `email_to` in new integrations. * @return includeEmailTokens + * @deprecated **/ + @Deprecated @javax.annotation.Nullable - @ApiModelProperty(value = "Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts Limit of 2,000 entries per REST API call ") + @ApiModelProperty(value = "Deprecated alias for `email_to`. Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Prefer `email_to` in new integrations. ") public List getIncludeEmailTokens() { return includeEmailTokens; @@ -830,6 +840,37 @@ public void setIncludeEmailTokens(List includeEmailTokens) { } + public Notification emailTo(List emailTo) { + + this.emailTo = emailTo; + return this; + } + + public Notification addEmailToItem(String emailToItem) { + if (this.emailTo == null) { + this.emailTo = new ArrayList<>(); + } + this.emailTo.add(emailToItem); + return this; + } + + /** + * Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Supersedes the deprecated `include_email_tokens` field. + * @return emailTo + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Supersedes the deprecated `include_email_tokens` field. ") + + public List getEmailTo() { + return emailTo; + } + + + public void setEmailTo(List emailTo) { + this.emailTo = emailTo; + } + + public Notification includePhoneNumbers(List includePhoneNumbers) { this.includePhoneNumbers = includePhoneNumbers; @@ -3248,6 +3289,29 @@ public void setEmailBcc(List emailBcc) { } + public Notification emailSenderDomain(String emailSenderDomain) { + + this.emailSenderDomain = emailSenderDomain; + return this; + } + + /** + * Channel: Email Sender domain to use for the email message. Overrides the default sender domain configured for the app. Only supported when the email service provider is OneSignal Email. + * @return emailSenderDomain + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Channel: Email Sender domain to use for the email message. Overrides the default sender domain configured for the app. Only supported when the email service provider is OneSignal Email. ") + + public String getEmailSenderDomain() { + return emailSenderDomain; + } + + + public void setEmailSenderDomain(String emailSenderDomain) { + this.emailSenderDomain = emailSenderDomain; + } + + public Notification smsFrom(String smsFrom) { this.smsFrom = smsFrom; @@ -3508,6 +3572,7 @@ public boolean equals(Object o) { Objects.equals(this.excludedSegments, notification.excludedSegments) && Objects.equals(this.includeSubscriptionIds, notification.includeSubscriptionIds) && Objects.equals(this.includeEmailTokens, notification.includeEmailTokens) && + Objects.equals(this.emailTo, notification.emailTo) && Objects.equals(this.includePhoneNumbers, notification.includePhoneNumbers) && Objects.equals(this.includeIosTokens, notification.includeIosTokens) && Objects.equals(this.includeWpWnsUris, notification.includeWpWnsUris) && @@ -3610,6 +3675,7 @@ public boolean equals(Object o) { Objects.equals(this.disableEmailClickTracking, notification.disableEmailClickTracking) && Objects.equals(this.includeUnsubscribed, notification.includeUnsubscribed) && Objects.equals(this.emailBcc, notification.emailBcc) && + Objects.equals(this.emailSenderDomain, notification.emailSenderDomain) && Objects.equals(this.smsFrom, notification.smsFrom) && Objects.equals(this.smsMediaUrls, notification.smsMediaUrls) && Objects.equals(this.filters, notification.filters) && @@ -3628,7 +3694,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(includedSegments, excludedSegments, includeSubscriptionIds, includeEmailTokens, includePhoneNumbers, includeIosTokens, includeWpWnsUris, includeAmazonRegIds, includeChromeRegIds, includeChromeWebRegIds, includeAndroidRegIds, includeAliases, targetChannel, id, value, name, aggregation, isIos, isAndroid, isHuawei, isAnyWeb, isChromeWeb, isFirefox, isSafari, isWPWNS, isAdm, isChrome, appId, externalId, idempotencyKey, contents, headings, subtitle, data, huaweiMsgType, url, webUrl, appUrl, iosAttachments, templateId, contentAvailable, mutableContent, targetContentIdentifier, bigPicture, huaweiBigPicture, admBigPicture, chromeBigPicture, chromeWebImage, buttons, webButtons, iosCategory, androidChannelId, huaweiChannelId, existingAndroidChannelId, huaweiExistingChannelId, androidBackgroundLayout, smallIcon, huaweiSmallIcon, largeIcon, huaweiLargeIcon, admSmallIcon, admLargeIcon, chromeWebIcon, chromeWebBadge, firefoxIcon, chromeIcon, iosSound, androidSound, huaweiSound, admSound, wpWnsSound, androidLedColor, huaweiLedColor, androidAccentColor, huaweiAccentColor, androidVisibility, huaweiVisibility, iosBadgeType, iosBadgeCount, collapseId, webPushTopic, apnsAlert, delayedOption, deliveryTimeOfDay, ttl, priority, apnsPushTypeOverride, throttleRatePerMinute, androidGroup, androidGroupMessage, admGroup, admGroupMessage, threadId, summaryArg, summaryArgCount, iosRelevanceScore, iosInterruptionLevel, emailSubject, emailBody, emailFromName, emailFromAddress, emailReplyToAddress, emailPreheader, disableEmailClickTracking, includeUnsubscribed, emailBcc, smsFrom, smsMediaUrls, filters, customData, huaweiBadgeClass, huaweiBadgeAddNum, huaweiBadgeSetNum, huaweiCategory, huaweiBiTag, sendAfter); + return Objects.hash(includedSegments, excludedSegments, includeSubscriptionIds, includeEmailTokens, emailTo, includePhoneNumbers, includeIosTokens, includeWpWnsUris, includeAmazonRegIds, includeChromeRegIds, includeChromeWebRegIds, includeAndroidRegIds, includeAliases, targetChannel, id, value, name, aggregation, isIos, isAndroid, isHuawei, isAnyWeb, isChromeWeb, isFirefox, isSafari, isWPWNS, isAdm, isChrome, appId, externalId, idempotencyKey, contents, headings, subtitle, data, huaweiMsgType, url, webUrl, appUrl, iosAttachments, templateId, contentAvailable, mutableContent, targetContentIdentifier, bigPicture, huaweiBigPicture, admBigPicture, chromeBigPicture, chromeWebImage, buttons, webButtons, iosCategory, androidChannelId, huaweiChannelId, existingAndroidChannelId, huaweiExistingChannelId, androidBackgroundLayout, smallIcon, huaweiSmallIcon, largeIcon, huaweiLargeIcon, admSmallIcon, admLargeIcon, chromeWebIcon, chromeWebBadge, firefoxIcon, chromeIcon, iosSound, androidSound, huaweiSound, admSound, wpWnsSound, androidLedColor, huaweiLedColor, androidAccentColor, huaweiAccentColor, androidVisibility, huaweiVisibility, iosBadgeType, iosBadgeCount, collapseId, webPushTopic, apnsAlert, delayedOption, deliveryTimeOfDay, ttl, priority, apnsPushTypeOverride, throttleRatePerMinute, androidGroup, androidGroupMessage, admGroup, admGroupMessage, threadId, summaryArg, summaryArgCount, iosRelevanceScore, iosInterruptionLevel, emailSubject, emailBody, emailFromName, emailFromAddress, emailReplyToAddress, emailPreheader, disableEmailClickTracking, includeUnsubscribed, emailBcc, emailSenderDomain, smsFrom, smsMediaUrls, filters, customData, huaweiBadgeClass, huaweiBadgeAddNum, huaweiBadgeSetNum, huaweiCategory, huaweiBiTag, sendAfter); } private static int hashCodeNullable(JsonNullable a) { @@ -3646,6 +3712,7 @@ public String toString() { sb.append(" excludedSegments: ").append(toIndentedString(excludedSegments)).append("\n"); sb.append(" includeSubscriptionIds: ").append(toIndentedString(includeSubscriptionIds)).append("\n"); sb.append(" includeEmailTokens: ").append(toIndentedString(includeEmailTokens)).append("\n"); + sb.append(" emailTo: ").append(toIndentedString(emailTo)).append("\n"); sb.append(" includePhoneNumbers: ").append(toIndentedString(includePhoneNumbers)).append("\n"); sb.append(" includeIosTokens: ").append(toIndentedString(includeIosTokens)).append("\n"); sb.append(" includeWpWnsUris: ").append(toIndentedString(includeWpWnsUris)).append("\n"); @@ -3748,6 +3815,7 @@ public String toString() { sb.append(" disableEmailClickTracking: ").append(toIndentedString(disableEmailClickTracking)).append("\n"); sb.append(" includeUnsubscribed: ").append(toIndentedString(includeUnsubscribed)).append("\n"); sb.append(" emailBcc: ").append(toIndentedString(emailBcc)).append("\n"); + sb.append(" emailSenderDomain: ").append(toIndentedString(emailSenderDomain)).append("\n"); sb.append(" smsFrom: ").append(toIndentedString(smsFrom)).append("\n"); sb.append(" smsMediaUrls: ").append(toIndentedString(smsMediaUrls)).append("\n"); sb.append(" filters: ").append(toIndentedString(filters)).append("\n"); @@ -3784,6 +3852,7 @@ private String toIndentedString(Object o) { openapiFields.add("excluded_segments"); openapiFields.add("include_subscription_ids"); openapiFields.add("include_email_tokens"); + openapiFields.add("email_to"); openapiFields.add("include_phone_numbers"); openapiFields.add("include_ios_tokens"); openapiFields.add("include_wp_wns_uris"); @@ -3886,6 +3955,7 @@ private String toIndentedString(Object o) { openapiFields.add("disable_email_click_tracking"); openapiFields.add("include_unsubscribed"); openapiFields.add("email_bcc"); + openapiFields.add("email_sender_domain"); openapiFields.add("sms_from"); openapiFields.add("sms_media_urls"); openapiFields.add("filters"); diff --git a/src/main/java/com/onesignal/client/model/NotificationAllOf.java b/src/main/java/com/onesignal/client/model/NotificationAllOf.java index af195dba..be91ee23 100644 --- a/src/main/java/com/onesignal/client/model/NotificationAllOf.java +++ b/src/main/java/com/onesignal/client/model/NotificationAllOf.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/NotificationHistorySuccessResponse.java b/src/main/java/com/onesignal/client/model/NotificationHistorySuccessResponse.java index 191563f6..e89ae622 100644 --- a/src/main/java/com/onesignal/client/model/NotificationHistorySuccessResponse.java +++ b/src/main/java/com/onesignal/client/model/NotificationHistorySuccessResponse.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/NotificationSlice.java b/src/main/java/com/onesignal/client/model/NotificationSlice.java index 51d2b0bc..f175b0ae 100644 --- a/src/main/java/com/onesignal/client/model/NotificationSlice.java +++ b/src/main/java/com/onesignal/client/model/NotificationSlice.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/NotificationTarget.java b/src/main/java/com/onesignal/client/model/NotificationTarget.java index 4ccb1211..bf0771e6 100644 --- a/src/main/java/com/onesignal/client/model/NotificationTarget.java +++ b/src/main/java/com/onesignal/client/model/NotificationTarget.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/NotificationWithMeta.java b/src/main/java/com/onesignal/client/model/NotificationWithMeta.java index cf811544..8017284f 100644 --- a/src/main/java/com/onesignal/client/model/NotificationWithMeta.java +++ b/src/main/java/com/onesignal/client/model/NotificationWithMeta.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -85,6 +85,10 @@ public class NotificationWithMeta { @SerializedName(SERIALIZED_NAME_INCLUDE_EMAIL_TOKENS) private List includeEmailTokens = null; + public static final String SERIALIZED_NAME_EMAIL_TO = "email_to"; + @SerializedName(SERIALIZED_NAME_EMAIL_TO) + private List emailTo = null; + public static final String SERIALIZED_NAME_INCLUDE_PHONE_NUMBERS = "include_phone_numbers"; @SerializedName(SERIALIZED_NAME_INCLUDE_PHONE_NUMBERS) private List includePhoneNumbers = null; @@ -589,6 +593,10 @@ public AggregationEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_EMAIL_BCC) private List emailBcc = null; + public static final String SERIALIZED_NAME_EMAIL_SENDER_DOMAIN = "email_sender_domain"; + @SerializedName(SERIALIZED_NAME_EMAIL_SENDER_DOMAIN) + private String emailSenderDomain; + public static final String SERIALIZED_NAME_SMS_FROM = "sms_from"; @SerializedName(SERIALIZED_NAME_SMS_FROM) private String smsFrom; @@ -865,11 +873,13 @@ public NotificationWithMeta addIncludeEmailTokensItem(String includeEmailTokensI } /** - * Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts Limit of 2,000 entries per REST API call + * Deprecated alias for `email_to`. Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Prefer `email_to` in new integrations. * @return includeEmailTokens + * @deprecated **/ + @Deprecated @javax.annotation.Nullable - @ApiModelProperty(value = "Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts Limit of 2,000 entries per REST API call ") + @ApiModelProperty(value = "Deprecated alias for `email_to`. Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Prefer `email_to` in new integrations. ") public List getIncludeEmailTokens() { return includeEmailTokens; @@ -881,6 +891,37 @@ public void setIncludeEmailTokens(List includeEmailTokens) { } + public NotificationWithMeta emailTo(List emailTo) { + + this.emailTo = emailTo; + return this; + } + + public NotificationWithMeta addEmailToItem(String emailToItem) { + if (this.emailTo == null) { + this.emailTo = new ArrayList<>(); + } + this.emailTo.add(emailToItem); + return this; + } + + /** + * Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Supersedes the deprecated `include_email_tokens` field. + * @return emailTo + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Supersedes the deprecated `include_email_tokens` field. ") + + public List getEmailTo() { + return emailTo; + } + + + public void setEmailTo(List emailTo) { + this.emailTo = emailTo; + } + + public NotificationWithMeta includePhoneNumbers(List includePhoneNumbers) { this.includePhoneNumbers = includePhoneNumbers; @@ -3299,6 +3340,29 @@ public void setEmailBcc(List emailBcc) { } + public NotificationWithMeta emailSenderDomain(String emailSenderDomain) { + + this.emailSenderDomain = emailSenderDomain; + return this; + } + + /** + * Channel: Email Sender domain to use for the email message. Overrides the default sender domain configured for the app. Only supported when the email service provider is OneSignal Email. + * @return emailSenderDomain + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Channel: Email Sender domain to use for the email message. Overrides the default sender domain configured for the app. Only supported when the email service provider is OneSignal Email. ") + + public String getEmailSenderDomain() { + return emailSenderDomain; + } + + + public void setEmailSenderDomain(String emailSenderDomain) { + this.emailSenderDomain = emailSenderDomain; + } + + public NotificationWithMeta smsFrom(String smsFrom) { this.smsFrom = smsFrom; @@ -3843,6 +3907,7 @@ public boolean equals(Object o) { Objects.equals(this.excludedSegments, notificationWithMeta.excludedSegments) && Objects.equals(this.includeSubscriptionIds, notificationWithMeta.includeSubscriptionIds) && Objects.equals(this.includeEmailTokens, notificationWithMeta.includeEmailTokens) && + Objects.equals(this.emailTo, notificationWithMeta.emailTo) && Objects.equals(this.includePhoneNumbers, notificationWithMeta.includePhoneNumbers) && Objects.equals(this.includeIosTokens, notificationWithMeta.includeIosTokens) && Objects.equals(this.includeWpWnsUris, notificationWithMeta.includeWpWnsUris) && @@ -3945,6 +4010,7 @@ public boolean equals(Object o) { Objects.equals(this.disableEmailClickTracking, notificationWithMeta.disableEmailClickTracking) && Objects.equals(this.includeUnsubscribed, notificationWithMeta.includeUnsubscribed) && Objects.equals(this.emailBcc, notificationWithMeta.emailBcc) && + Objects.equals(this.emailSenderDomain, notificationWithMeta.emailSenderDomain) && Objects.equals(this.smsFrom, notificationWithMeta.smsFrom) && Objects.equals(this.smsMediaUrls, notificationWithMeta.smsMediaUrls) && Objects.equals(this.filters, notificationWithMeta.filters) && @@ -3975,7 +4041,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(includedSegments, excludedSegments, includeSubscriptionIds, includeEmailTokens, includePhoneNumbers, includeIosTokens, includeWpWnsUris, includeAmazonRegIds, includeChromeRegIds, includeChromeWebRegIds, includeAndroidRegIds, includeAliases, targetChannel, id, value, name, aggregation, isIos, isAndroid, isHuawei, isAnyWeb, isChromeWeb, isFirefox, isSafari, isWPWNS, isAdm, isChrome, appId, externalId, idempotencyKey, contents, headings, subtitle, data, huaweiMsgType, url, webUrl, appUrl, iosAttachments, templateId, contentAvailable, mutableContent, targetContentIdentifier, bigPicture, huaweiBigPicture, admBigPicture, chromeBigPicture, chromeWebImage, buttons, webButtons, iosCategory, androidChannelId, huaweiChannelId, existingAndroidChannelId, huaweiExistingChannelId, androidBackgroundLayout, smallIcon, huaweiSmallIcon, largeIcon, huaweiLargeIcon, admSmallIcon, admLargeIcon, chromeWebIcon, chromeWebBadge, firefoxIcon, chromeIcon, iosSound, androidSound, huaweiSound, admSound, wpWnsSound, androidLedColor, huaweiLedColor, androidAccentColor, huaweiAccentColor, androidVisibility, huaweiVisibility, iosBadgeType, iosBadgeCount, collapseId, webPushTopic, apnsAlert, delayedOption, deliveryTimeOfDay, ttl, priority, apnsPushTypeOverride, throttleRatePerMinute, androidGroup, androidGroupMessage, admGroup, admGroupMessage, threadId, summaryArg, summaryArgCount, iosRelevanceScore, iosInterruptionLevel, emailSubject, emailBody, emailFromName, emailFromAddress, emailReplyToAddress, emailPreheader, disableEmailClickTracking, includeUnsubscribed, emailBcc, smsFrom, smsMediaUrls, filters, customData, huaweiBadgeClass, huaweiBadgeAddNum, huaweiBadgeSetNum, huaweiCategory, huaweiBiTag, successful, failed, errored, converted, received, outcomes, remaining, queuedAt, sendAfter, completedAt, platformDeliveryStats, canceled, bccSent); + return Objects.hash(includedSegments, excludedSegments, includeSubscriptionIds, includeEmailTokens, emailTo, includePhoneNumbers, includeIosTokens, includeWpWnsUris, includeAmazonRegIds, includeChromeRegIds, includeChromeWebRegIds, includeAndroidRegIds, includeAliases, targetChannel, id, value, name, aggregation, isIos, isAndroid, isHuawei, isAnyWeb, isChromeWeb, isFirefox, isSafari, isWPWNS, isAdm, isChrome, appId, externalId, idempotencyKey, contents, headings, subtitle, data, huaweiMsgType, url, webUrl, appUrl, iosAttachments, templateId, contentAvailable, mutableContent, targetContentIdentifier, bigPicture, huaweiBigPicture, admBigPicture, chromeBigPicture, chromeWebImage, buttons, webButtons, iosCategory, androidChannelId, huaweiChannelId, existingAndroidChannelId, huaweiExistingChannelId, androidBackgroundLayout, smallIcon, huaweiSmallIcon, largeIcon, huaweiLargeIcon, admSmallIcon, admLargeIcon, chromeWebIcon, chromeWebBadge, firefoxIcon, chromeIcon, iosSound, androidSound, huaweiSound, admSound, wpWnsSound, androidLedColor, huaweiLedColor, androidAccentColor, huaweiAccentColor, androidVisibility, huaweiVisibility, iosBadgeType, iosBadgeCount, collapseId, webPushTopic, apnsAlert, delayedOption, deliveryTimeOfDay, ttl, priority, apnsPushTypeOverride, throttleRatePerMinute, androidGroup, androidGroupMessage, admGroup, admGroupMessage, threadId, summaryArg, summaryArgCount, iosRelevanceScore, iosInterruptionLevel, emailSubject, emailBody, emailFromName, emailFromAddress, emailReplyToAddress, emailPreheader, disableEmailClickTracking, includeUnsubscribed, emailBcc, emailSenderDomain, smsFrom, smsMediaUrls, filters, customData, huaweiBadgeClass, huaweiBadgeAddNum, huaweiBadgeSetNum, huaweiCategory, huaweiBiTag, successful, failed, errored, converted, received, outcomes, remaining, queuedAt, sendAfter, completedAt, platformDeliveryStats, canceled, bccSent); } private static int hashCodeNullable(JsonNullable a) { @@ -3993,6 +4059,7 @@ public String toString() { sb.append(" excludedSegments: ").append(toIndentedString(excludedSegments)).append("\n"); sb.append(" includeSubscriptionIds: ").append(toIndentedString(includeSubscriptionIds)).append("\n"); sb.append(" includeEmailTokens: ").append(toIndentedString(includeEmailTokens)).append("\n"); + sb.append(" emailTo: ").append(toIndentedString(emailTo)).append("\n"); sb.append(" includePhoneNumbers: ").append(toIndentedString(includePhoneNumbers)).append("\n"); sb.append(" includeIosTokens: ").append(toIndentedString(includeIosTokens)).append("\n"); sb.append(" includeWpWnsUris: ").append(toIndentedString(includeWpWnsUris)).append("\n"); @@ -4095,6 +4162,7 @@ public String toString() { sb.append(" disableEmailClickTracking: ").append(toIndentedString(disableEmailClickTracking)).append("\n"); sb.append(" includeUnsubscribed: ").append(toIndentedString(includeUnsubscribed)).append("\n"); sb.append(" emailBcc: ").append(toIndentedString(emailBcc)).append("\n"); + sb.append(" emailSenderDomain: ").append(toIndentedString(emailSenderDomain)).append("\n"); sb.append(" smsFrom: ").append(toIndentedString(smsFrom)).append("\n"); sb.append(" smsMediaUrls: ").append(toIndentedString(smsMediaUrls)).append("\n"); sb.append(" filters: ").append(toIndentedString(filters)).append("\n"); @@ -4143,6 +4211,7 @@ private String toIndentedString(Object o) { openapiFields.add("excluded_segments"); openapiFields.add("include_subscription_ids"); openapiFields.add("include_email_tokens"); + openapiFields.add("email_to"); openapiFields.add("include_phone_numbers"); openapiFields.add("include_ios_tokens"); openapiFields.add("include_wp_wns_uris"); @@ -4245,6 +4314,7 @@ private String toIndentedString(Object o) { openapiFields.add("disable_email_click_tracking"); openapiFields.add("include_unsubscribed"); openapiFields.add("email_bcc"); + openapiFields.add("email_sender_domain"); openapiFields.add("sms_from"); openapiFields.add("sms_media_urls"); openapiFields.add("filters"); diff --git a/src/main/java/com/onesignal/client/model/NotificationWithMetaAllOf.java b/src/main/java/com/onesignal/client/model/NotificationWithMetaAllOf.java index e14033fe..caae5494 100644 --- a/src/main/java/com/onesignal/client/model/NotificationWithMetaAllOf.java +++ b/src/main/java/com/onesignal/client/model/NotificationWithMetaAllOf.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/Operator.java b/src/main/java/com/onesignal/client/model/Operator.java index 6b3d8ad3..402a781c 100644 --- a/src/main/java/com/onesignal/client/model/Operator.java +++ b/src/main/java/com/onesignal/client/model/Operator.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/OutcomeData.java b/src/main/java/com/onesignal/client/model/OutcomeData.java index 2813e0fd..c26a6681 100644 --- a/src/main/java/com/onesignal/client/model/OutcomeData.java +++ b/src/main/java/com/onesignal/client/model/OutcomeData.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/OutcomesData.java b/src/main/java/com/onesignal/client/model/OutcomesData.java index 46cce101..d1414293 100644 --- a/src/main/java/com/onesignal/client/model/OutcomesData.java +++ b/src/main/java/com/onesignal/client/model/OutcomesData.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/PlatformDeliveryData.java b/src/main/java/com/onesignal/client/model/PlatformDeliveryData.java index 09b868a8..138afe7f 100644 --- a/src/main/java/com/onesignal/client/model/PlatformDeliveryData.java +++ b/src/main/java/com/onesignal/client/model/PlatformDeliveryData.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/PlatformDeliveryDataEmailAllOf.java b/src/main/java/com/onesignal/client/model/PlatformDeliveryDataEmailAllOf.java index a275a385..d3e337a3 100644 --- a/src/main/java/com/onesignal/client/model/PlatformDeliveryDataEmailAllOf.java +++ b/src/main/java/com/onesignal/client/model/PlatformDeliveryDataEmailAllOf.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/PlatformDeliveryDataSmsAllOf.java b/src/main/java/com/onesignal/client/model/PlatformDeliveryDataSmsAllOf.java index d2022588..a3225b30 100644 --- a/src/main/java/com/onesignal/client/model/PlatformDeliveryDataSmsAllOf.java +++ b/src/main/java/com/onesignal/client/model/PlatformDeliveryDataSmsAllOf.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/PropertiesBody.java b/src/main/java/com/onesignal/client/model/PropertiesBody.java index 88835dfb..d2f21287 100644 --- a/src/main/java/com/onesignal/client/model/PropertiesBody.java +++ b/src/main/java/com/onesignal/client/model/PropertiesBody.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/PropertiesDeltas.java b/src/main/java/com/onesignal/client/model/PropertiesDeltas.java index 44ee01fa..9ad8840b 100644 --- a/src/main/java/com/onesignal/client/model/PropertiesDeltas.java +++ b/src/main/java/com/onesignal/client/model/PropertiesDeltas.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/PropertiesObject.java b/src/main/java/com/onesignal/client/model/PropertiesObject.java index beb91611..28d58819 100644 --- a/src/main/java/com/onesignal/client/model/PropertiesObject.java +++ b/src/main/java/com/onesignal/client/model/PropertiesObject.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/Purchase.java b/src/main/java/com/onesignal/client/model/Purchase.java index 0c511115..1f8068de 100644 --- a/src/main/java/com/onesignal/client/model/Purchase.java +++ b/src/main/java/com/onesignal/client/model/Purchase.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/RateLimitError.java b/src/main/java/com/onesignal/client/model/RateLimitError.java index d1b94894..26107e0b 100644 --- a/src/main/java/com/onesignal/client/model/RateLimitError.java +++ b/src/main/java/com/onesignal/client/model/RateLimitError.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/Segment.java b/src/main/java/com/onesignal/client/model/Segment.java index 61c74f75..a589d585 100644 --- a/src/main/java/com/onesignal/client/model/Segment.java +++ b/src/main/java/com/onesignal/client/model/Segment.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/SegmentData.java b/src/main/java/com/onesignal/client/model/SegmentData.java index c4f3f39e..e5c73e05 100644 --- a/src/main/java/com/onesignal/client/model/SegmentData.java +++ b/src/main/java/com/onesignal/client/model/SegmentData.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/SegmentNotificationTarget.java b/src/main/java/com/onesignal/client/model/SegmentNotificationTarget.java index 426964a6..a939450c 100644 --- a/src/main/java/com/onesignal/client/model/SegmentNotificationTarget.java +++ b/src/main/java/com/onesignal/client/model/SegmentNotificationTarget.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/StartLiveActivityRequest.java b/src/main/java/com/onesignal/client/model/StartLiveActivityRequest.java index 5c9e15ab..de172b80 100644 --- a/src/main/java/com/onesignal/client/model/StartLiveActivityRequest.java +++ b/src/main/java/com/onesignal/client/model/StartLiveActivityRequest.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/StartLiveActivitySuccessResponse.java b/src/main/java/com/onesignal/client/model/StartLiveActivitySuccessResponse.java index e220e0b5..01ff08d8 100644 --- a/src/main/java/com/onesignal/client/model/StartLiveActivitySuccessResponse.java +++ b/src/main/java/com/onesignal/client/model/StartLiveActivitySuccessResponse.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/Subscription.java b/src/main/java/com/onesignal/client/model/Subscription.java index 021daa8a..915372fe 100644 --- a/src/main/java/com/onesignal/client/model/Subscription.java +++ b/src/main/java/com/onesignal/client/model/Subscription.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/SubscriptionBody.java b/src/main/java/com/onesignal/client/model/SubscriptionBody.java index 4f70dae8..50139656 100644 --- a/src/main/java/com/onesignal/client/model/SubscriptionBody.java +++ b/src/main/java/com/onesignal/client/model/SubscriptionBody.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/SubscriptionNotificationTarget.java b/src/main/java/com/onesignal/client/model/SubscriptionNotificationTarget.java index 7f06b867..7047be25 100644 --- a/src/main/java/com/onesignal/client/model/SubscriptionNotificationTarget.java +++ b/src/main/java/com/onesignal/client/model/SubscriptionNotificationTarget.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -65,6 +65,10 @@ public class SubscriptionNotificationTarget { @SerializedName(SERIALIZED_NAME_INCLUDE_EMAIL_TOKENS) private List includeEmailTokens = null; + public static final String SERIALIZED_NAME_EMAIL_TO = "email_to"; + @SerializedName(SERIALIZED_NAME_EMAIL_TO) + private List emailTo = null; + public static final String SERIALIZED_NAME_INCLUDE_PHONE_NUMBERS = "include_phone_numbers"; @SerializedName(SERIALIZED_NAME_INCLUDE_PHONE_NUMBERS) private List includePhoneNumbers = null; @@ -199,11 +203,13 @@ public SubscriptionNotificationTarget addIncludeEmailTokensItem(String includeEm } /** - * Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts Limit of 2,000 entries per REST API call + * Deprecated alias for `email_to`. Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Prefer `email_to` in new integrations. * @return includeEmailTokens + * @deprecated **/ + @Deprecated @javax.annotation.Nullable - @ApiModelProperty(value = "Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts Limit of 2,000 entries per REST API call ") + @ApiModelProperty(value = "Deprecated alias for `email_to`. Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Prefer `email_to` in new integrations. ") public List getIncludeEmailTokens() { return includeEmailTokens; @@ -215,6 +221,37 @@ public void setIncludeEmailTokens(List includeEmailTokens) { } + public SubscriptionNotificationTarget emailTo(List emailTo) { + + this.emailTo = emailTo; + return this; + } + + public SubscriptionNotificationTarget addEmailToItem(String emailToItem) { + if (this.emailTo == null) { + this.emailTo = new ArrayList<>(); + } + this.emailTo.add(emailToItem); + return this; + } + + /** + * Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Supersedes the deprecated `include_email_tokens` field. + * @return emailTo + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Recommended for Sending Emails - Target specific email addresses. If an email does not correspond to an existing user, a new user will be created. Example: nick@catfac.ts. Limit of 2,000 entries per REST API call. Supersedes the deprecated `include_email_tokens` field. ") + + public List getEmailTo() { + return emailTo; + } + + + public void setEmailTo(List emailTo) { + this.emailTo = emailTo; + } + + public SubscriptionNotificationTarget includePhoneNumbers(List includePhoneNumbers) { this.includePhoneNumbers = includePhoneNumbers; @@ -498,6 +535,7 @@ public boolean equals(Object o) { SubscriptionNotificationTarget subscriptionNotificationTarget = (SubscriptionNotificationTarget) o; return Objects.equals(this.includeSubscriptionIds, subscriptionNotificationTarget.includeSubscriptionIds) && Objects.equals(this.includeEmailTokens, subscriptionNotificationTarget.includeEmailTokens) && + Objects.equals(this.emailTo, subscriptionNotificationTarget.emailTo) && Objects.equals(this.includePhoneNumbers, subscriptionNotificationTarget.includePhoneNumbers) && Objects.equals(this.includeIosTokens, subscriptionNotificationTarget.includeIosTokens) && Objects.equals(this.includeWpWnsUris, subscriptionNotificationTarget.includeWpWnsUris) && @@ -515,7 +553,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { - return Objects.hash(includeSubscriptionIds, includeEmailTokens, includePhoneNumbers, includeIosTokens, includeWpWnsUris, includeAmazonRegIds, includeChromeRegIds, includeChromeWebRegIds, includeAndroidRegIds, includeAliases, targetChannel); + return Objects.hash(includeSubscriptionIds, includeEmailTokens, emailTo, includePhoneNumbers, includeIosTokens, includeWpWnsUris, includeAmazonRegIds, includeChromeRegIds, includeChromeWebRegIds, includeAndroidRegIds, includeAliases, targetChannel); } private static int hashCodeNullable(JsonNullable a) { @@ -531,6 +569,7 @@ public String toString() { sb.append("class SubscriptionNotificationTarget {\n"); sb.append(" includeSubscriptionIds: ").append(toIndentedString(includeSubscriptionIds)).append("\n"); sb.append(" includeEmailTokens: ").append(toIndentedString(includeEmailTokens)).append("\n"); + sb.append(" emailTo: ").append(toIndentedString(emailTo)).append("\n"); sb.append(" includePhoneNumbers: ").append(toIndentedString(includePhoneNumbers)).append("\n"); sb.append(" includeIosTokens: ").append(toIndentedString(includeIosTokens)).append("\n"); sb.append(" includeWpWnsUris: ").append(toIndentedString(includeWpWnsUris)).append("\n"); @@ -564,6 +603,7 @@ private String toIndentedString(Object o) { openapiFields = new HashSet(); openapiFields.add("include_subscription_ids"); openapiFields.add("include_email_tokens"); + openapiFields.add("email_to"); openapiFields.add("include_phone_numbers"); openapiFields.add("include_ios_tokens"); openapiFields.add("include_wp_wns_uris"); diff --git a/src/main/java/com/onesignal/client/model/TemplateResource.java b/src/main/java/com/onesignal/client/model/TemplateResource.java index 570f5fb0..05e7d0aa 100644 --- a/src/main/java/com/onesignal/client/model/TemplateResource.java +++ b/src/main/java/com/onesignal/client/model/TemplateResource.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/TemplatesListResponse.java b/src/main/java/com/onesignal/client/model/TemplatesListResponse.java index 81a99b9c..4f0db84d 100644 --- a/src/main/java/com/onesignal/client/model/TemplatesListResponse.java +++ b/src/main/java/com/onesignal/client/model/TemplatesListResponse.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/TransferSubscriptionRequestBody.java b/src/main/java/com/onesignal/client/model/TransferSubscriptionRequestBody.java index dab28dc1..0fb616db 100644 --- a/src/main/java/com/onesignal/client/model/TransferSubscriptionRequestBody.java +++ b/src/main/java/com/onesignal/client/model/TransferSubscriptionRequestBody.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/UpdateApiKeyRequest.java b/src/main/java/com/onesignal/client/model/UpdateApiKeyRequest.java index fc435985..0739ca77 100644 --- a/src/main/java/com/onesignal/client/model/UpdateApiKeyRequest.java +++ b/src/main/java/com/onesignal/client/model/UpdateApiKeyRequest.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/UpdateLiveActivityRequest.java b/src/main/java/com/onesignal/client/model/UpdateLiveActivityRequest.java index 775e790b..e913c1c4 100644 --- a/src/main/java/com/onesignal/client/model/UpdateLiveActivityRequest.java +++ b/src/main/java/com/onesignal/client/model/UpdateLiveActivityRequest.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/UpdateLiveActivitySuccessResponse.java b/src/main/java/com/onesignal/client/model/UpdateLiveActivitySuccessResponse.java index a1d9fc26..0c83d914 100644 --- a/src/main/java/com/onesignal/client/model/UpdateLiveActivitySuccessResponse.java +++ b/src/main/java/com/onesignal/client/model/UpdateLiveActivitySuccessResponse.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/UpdateTemplateRequest.java b/src/main/java/com/onesignal/client/model/UpdateTemplateRequest.java index f85af97b..78ffc558 100644 --- a/src/main/java/com/onesignal/client/model/UpdateTemplateRequest.java +++ b/src/main/java/com/onesignal/client/model/UpdateTemplateRequest.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/UpdateUserRequest.java b/src/main/java/com/onesignal/client/model/UpdateUserRequest.java index 232f419a..f68e279f 100644 --- a/src/main/java/com/onesignal/client/model/UpdateUserRequest.java +++ b/src/main/java/com/onesignal/client/model/UpdateUserRequest.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/User.java b/src/main/java/com/onesignal/client/model/User.java index 57039dda..80282b25 100644 --- a/src/main/java/com/onesignal/client/model/User.java +++ b/src/main/java/com/onesignal/client/model/User.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/UserIdentityBody.java b/src/main/java/com/onesignal/client/model/UserIdentityBody.java index 397d56a7..869d981e 100644 --- a/src/main/java/com/onesignal/client/model/UserIdentityBody.java +++ b/src/main/java/com/onesignal/client/model/UserIdentityBody.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/onesignal/client/model/WebButton.java b/src/main/java/com/onesignal/client/model/WebButton.java index 424b7447..2b1ab9ad 100644 --- a/src/main/java/com/onesignal/client/model/WebButton.java +++ b/src/main/java/com/onesignal/client/model/WebButton.java @@ -2,7 +2,7 @@ * OneSignal * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.5.0 + * The version of the OpenAPI document: 5.6.0 * Contact: devrel@onesignal.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).