Skip to content

Add v5.0.0-beta1 package updates #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ A powerful way to send personalized messages at scale and build effective custom
## Overview
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.

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

Expand Down Expand Up @@ -93,14 +93,14 @@ using utility::string_t;
using utility::conversions::to_string_t;

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

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

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

Expand Down
2 changes: 1 addition & 1 deletion include/CppRestOneSignalAPIClient/ApiClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -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: 1.4.0
* The version of the OpenAPI document: 5.0.1
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.
Expand Down
6 changes: 3 additions & 3 deletions include/CppRestOneSignalAPIClient/ApiConfiguration.h
Original file line number Diff line number Diff line change
Expand Up @@ -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: 1.4.0
* The version of the OpenAPI document: 5.0.1
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.
Expand Down Expand Up @@ -55,8 +55,8 @@ class ApiConfiguration
utility::string_t getBearerToken( const utility::string_t& prefix ) const;
void setBearerToken( const utility::string_t& prefix, const utility::string_t& bearerToken );

void setAppKeyToken( const utility::string_t& bearerToken );
void setUserKeyToken( const utility::string_t& bearerToken );
void setRestApiKeyToken( const utility::string_t& bearerToken );
void setUserAuthKeyToken( const utility::string_t& bearerToken );


protected:
Expand Down
2 changes: 1 addition & 1 deletion include/CppRestOneSignalAPIClient/ApiException.h
Original file line number Diff line number Diff line change
Expand Up @@ -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: 1.4.0
* The version of the OpenAPI document: 5.0.1
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.
Expand Down
2 changes: 1 addition & 1 deletion include/CppRestOneSignalAPIClient/HttpContent.h
Original file line number Diff line number Diff line change
Expand Up @@ -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: 1.4.0
* The version of the OpenAPI document: 5.0.1
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.
Expand Down
2 changes: 1 addition & 1 deletion include/CppRestOneSignalAPIClient/IHttpBody.h
Original file line number Diff line number Diff line change
Expand Up @@ -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: 1.4.0
* The version of the OpenAPI document: 5.0.1
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.
Expand Down
2 changes: 1 addition & 1 deletion include/CppRestOneSignalAPIClient/JsonBody.h
Original file line number Diff line number Diff line change
Expand Up @@ -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: 1.4.0
* The version of the OpenAPI document: 5.0.1
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.
Expand Down
2 changes: 1 addition & 1 deletion include/CppRestOneSignalAPIClient/ModelBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -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: 1.4.0
* The version of the OpenAPI document: 5.0.1
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.
Expand Down
2 changes: 1 addition & 1 deletion include/CppRestOneSignalAPIClient/MultipartFormData.h
Original file line number Diff line number Diff line change
Expand Up @@ -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: 1.4.0
* The version of the OpenAPI document: 5.0.1
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.
Expand Down
2 changes: 1 addition & 1 deletion include/CppRestOneSignalAPIClient/Object.h
Original file line number Diff line number Diff line change
Expand Up @@ -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: 1.4.0
* The version of the OpenAPI document: 5.0.1
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.
Expand Down
Loading