Skip to content

Commit aa768be

Browse files
author
OneSignal
committed
feat: add v5.3.0 package updates
1 parent 4f09d6d commit aa768be

11 files changed

Lines changed: 1444 additions & 45 deletions

File tree

.github/workflows/release.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
jobs:
9+
release:
10+
name: Create GitHub Release
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
issues: write
15+
pull-requests: write
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v5
19+
with:
20+
fetch-depth: 0
21+
token: ${{ secrets.GITHUB_TOKEN }}
22+
- name: Create GitHub Release
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
run: |
26+
npx -p semantic-release \
27+
-p @semantic-release/changelog \
28+
-p @semantic-release/git \
29+
-p @semantic-release/github \
30+
-p conventional-changelog-conventionalcommits \
31+
semantic-release

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A powerful way to send personalized messages at scale and build effective custom
66
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI spec](https://openapis.org) from a remote server, you can easily generate an API client.
77

88
- API version: 5.3.0
9-
- Package version: 5.3.0-beta1
9+
- Package version: 5.3.0
1010
- Build package: org.openapitools.codegen.languages.CppRestSdkClientCodegen
1111
For more information, please visit [https://onesignal.com](https://onesignal.com)
1212

include/CppRestOneSignalAPIClient/model/BasicNotification.h

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,15 @@ class BasicNotification
978978

979979
void setEmailFromAddress(const utility::string_t& value);
980980

981+
/// <summary>
982+
/// Channel: Email The email address where replies should be sent. If not specified, replies will go to the from address.
983+
/// </summary>
984+
utility::string_t getEmailReplyToAddress() const;
985+
bool emailReplyToAddressIsSet() const;
986+
void unsetEmail_reply_to_address();
987+
988+
void setEmailReplyToAddress(const utility::string_t& value);
989+
981990
/// <summary>
982991
/// 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.
983992
/// </summary>
@@ -1041,6 +1050,51 @@ class BasicNotification
10411050

10421051
void setCustomData(const std::shared_ptr<Object>& value);
10431052

1053+
/// <summary>
1054+
/// Channel: Push Notifications Platform: Huawei Full path of the app entry activity class
1055+
/// </summary>
1056+
utility::string_t getHuaweiBadgeClass() const;
1057+
bool huaweiBadgeClassIsSet() const;
1058+
void unsetHuawei_badge_class();
1059+
1060+
void setHuaweiBadgeClass(const utility::string_t& value);
1061+
1062+
/// <summary>
1063+
/// Channel: Push Notifications Platform: Huawei Accumulative badge number, which is an integer ranging from 1 to 99
1064+
/// </summary>
1065+
int32_t getHuaweiBadgeAddNum() const;
1066+
bool huaweiBadgeAddNumIsSet() const;
1067+
void unsetHuawei_badge_add_num();
1068+
1069+
void setHuaweiBadgeAddNum(int32_t value);
1070+
1071+
/// <summary>
1072+
/// Channel: Push Notifications Platform: Huawei Badge number, which is an integer ranging from 0 to 99
1073+
/// </summary>
1074+
int32_t getHuaweiBadgeSetNum() const;
1075+
bool huaweiBadgeSetNumIsSet() const;
1076+
void unsetHuawei_badge_set_num();
1077+
1078+
void setHuaweiBadgeSetNum(int32_t value);
1079+
1080+
/// <summary>
1081+
/// Channel: Push Notifications Platform: Huawei Category of the push notification for HMS classification.
1082+
/// </summary>
1083+
utility::string_t getHuaweiCategory() const;
1084+
bool huaweiCategoryIsSet() const;
1085+
void unsetHuawei_category();
1086+
1087+
void setHuaweiCategory(const utility::string_t& value);
1088+
1089+
/// <summary>
1090+
/// Channel: Push Notifications Platform: Huawei A tag used for Huawei business intelligence and analytics.
1091+
/// </summary>
1092+
utility::string_t getHuaweiBiTag() const;
1093+
bool huaweiBiTagIsSet() const;
1094+
void unsetHuawei_bi_tag();
1095+
1096+
void setHuaweiBiTag(const utility::string_t& value);
1097+
10441098

10451099
protected:
10461100
std::vector<utility::string_t> m_Included_segments;
@@ -1245,6 +1299,8 @@ class BasicNotification
12451299
bool m_Email_from_nameIsSet;
12461300
utility::string_t m_Email_from_address;
12471301
bool m_Email_from_addressIsSet;
1302+
utility::string_t m_Email_reply_to_address;
1303+
bool m_Email_reply_to_addressIsSet;
12481304
utility::string_t m_Email_preheader;
12491305
bool m_Email_preheaderIsSet;
12501306
bool m_Disable_email_click_tracking;
@@ -1259,6 +1315,16 @@ class BasicNotification
12591315
bool m_FiltersIsSet;
12601316
std::shared_ptr<Object> m_Custom_data;
12611317
bool m_Custom_dataIsSet;
1318+
utility::string_t m_Huawei_badge_class;
1319+
bool m_Huawei_badge_classIsSet;
1320+
int32_t m_Huawei_badge_add_num;
1321+
bool m_Huawei_badge_add_numIsSet;
1322+
int32_t m_Huawei_badge_set_num;
1323+
bool m_Huawei_badge_set_numIsSet;
1324+
utility::string_t m_Huawei_category;
1325+
bool m_Huawei_categoryIsSet;
1326+
utility::string_t m_Huawei_bi_tag;
1327+
bool m_Huawei_bi_tagIsSet;
12621328
};
12631329

12641330

include/CppRestOneSignalAPIClient/model/BasicNotification_allOf.h

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -858,6 +858,15 @@ class BasicNotification_allOf
858858

859859
void setEmailFromAddress(const utility::string_t& value);
860860

861+
/// <summary>
862+
/// Channel: Email The email address where replies should be sent. If not specified, replies will go to the from address.
863+
/// </summary>
864+
utility::string_t getEmailReplyToAddress() const;
865+
bool emailReplyToAddressIsSet() const;
866+
void unsetEmail_reply_to_address();
867+
868+
void setEmailReplyToAddress(const utility::string_t& value);
869+
861870
/// <summary>
862871
/// 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.
863872
/// </summary>
@@ -921,6 +930,51 @@ class BasicNotification_allOf
921930

922931
void setCustomData(const std::shared_ptr<Object>& value);
923932

933+
/// <summary>
934+
/// Channel: Push Notifications Platform: Huawei Full path of the app entry activity class
935+
/// </summary>
936+
utility::string_t getHuaweiBadgeClass() const;
937+
bool huaweiBadgeClassIsSet() const;
938+
void unsetHuawei_badge_class();
939+
940+
void setHuaweiBadgeClass(const utility::string_t& value);
941+
942+
/// <summary>
943+
/// Channel: Push Notifications Platform: Huawei Accumulative badge number, which is an integer ranging from 1 to 99
944+
/// </summary>
945+
int32_t getHuaweiBadgeAddNum() const;
946+
bool huaweiBadgeAddNumIsSet() const;
947+
void unsetHuawei_badge_add_num();
948+
949+
void setHuaweiBadgeAddNum(int32_t value);
950+
951+
/// <summary>
952+
/// Channel: Push Notifications Platform: Huawei Badge number, which is an integer ranging from 0 to 99
953+
/// </summary>
954+
int32_t getHuaweiBadgeSetNum() const;
955+
bool huaweiBadgeSetNumIsSet() const;
956+
void unsetHuawei_badge_set_num();
957+
958+
void setHuaweiBadgeSetNum(int32_t value);
959+
960+
/// <summary>
961+
/// Channel: Push Notifications Platform: Huawei Category of the push notification for HMS classification.
962+
/// </summary>
963+
utility::string_t getHuaweiCategory() const;
964+
bool huaweiCategoryIsSet() const;
965+
void unsetHuawei_category();
966+
967+
void setHuaweiCategory(const utility::string_t& value);
968+
969+
/// <summary>
970+
/// Channel: Push Notifications Platform: Huawei A tag used for Huawei business intelligence and analytics.
971+
/// </summary>
972+
utility::string_t getHuaweiBiTag() const;
973+
bool huaweiBiTagIsSet() const;
974+
void unsetHuawei_bi_tag();
975+
976+
void setHuaweiBiTag(const utility::string_t& value);
977+
924978

925979
protected:
926980
utility::string_t m_Id;
@@ -1099,6 +1153,8 @@ class BasicNotification_allOf
10991153
bool m_Email_from_nameIsSet;
11001154
utility::string_t m_Email_from_address;
11011155
bool m_Email_from_addressIsSet;
1156+
utility::string_t m_Email_reply_to_address;
1157+
bool m_Email_reply_to_addressIsSet;
11021158
utility::string_t m_Email_preheader;
11031159
bool m_Email_preheaderIsSet;
11041160
bool m_Disable_email_click_tracking;
@@ -1113,6 +1169,16 @@ class BasicNotification_allOf
11131169
bool m_FiltersIsSet;
11141170
std::shared_ptr<Object> m_Custom_data;
11151171
bool m_Custom_dataIsSet;
1172+
utility::string_t m_Huawei_badge_class;
1173+
bool m_Huawei_badge_classIsSet;
1174+
int32_t m_Huawei_badge_add_num;
1175+
bool m_Huawei_badge_add_numIsSet;
1176+
int32_t m_Huawei_badge_set_num;
1177+
bool m_Huawei_badge_set_numIsSet;
1178+
utility::string_t m_Huawei_category;
1179+
bool m_Huawei_categoryIsSet;
1180+
utility::string_t m_Huawei_bi_tag;
1181+
bool m_Huawei_bi_tagIsSet;
11161182
};
11171183

11181184

include/CppRestOneSignalAPIClient/model/Notification.h

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,15 @@ class Notification
978978

979979
void setEmailFromAddress(const utility::string_t& value);
980980

981+
/// <summary>
982+
/// Channel: Email The email address where replies should be sent. If not specified, replies will go to the from address.
983+
/// </summary>
984+
utility::string_t getEmailReplyToAddress() const;
985+
bool emailReplyToAddressIsSet() const;
986+
void unsetEmail_reply_to_address();
987+
988+
void setEmailReplyToAddress(const utility::string_t& value);
989+
981990
/// <summary>
982991
/// 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.
983992
/// </summary>
@@ -1041,6 +1050,51 @@ class Notification
10411050

10421051
void setCustomData(const std::shared_ptr<Object>& value);
10431052

1053+
/// <summary>
1054+
/// Channel: Push Notifications Platform: Huawei Full path of the app entry activity class
1055+
/// </summary>
1056+
utility::string_t getHuaweiBadgeClass() const;
1057+
bool huaweiBadgeClassIsSet() const;
1058+
void unsetHuawei_badge_class();
1059+
1060+
void setHuaweiBadgeClass(const utility::string_t& value);
1061+
1062+
/// <summary>
1063+
/// Channel: Push Notifications Platform: Huawei Accumulative badge number, which is an integer ranging from 1 to 99
1064+
/// </summary>
1065+
int32_t getHuaweiBadgeAddNum() const;
1066+
bool huaweiBadgeAddNumIsSet() const;
1067+
void unsetHuawei_badge_add_num();
1068+
1069+
void setHuaweiBadgeAddNum(int32_t value);
1070+
1071+
/// <summary>
1072+
/// Channel: Push Notifications Platform: Huawei Badge number, which is an integer ranging from 0 to 99
1073+
/// </summary>
1074+
int32_t getHuaweiBadgeSetNum() const;
1075+
bool huaweiBadgeSetNumIsSet() const;
1076+
void unsetHuawei_badge_set_num();
1077+
1078+
void setHuaweiBadgeSetNum(int32_t value);
1079+
1080+
/// <summary>
1081+
/// Channel: Push Notifications Platform: Huawei Category of the push notification for HMS classification.
1082+
/// </summary>
1083+
utility::string_t getHuaweiCategory() const;
1084+
bool huaweiCategoryIsSet() const;
1085+
void unsetHuawei_category();
1086+
1087+
void setHuaweiCategory(const utility::string_t& value);
1088+
1089+
/// <summary>
1090+
/// Channel: Push Notifications Platform: Huawei A tag used for Huawei business intelligence and analytics.
1091+
/// </summary>
1092+
utility::string_t getHuaweiBiTag() const;
1093+
bool huaweiBiTagIsSet() const;
1094+
void unsetHuawei_bi_tag();
1095+
1096+
void setHuaweiBiTag(const utility::string_t& value);
1097+
10441098
/// <summary>
10451099
/// Channel: All Schedule notification for future delivery. API defaults to UTC -1100 Examples: All examples are the exact same date &amp; time. \&quot;Thu Sep 24 2015 14:00:00 GMT-0700 (PDT)\&quot; \&quot;September 24th 2015, 2:00:00 pm UTC-07:00\&quot; \&quot;2015-09-24 14:00:00 GMT-0700\&quot; \&quot;Sept 24 2015 14:00:00 GMT-0700\&quot; \&quot;Thu Sep 24 2015 14:00:00 GMT-0700 (Pacific Daylight Time)\&quot; Note: SMS currently only supports send_after parameter.
10461100
/// </summary>
@@ -1254,6 +1308,8 @@ class Notification
12541308
bool m_Email_from_nameIsSet;
12551309
utility::string_t m_Email_from_address;
12561310
bool m_Email_from_addressIsSet;
1311+
utility::string_t m_Email_reply_to_address;
1312+
bool m_Email_reply_to_addressIsSet;
12571313
utility::string_t m_Email_preheader;
12581314
bool m_Email_preheaderIsSet;
12591315
bool m_Disable_email_click_tracking;
@@ -1268,6 +1324,16 @@ class Notification
12681324
bool m_FiltersIsSet;
12691325
std::shared_ptr<Object> m_Custom_data;
12701326
bool m_Custom_dataIsSet;
1327+
utility::string_t m_Huawei_badge_class;
1328+
bool m_Huawei_badge_classIsSet;
1329+
int32_t m_Huawei_badge_add_num;
1330+
bool m_Huawei_badge_add_numIsSet;
1331+
int32_t m_Huawei_badge_set_num;
1332+
bool m_Huawei_badge_set_numIsSet;
1333+
utility::string_t m_Huawei_category;
1334+
bool m_Huawei_categoryIsSet;
1335+
utility::string_t m_Huawei_bi_tag;
1336+
bool m_Huawei_bi_tagIsSet;
12711337
utility::datetime m_Send_after;
12721338
bool m_Send_afterIsSet;
12731339
};

0 commit comments

Comments
 (0)