Skip to content

Commit 8a5dfca

Browse files
author
OneSignal
committed
feat: add v5.3.0-beta1 package updates
1 parent fe89232 commit 8a5dfca

File tree

10 files changed

+1144
-7
lines changed

10 files changed

+1144
-7
lines changed

.github/workflows/publish-maven-central.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
-p @semantic-release/git \
3535
-p @semantic-release/github \
3636
-p conventional-changelog-conventionalcommits \
37-
semantic-release
37+
semantic-release --dry-run
3838
release:
3939
runs-on: ubuntu-latest
4040

api/openapi.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5117,6 +5117,12 @@ components:
51175117
nullable: true
51185118
type: string
51195119
writeOnly: true
5120+
email_reply_to_address:
5121+
description: "Channel: Email\nThe email address where replies should be\
5122+
\ sent. If not specified, replies will go to the from address.\n"
5123+
nullable: true
5124+
type: string
5125+
writeOnly: true
51205126
email_preheader:
51215127
description: "Channel: Email\nThe preheader text of the email.\nPreheader\
51225128
\ is the preview text displayed immediately after an email subject that\
@@ -5170,6 +5176,49 @@ components:
51705176
nullable: true
51715177
type: object
51725178
writeOnly: true
5179+
huawei_badge_class:
5180+
description: "Channel: Push Notifications\nPlatform: Huawei\nFull path of\
5181+
\ the app entry activity class"
5182+
nullable: true
5183+
type: string
5184+
writeOnly: true
5185+
huawei_badge_add_num:
5186+
description: "Channel: Push Notifications\nPlatform: Huawei\nAccumulative\
5187+
\ badge number, which is an integer ranging from 1 to 99"
5188+
nullable: true
5189+
type: integer
5190+
writeOnly: true
5191+
huawei_badge_set_num:
5192+
description: "Channel: Push Notifications\nPlatform: Huawei\nBadge number,\
5193+
\ which is an integer ranging from 0 to 99"
5194+
nullable: true
5195+
type: integer
5196+
writeOnly: true
5197+
huawei_category:
5198+
description: "Channel: Push Notifications\nPlatform: Huawei\nCategory of\
5199+
\ the push notification for HMS classification."
5200+
enum:
5201+
- IM
5202+
- VOIP
5203+
- SUBSCRIPTION
5204+
- TRAVEL
5205+
- HEALTH
5206+
- WORK
5207+
- ACCOUNT
5208+
- EXPRESS
5209+
- FINANCE
5210+
- DEVICE_REMINDER
5211+
- MAIL
5212+
- MARKETING
5213+
nullable: true
5214+
type: string
5215+
writeOnly: true
5216+
huawei_bi_tag:
5217+
description: "Channel: Push Notifications\nPlatform: Huawei\nA tag used\
5218+
\ for Huawei business intelligence and analytics."
5219+
nullable: true
5220+
type: string
5221+
writeOnly: true
51735222
type: object
51745223
Notification_allOf:
51755224
properties:

docs/BasicNotification.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,19 @@
108108
|**emailBody** | **String** | Channel: Email Required unless template_id is set. HTML suported The body of the email you wish to send. Typically, customers include their own HTML templates here. Must include [unsubscribe_url] in an <a> tag somewhere in the email. Note: any malformed HTML content will be sent to users. Please double-check your HTML is valid. | [optional] |
109109
|**emailFromName** | **String** | Channel: Email The name the email is from. If not specified, will default to \"from name\" set in the OneSignal Dashboard Email Settings. | [optional] |
110110
|**emailFromAddress** | **String** | Channel: Email The email address the email is from. If not specified, will default to \"from email\" set in the OneSignal Dashboard Email Settings. | [optional] |
111+
|**emailReplyToAddress** | **String** | Channel: Email The email address where replies should be sent. If not specified, replies will go to the from address. | [optional] |
111112
|**emailPreheader** | **String** | Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null. | [optional] |
112113
|**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] |
113114
|**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] |
114115
|**smsFrom** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] |
115116
|**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] |
116117
|**filters** | [**List<FilterExpression>**](FilterExpression.md) | | [optional] |
117118
|**customData** | **Object** | Channel: All JSON object that can be used as a source of message personalization data for fields that support tag variable substitution. Push, SMS: Can accept up to 2048 bytes of valid JSON. Email: Can accept up to 10000 bytes of valid JSON. Example: {\"order_id\": 123, \"currency\": \"USD\", \"amount\": 25} | [optional] |
119+
|**huaweiBadgeClass** | **String** | Channel: Push Notifications Platform: Huawei Full path of the app entry activity class | [optional] |
120+
|**huaweiBadgeAddNum** | **Integer** | Channel: Push Notifications Platform: Huawei Accumulative badge number, which is an integer ranging from 1 to 99 | [optional] |
121+
|**huaweiBadgeSetNum** | **Integer** | Channel: Push Notifications Platform: Huawei Badge number, which is an integer ranging from 0 to 99 | [optional] |
122+
|**huaweiCategory** | [**HuaweiCategoryEnum**](#HuaweiCategoryEnum) | Channel: Push Notifications Platform: Huawei Category of the push notification for HMS classification. | [optional] |
123+
|**huaweiBiTag** | **String** | Channel: Push Notifications Platform: Huawei A tag used for Huawei business intelligence and analytics. | [optional] |
118124

119125

120126

@@ -137,3 +143,22 @@
137143

138144

139145

146+
## Enum: HuaweiCategoryEnum
147+
148+
| Name | Value |
149+
|---- | -----|
150+
| IM | "IM" |
151+
| VOIP | "VOIP" |
152+
| SUBSCRIPTION | "SUBSCRIPTION" |
153+
| TRAVEL | "TRAVEL" |
154+
| HEALTH | "HEALTH" |
155+
| WORK | "WORK" |
156+
| ACCOUNT | "ACCOUNT" |
157+
| EXPRESS | "EXPRESS" |
158+
| FINANCE | "FINANCE" |
159+
| DEVICE_REMINDER | "DEVICE_REMINDER" |
160+
| MAIL | "MAIL" |
161+
| MARKETING | "MARKETING" |
162+
163+
164+

docs/BasicNotificationAllOf.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,19 @@
9595
|**emailBody** | **String** | Channel: Email Required unless template_id is set. HTML suported The body of the email you wish to send. Typically, customers include their own HTML templates here. Must include [unsubscribe_url] in an <a> tag somewhere in the email. Note: any malformed HTML content will be sent to users. Please double-check your HTML is valid. | [optional] |
9696
|**emailFromName** | **String** | Channel: Email The name the email is from. If not specified, will default to \"from name\" set in the OneSignal Dashboard Email Settings. | [optional] |
9797
|**emailFromAddress** | **String** | Channel: Email The email address the email is from. If not specified, will default to \"from email\" set in the OneSignal Dashboard Email Settings. | [optional] |
98+
|**emailReplyToAddress** | **String** | Channel: Email The email address where replies should be sent. If not specified, replies will go to the from address. | [optional] |
9899
|**emailPreheader** | **String** | Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null. | [optional] |
99100
|**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] |
100101
|**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] |
101102
|**smsFrom** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] |
102103
|**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] |
103104
|**filters** | [**List<FilterExpression>**](FilterExpression.md) | | [optional] |
104105
|**customData** | **Object** | Channel: All JSON object that can be used as a source of message personalization data for fields that support tag variable substitution. Push, SMS: Can accept up to 2048 bytes of valid JSON. Email: Can accept up to 10000 bytes of valid JSON. Example: {\"order_id\": 123, \"currency\": \"USD\", \"amount\": 25} | [optional] |
106+
|**huaweiBadgeClass** | **String** | Channel: Push Notifications Platform: Huawei Full path of the app entry activity class | [optional] |
107+
|**huaweiBadgeAddNum** | **Integer** | Channel: Push Notifications Platform: Huawei Accumulative badge number, which is an integer ranging from 1 to 99 | [optional] |
108+
|**huaweiBadgeSetNum** | **Integer** | Channel: Push Notifications Platform: Huawei Badge number, which is an integer ranging from 0 to 99 | [optional] |
109+
|**huaweiCategory** | [**HuaweiCategoryEnum**](#HuaweiCategoryEnum) | Channel: Push Notifications Platform: Huawei Category of the push notification for HMS classification. | [optional] |
110+
|**huaweiBiTag** | **String** | Channel: Push Notifications Platform: Huawei A tag used for Huawei business intelligence and analytics. | [optional] |
105111

106112

107113

@@ -114,3 +120,22 @@
114120

115121

116122

123+
## Enum: HuaweiCategoryEnum
124+
125+
| Name | Value |
126+
|---- | -----|
127+
| IM | "IM" |
128+
| VOIP | "VOIP" |
129+
| SUBSCRIPTION | "SUBSCRIPTION" |
130+
| TRAVEL | "TRAVEL" |
131+
| HEALTH | "HEALTH" |
132+
| WORK | "WORK" |
133+
| ACCOUNT | "ACCOUNT" |
134+
| EXPRESS | "EXPRESS" |
135+
| FINANCE | "FINANCE" |
136+
| DEVICE_REMINDER | "DEVICE_REMINDER" |
137+
| MAIL | "MAIL" |
138+
| MARKETING | "MARKETING" |
139+
140+
141+

docs/Notification.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,19 @@
108108
|**emailBody** | **String** | Channel: Email Required unless template_id is set. HTML suported The body of the email you wish to send. Typically, customers include their own HTML templates here. Must include [unsubscribe_url] in an <a> tag somewhere in the email. Note: any malformed HTML content will be sent to users. Please double-check your HTML is valid. | [optional] |
109109
|**emailFromName** | **String** | Channel: Email The name the email is from. If not specified, will default to \"from name\" set in the OneSignal Dashboard Email Settings. | [optional] |
110110
|**emailFromAddress** | **String** | Channel: Email The email address the email is from. If not specified, will default to \"from email\" set in the OneSignal Dashboard Email Settings. | [optional] |
111+
|**emailReplyToAddress** | **String** | Channel: Email The email address where replies should be sent. If not specified, replies will go to the from address. | [optional] |
111112
|**emailPreheader** | **String** | Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null. | [optional] |
112113
|**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] |
113114
|**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] |
114115
|**smsFrom** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] |
115116
|**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] |
116117
|**filters** | [**List<FilterExpression>**](FilterExpression.md) | | [optional] |
117118
|**customData** | **Object** | Channel: All JSON object that can be used as a source of message personalization data for fields that support tag variable substitution. Push, SMS: Can accept up to 2048 bytes of valid JSON. Email: Can accept up to 10000 bytes of valid JSON. Example: {\"order_id\": 123, \"currency\": \"USD\", \"amount\": 25} | [optional] |
119+
|**huaweiBadgeClass** | **String** | Channel: Push Notifications Platform: Huawei Full path of the app entry activity class | [optional] |
120+
|**huaweiBadgeAddNum** | **Integer** | Channel: Push Notifications Platform: Huawei Accumulative badge number, which is an integer ranging from 1 to 99 | [optional] |
121+
|**huaweiBadgeSetNum** | **Integer** | Channel: Push Notifications Platform: Huawei Badge number, which is an integer ranging from 0 to 99 | [optional] |
122+
|**huaweiCategory** | [**HuaweiCategoryEnum**](#HuaweiCategoryEnum) | Channel: Push Notifications Platform: Huawei Category of the push notification for HMS classification. | [optional] |
123+
|**huaweiBiTag** | **String** | Channel: Push Notifications Platform: Huawei A tag used for Huawei business intelligence and analytics. | [optional] |
118124
|**sendAfter** | **OffsetDateTime** | Channel: All Schedule notification for future delivery. API defaults to UTC -1100 Examples: All examples are the exact same date & time. \"Thu Sep 24 2015 14:00:00 GMT-0700 (PDT)\" \"September 24th 2015, 2:00:00 pm UTC-07:00\" \"2015-09-24 14:00:00 GMT-0700\" \"Sept 24 2015 14:00:00 GMT-0700\" \"Thu Sep 24 2015 14:00:00 GMT-0700 (Pacific Daylight Time)\" Note: SMS currently only supports send_after parameter. | [optional] |
119125

120126

@@ -138,3 +144,22 @@
138144

139145

140146

147+
## Enum: HuaweiCategoryEnum
148+
149+
| Name | Value |
150+
|---- | -----|
151+
| IM | "IM" |
152+
| VOIP | "VOIP" |
153+
| SUBSCRIPTION | "SUBSCRIPTION" |
154+
| TRAVEL | "TRAVEL" |
155+
| HEALTH | "HEALTH" |
156+
| WORK | "WORK" |
157+
| ACCOUNT | "ACCOUNT" |
158+
| EXPRESS | "EXPRESS" |
159+
| FINANCE | "FINANCE" |
160+
| DEVICE_REMINDER | "DEVICE_REMINDER" |
161+
| MAIL | "MAIL" |
162+
| MARKETING | "MARKETING" |
163+
164+
165+

docs/NotificationWithMeta.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,19 @@
108108
|**emailBody** | **String** | Channel: Email Required unless template_id is set. HTML suported The body of the email you wish to send. Typically, customers include their own HTML templates here. Must include [unsubscribe_url] in an <a> tag somewhere in the email. Note: any malformed HTML content will be sent to users. Please double-check your HTML is valid. | [optional] |
109109
|**emailFromName** | **String** | Channel: Email The name the email is from. If not specified, will default to \"from name\" set in the OneSignal Dashboard Email Settings. | [optional] |
110110
|**emailFromAddress** | **String** | Channel: Email The email address the email is from. If not specified, will default to \"from email\" set in the OneSignal Dashboard Email Settings. | [optional] |
111+
|**emailReplyToAddress** | **String** | Channel: Email The email address where replies should be sent. If not specified, replies will go to the from address. | [optional] |
111112
|**emailPreheader** | **String** | Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null. | [optional] |
112113
|**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] |
113114
|**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] |
114115
|**smsFrom** | **String** | Channel: SMS Phone Number used to send SMS. Should be a registered Twilio phone number in E.164 format. | [optional] |
115116
|**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] |
116117
|**filters** | [**List<FilterExpression>**](FilterExpression.md) | | [optional] |
117118
|**customData** | **Object** | Channel: All JSON object that can be used as a source of message personalization data for fields that support tag variable substitution. Push, SMS: Can accept up to 2048 bytes of valid JSON. Email: Can accept up to 10000 bytes of valid JSON. Example: {\"order_id\": 123, \"currency\": \"USD\", \"amount\": 25} | [optional] |
119+
|**huaweiBadgeClass** | **String** | Channel: Push Notifications Platform: Huawei Full path of the app entry activity class | [optional] |
120+
|**huaweiBadgeAddNum** | **Integer** | Channel: Push Notifications Platform: Huawei Accumulative badge number, which is an integer ranging from 1 to 99 | [optional] |
121+
|**huaweiBadgeSetNum** | **Integer** | Channel: Push Notifications Platform: Huawei Badge number, which is an integer ranging from 0 to 99 | [optional] |
122+
|**huaweiCategory** | [**HuaweiCategoryEnum**](#HuaweiCategoryEnum) | Channel: Push Notifications Platform: Huawei Category of the push notification for HMS classification. | [optional] |
123+
|**huaweiBiTag** | **String** | Channel: Push Notifications Platform: Huawei A tag used for Huawei business intelligence and analytics. | [optional] |
118124
|**successful** | **Integer** | Number of notifications that were successfully delivered. | [optional] |
119125
|**failed** | **Integer** | Number of notifications that could not be delivered due to those devices being unsubscribed. | [optional] |
120126
|**errored** | **Integer** | Number of notifications that could not be delivered due to an error. You can find more information by viewing the notification in the dashboard. | [optional] |
@@ -149,3 +155,22 @@
149155

150156

151157

158+
## Enum: HuaweiCategoryEnum
159+
160+
| Name | Value |
161+
|---- | -----|
162+
| IM | "IM" |
163+
| VOIP | "VOIP" |
164+
| SUBSCRIPTION | "SUBSCRIPTION" |
165+
| TRAVEL | "TRAVEL" |
166+
| HEALTH | "HEALTH" |
167+
| WORK | "WORK" |
168+
| ACCOUNT | "ACCOUNT" |
169+
| EXPRESS | "EXPRESS" |
170+
| FINANCE | "FINANCE" |
171+
| DEVICE_REMINDER | "DEVICE_REMINDER" |
172+
| MAIL | "MAIL" |
173+
| MARKETING | "MARKETING" |
174+
175+
176+

0 commit comments

Comments
 (0)