Skip to content

Commit 9521fea

Browse files
authored
Merge pull request #66 from OneSignal/player-api-updates
Add v2.2.1 package updates
2 parents 52212e1 + c45343c commit 9521fea

File tree

92 files changed

+100
-100
lines changed

Some content is hidden

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

92 files changed

+100
-100
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44

5-
- API version: 1.4.0
6-
- SDK version: 2.2.0
5+
- API version: 1.4.1
6+
- SDK version: 2.2.1
77
- Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen
88
For more information, please visit [https://onesignal.com](https://onesignal.com)
99

docs/SubscriptionObject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**Type** | **string** | | [optional]
99
**Token** | **string** | | [optional]
1010
**Enabled** | **bool** | | [optional]
11-
**NotificationTypes** | **decimal** | | [optional]
11+
**NotificationTypes** | **int** | | [optional]
1212
**SessionTime** | **decimal** | | [optional]
1313
**SessionCount** | **decimal** | | [optional]
1414
**Sdk** | **string** | | [optional]

src/OneSignalApi/Api/DefaultApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.4.0
6+
* The version of the OpenAPI document: 1.4.1
77
* Contact: devrel@onesignal.com
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/

src/OneSignalApi/Client/ApiClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.4.0
6+
* The version of the OpenAPI document: 1.4.1
77
* Contact: devrel@onesignal.com
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/
@@ -304,7 +304,7 @@ private RestRequest NewRequest(
304304
}
305305

306306
// Always add the One Signal telemetry to the request.
307-
request.AddHeader("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-dotnet, version=2.2.0");
307+
request.AddHeader("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-dotnet, version=2.2.1");
308308

309309
if (configuration.DefaultHeaders != null)
310310
{

src/OneSignalApi/Client/ApiException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.4.0
6+
* The version of the OpenAPI document: 1.4.1
77
* Contact: devrel@onesignal.com
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/

src/OneSignalApi/Client/ApiResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.4.0
6+
* The version of the OpenAPI document: 1.4.1
77
* Contact: devrel@onesignal.com
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/

src/OneSignalApi/Client/ClientUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.4.0
6+
* The version of the OpenAPI document: 1.4.1
77
* Contact: devrel@onesignal.com
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/

src/OneSignalApi/Client/Configuration.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.4.0
6+
* The version of the OpenAPI document: 1.4.1
77
* Contact: devrel@onesignal.com
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/
@@ -32,7 +32,7 @@ public class Configuration : IReadableConfiguration
3232
/// Version of the package.
3333
/// </summary>
3434
/// <value>Version of the package.</value>
35-
public const string Version = "2.2.0";
35+
public const string Version = "2.2.1";
3636

3737
/// <summary>
3838
/// Identifier for ISO 8601 DateTime Format
@@ -109,7 +109,7 @@ public class Configuration : IReadableConfiguration
109109
public Configuration()
110110
{
111111
Proxy = null;
112-
UserAgent = "OpenAPI-Generator/2.2.0/csharp";
112+
UserAgent = "OpenAPI-Generator/2.2.1/csharp";
113113
BasePath = "https://api.onesignal.com";
114114
DefaultHeaders = new ConcurrentDictionary<string, string>();
115115
ApiKey = new ConcurrentDictionary<string, string>();
@@ -516,8 +516,8 @@ public static string ToDebugReport()
516516
string report = "C# SDK (OneSignalApi) Debug Report:\n";
517517
report += " OS: " + System.Environment.OSVersion + "\n";
518518
report += " .NET Framework Version: " + System.Environment.Version + "\n";
519-
report += " Version of the API: 1.4.0\n";
520-
report += " SDK Package Version: 2.2.0\n";
519+
report += " Version of the API: 1.4.1\n";
520+
report += " SDK Package Version: 2.2.1\n";
521521

522522
return report;
523523
}

src/OneSignalApi/Client/ExceptionFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.4.0
6+
* The version of the OpenAPI document: 1.4.1
77
* Contact: devrel@onesignal.com
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/

src/OneSignalApi/Client/GlobalConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
55
*
6-
* The version of the OpenAPI document: 1.4.0
6+
* The version of the OpenAPI document: 1.4.1
77
* Contact: devrel@onesignal.com
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/

0 commit comments

Comments
 (0)