Skip to content

Commit 46ff8eb

Browse files
author
OneSignal
committed
feat: add v5.0.0-beta1 package updates
1 parent 5b40260 commit 46ff8eb

File tree

167 files changed

+4333
-9773
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+4333
-9773
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ A powerful way to send personalized messages at scale and build effective custom
55
## Overview
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

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

@@ -93,14 +93,14 @@ using utility::string_t;
9393
using utility::conversions::to_string_t;
9494

9595
const std::string APP_ID = "<YOUR_APP_ID>";
96-
const std::string REST_KEY_TOKEN = "<YOUR_REST_API_KEY>"; // App REST API key required for most endpoints
97-
const std::string ORG_KEY_TOKEN = "<YOUR_ORGANIZATION_API_KEY>"; // Organization key is only required for creating new apps and other top-level endpoints
96+
const std::string APP_KEY_TOKEN = "<YOUR_APP_KEY_TOKEN>";
97+
const std::string USER_KEY_TOKEN = "<YOUR_USER_KEY_TOKEN>";
9898

9999
static DefaultApi * createApi() {
100100
// Settings up the client
101101
const auto configuration = ApiClient::getDefaultConfiguration();
102-
configuration->setAppKeyToken(REST_KEY_TOKEN);
103-
configuration->setUserKeyToken(ORG_KEY_TOKEN);
102+
configuration->setAppKeyToken(APP_KEY_TOKEN);
103+
configuration->setUserKeyToken(USER_KEY_TOKEN);
104104

105105
const auto apiClient = std::make_shared<ApiClient>(configuration);
106106

include/CppRestOneSignalAPIClient/ApiClient.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 1.4.0
5+
* The version of the OpenAPI document: 5.0.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.

include/CppRestOneSignalAPIClient/ApiConfiguration.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 1.4.0
5+
* The version of the OpenAPI document: 5.0.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.
@@ -55,8 +55,8 @@ class ApiConfiguration
5555
utility::string_t getBearerToken( const utility::string_t& prefix ) const;
5656
void setBearerToken( const utility::string_t& prefix, const utility::string_t& bearerToken );
5757

58-
void setAppKeyToken( const utility::string_t& bearerToken );
59-
void setUserKeyToken( const utility::string_t& bearerToken );
58+
void setRestApiKeyToken( const utility::string_t& bearerToken );
59+
void setUserAuthKeyToken( const utility::string_t& bearerToken );
6060

6161

6262
protected:

include/CppRestOneSignalAPIClient/ApiException.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 1.4.0
5+
* The version of the OpenAPI document: 5.0.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.

include/CppRestOneSignalAPIClient/HttpContent.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 1.4.0
5+
* The version of the OpenAPI document: 5.0.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.

include/CppRestOneSignalAPIClient/IHttpBody.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 1.4.0
5+
* The version of the OpenAPI document: 5.0.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.

include/CppRestOneSignalAPIClient/JsonBody.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 1.4.0
5+
* The version of the OpenAPI document: 5.0.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.

include/CppRestOneSignalAPIClient/ModelBase.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 1.4.0
5+
* The version of the OpenAPI document: 5.0.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.

include/CppRestOneSignalAPIClient/MultipartFormData.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 1.4.0
5+
* The version of the OpenAPI document: 5.0.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.

include/CppRestOneSignalAPIClient/Object.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 1.4.0
5+
* The version of the OpenAPI document: 5.0.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.

0 commit comments

Comments
 (0)