Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/npm_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
-p @semantic-release/github \
-p @semantic-release/npm \
-p conventional-changelog-conventionalcommits \
semantic-release
semantic-release --dry-run
88 changes: 44 additions & 44 deletions apis/DefaultApi.ts

Large diffs are not rendered by default.

61 changes: 61 additions & 0 deletions models/BasicNotification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,10 @@ export class BasicNotification {
*/
'email_from_address'?: string;
/**
* Channel: Email The email address where replies should be sent. If not specified, replies will go to the from address.
*/
'email_reply_to_address'?: 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.
*/
'email_preheader'?: string;
Expand All @@ -421,6 +425,26 @@ export class BasicNotification {
* 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}
*/
'custom_data'?: object;
/**
* Channel: Push Notifications Platform: Huawei Full path of the app entry activity class
*/
'huawei_badge_class'?: string;
/**
* Channel: Push Notifications Platform: Huawei Accumulative badge number, which is an integer ranging from 1 to 99
*/
'huawei_badge_add_num'?: number;
/**
* Channel: Push Notifications Platform: Huawei Badge number, which is an integer ranging from 0 to 99
*/
'huawei_badge_set_num'?: number;
/**
* Channel: Push Notifications Platform: Huawei Category of the push notification for HMS classification.
*/
'huawei_category'?: BasicNotificationHuaweiCategoryEnum;
/**
* Channel: Push Notifications Platform: Huawei A tag used for Huawei business intelligence and analytics.
*/
'huawei_bi_tag'?: string;

static readonly discriminator: string | undefined = undefined;

Expand Down Expand Up @@ -1031,6 +1055,12 @@ export class BasicNotification {
"type": "string",
"format": ""
},
{
"name": "email_reply_to_address",
"baseName": "email_reply_to_address",
"type": "string",
"format": ""
},
{
"name": "email_preheader",
"baseName": "email_preheader",
Expand Down Expand Up @@ -1072,6 +1102,36 @@ export class BasicNotification {
"baseName": "custom_data",
"type": "object",
"format": ""
},
{
"name": "huawei_badge_class",
"baseName": "huawei_badge_class",
"type": "string",
"format": ""
},
{
"name": "huawei_badge_add_num",
"baseName": "huawei_badge_add_num",
"type": "number",
"format": ""
},
{
"name": "huawei_badge_set_num",
"baseName": "huawei_badge_set_num",
"type": "number",
"format": ""
},
{
"name": "huawei_category",
"baseName": "huawei_category",
"type": "BasicNotificationHuaweiCategoryEnum",
"format": ""
},
{
"name": "huawei_bi_tag",
"baseName": "huawei_bi_tag",
"type": "string",
"format": ""
} ];

static getAttributeTypeMap() {
Expand All @@ -1085,4 +1145,5 @@ export class BasicNotification {

export type BasicNotificationTargetChannelEnum = "push" | "email" | "sms" ;
export type BasicNotificationAggregationEnum = "sum" | "count" ;
export type BasicNotificationHuaweiCategoryEnum = "IM" | "VOIP" | "SUBSCRIPTION" | "TRAVEL" | "HEALTH" | "WORK" | "ACCOUNT" | "EXPRESS" | "FINANCE" | "DEVICE_REMINDER" | "MAIL" | "MARKETING" ;

61 changes: 61 additions & 0 deletions models/BasicNotificationAllOf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,10 @@ export class BasicNotificationAllOf {
*/
'email_from_address'?: string;
/**
* Channel: Email The email address where replies should be sent. If not specified, replies will go to the from address.
*/
'email_reply_to_address'?: 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.
*/
'email_preheader'?: string;
Expand All @@ -370,6 +374,26 @@ export class BasicNotificationAllOf {
* 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}
*/
'custom_data'?: object;
/**
* Channel: Push Notifications Platform: Huawei Full path of the app entry activity class
*/
'huawei_badge_class'?: string;
/**
* Channel: Push Notifications Platform: Huawei Accumulative badge number, which is an integer ranging from 1 to 99
*/
'huawei_badge_add_num'?: number;
/**
* Channel: Push Notifications Platform: Huawei Badge number, which is an integer ranging from 0 to 99
*/
'huawei_badge_set_num'?: number;
/**
* Channel: Push Notifications Platform: Huawei Category of the push notification for HMS classification.
*/
'huawei_category'?: BasicNotificationAllOfHuaweiCategoryEnum;
/**
* Channel: Push Notifications Platform: Huawei A tag used for Huawei business intelligence and analytics.
*/
'huawei_bi_tag'?: string;

static readonly discriminator: string | undefined = undefined;

Expand Down Expand Up @@ -902,6 +926,12 @@ export class BasicNotificationAllOf {
"type": "string",
"format": ""
},
{
"name": "email_reply_to_address",
"baseName": "email_reply_to_address",
"type": "string",
"format": ""
},
{
"name": "email_preheader",
"baseName": "email_preheader",
Expand Down Expand Up @@ -943,6 +973,36 @@ export class BasicNotificationAllOf {
"baseName": "custom_data",
"type": "object",
"format": ""
},
{
"name": "huawei_badge_class",
"baseName": "huawei_badge_class",
"type": "string",
"format": ""
},
{
"name": "huawei_badge_add_num",
"baseName": "huawei_badge_add_num",
"type": "number",
"format": ""
},
{
"name": "huawei_badge_set_num",
"baseName": "huawei_badge_set_num",
"type": "number",
"format": ""
},
{
"name": "huawei_category",
"baseName": "huawei_category",
"type": "BasicNotificationAllOfHuaweiCategoryEnum",
"format": ""
},
{
"name": "huawei_bi_tag",
"baseName": "huawei_bi_tag",
"type": "string",
"format": ""
} ];

static getAttributeTypeMap() {
Expand All @@ -955,4 +1015,5 @@ export class BasicNotificationAllOf {


export type BasicNotificationAllOfAggregationEnum = "sum" | "count" ;
export type BasicNotificationAllOfHuaweiCategoryEnum = "IM" | "VOIP" | "SUBSCRIPTION" | "TRAVEL" | "HEALTH" | "WORK" | "ACCOUNT" | "EXPRESS" | "FINANCE" | "DEVICE_REMINDER" | "MAIL" | "MARKETING" ;

61 changes: 61 additions & 0 deletions models/Notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,10 @@ export class Notification {
*/
'email_from_address'?: string;
/**
* Channel: Email The email address where replies should be sent. If not specified, replies will go to the from address.
*/
'email_reply_to_address'?: 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.
*/
'email_preheader'?: string;
Expand All @@ -422,6 +426,26 @@ export class Notification {
*/
'custom_data'?: object;
/**
* Channel: Push Notifications Platform: Huawei Full path of the app entry activity class
*/
'huawei_badge_class'?: string;
/**
* Channel: Push Notifications Platform: Huawei Accumulative badge number, which is an integer ranging from 1 to 99
*/
'huawei_badge_add_num'?: number;
/**
* Channel: Push Notifications Platform: Huawei Badge number, which is an integer ranging from 0 to 99
*/
'huawei_badge_set_num'?: number;
/**
* Channel: Push Notifications Platform: Huawei Category of the push notification for HMS classification.
*/
'huawei_category'?: NotificationHuaweiCategoryEnum;
/**
* Channel: Push Notifications Platform: Huawei A tag used for Huawei business intelligence and analytics.
*/
'huawei_bi_tag'?: string;
/**
* 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.
*/
'send_after'?: string;
Expand Down Expand Up @@ -1035,6 +1059,12 @@ export class Notification {
"type": "string",
"format": ""
},
{
"name": "email_reply_to_address",
"baseName": "email_reply_to_address",
"type": "string",
"format": ""
},
{
"name": "email_preheader",
"baseName": "email_preheader",
Expand Down Expand Up @@ -1077,6 +1107,36 @@ export class Notification {
"type": "object",
"format": ""
},
{
"name": "huawei_badge_class",
"baseName": "huawei_badge_class",
"type": "string",
"format": ""
},
{
"name": "huawei_badge_add_num",
"baseName": "huawei_badge_add_num",
"type": "number",
"format": ""
},
{
"name": "huawei_badge_set_num",
"baseName": "huawei_badge_set_num",
"type": "number",
"format": ""
},
{
"name": "huawei_category",
"baseName": "huawei_category",
"type": "NotificationHuaweiCategoryEnum",
"format": ""
},
{
"name": "huawei_bi_tag",
"baseName": "huawei_bi_tag",
"type": "string",
"format": ""
},
{
"name": "send_after",
"baseName": "send_after",
Expand All @@ -1095,4 +1155,5 @@ export class Notification {

export type NotificationTargetChannelEnum = "push" | "email" | "sms" ;
export type NotificationAggregationEnum = "sum" | "count" ;
export type NotificationHuaweiCategoryEnum = "IM" | "VOIP" | "SUBSCRIPTION" | "TRAVEL" | "HEALTH" | "WORK" | "ACCOUNT" | "EXPRESS" | "FINANCE" | "DEVICE_REMINDER" | "MAIL" | "MARKETING" ;

61 changes: 61 additions & 0 deletions models/NotificationWithMeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,10 @@ export class NotificationWithMeta {
*/
'email_from_address'?: string;
/**
* Channel: Email The email address where replies should be sent. If not specified, replies will go to the from address.
*/
'email_reply_to_address'?: 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.
*/
'email_preheader'?: string;
Expand All @@ -426,6 +430,26 @@ export class NotificationWithMeta {
*/
'custom_data'?: object;
/**
* Channel: Push Notifications Platform: Huawei Full path of the app entry activity class
*/
'huawei_badge_class'?: string;
/**
* Channel: Push Notifications Platform: Huawei Accumulative badge number, which is an integer ranging from 1 to 99
*/
'huawei_badge_add_num'?: number;
/**
* Channel: Push Notifications Platform: Huawei Badge number, which is an integer ranging from 0 to 99
*/
'huawei_badge_set_num'?: number;
/**
* Channel: Push Notifications Platform: Huawei Category of the push notification for HMS classification.
*/
'huawei_category'?: NotificationWithMetaHuaweiCategoryEnum;
/**
* Channel: Push Notifications Platform: Huawei A tag used for Huawei business intelligence and analytics.
*/
'huawei_bi_tag'?: string;
/**
* Number of notifications that were successfully delivered.
*/
'successful'?: number;
Expand Down Expand Up @@ -1077,6 +1101,12 @@ export class NotificationWithMeta {
"type": "string",
"format": ""
},
{
"name": "email_reply_to_address",
"baseName": "email_reply_to_address",
"type": "string",
"format": ""
},
{
"name": "email_preheader",
"baseName": "email_preheader",
Expand Down Expand Up @@ -1119,6 +1149,36 @@ export class NotificationWithMeta {
"type": "object",
"format": ""
},
{
"name": "huawei_badge_class",
"baseName": "huawei_badge_class",
"type": "string",
"format": ""
},
{
"name": "huawei_badge_add_num",
"baseName": "huawei_badge_add_num",
"type": "number",
"format": ""
},
{
"name": "huawei_badge_set_num",
"baseName": "huawei_badge_set_num",
"type": "number",
"format": ""
},
{
"name": "huawei_category",
"baseName": "huawei_category",
"type": "NotificationWithMetaHuaweiCategoryEnum",
"format": ""
},
{
"name": "huawei_bi_tag",
"baseName": "huawei_bi_tag",
"type": "string",
"format": ""
},
{
"name": "successful",
"baseName": "successful",
Expand Down Expand Up @@ -1203,4 +1263,5 @@ export class NotificationWithMeta {

export type NotificationWithMetaTargetChannelEnum = "push" | "email" | "sms" ;
export type NotificationWithMetaAggregationEnum = "sum" | "count" ;
export type NotificationWithMetaHuaweiCategoryEnum = "IM" | "VOIP" | "SUBSCRIPTION" | "TRAVEL" | "HEALTH" | "WORK" | "ACCOUNT" | "EXPRESS" | "FINANCE" | "DEVICE_REMINDER" | "MAIL" | "MARKETING" ;

Loading