Skip to content

Commit a3a107b

Browse files
authored
Merge pull request #75 from OneSignal/user-api-updates
Add v5.3.1-beta1 package updates
2 parents 87100dc + c7663ef commit a3a107b

File tree

75 files changed

+113
-81
lines changed

Some content is hidden

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

75 files changed

+113
-81
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: 5.2.0
6-
- SDK version: 5.3.0-beta1
5+
- API version: 5.2.1
6+
- SDK version: 5.3.1-beta1
77
- Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen
88
For more information, please visit [https://onesignal.com](https://onesignal.com)
99

docs/NotificationWithMeta.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ Name | Type | Description | Notes
123123
**SendAfter** | **long?** | Unix timestamp indicating when notification delivery should begin. | [optional]
124124
**CompletedAt** | **long?** | Unix timestamp indicating when notification delivery completed. The delivery duration from start to finish can be calculated with completed_at - send_after. | [optional]
125125
**PlatformDeliveryStats** | [**PlatformDeliveryData**](PlatformDeliveryData.md) | | [optional]
126+
**Canceled** | **bool** | Indicates whether the notification was canceled before it could be sent. | [optional]
126127

127128
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
128129

docs/NotificationWithMetaAllOf.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
1515
**PlatformDeliveryStats** | [**PlatformDeliveryData**](PlatformDeliveryData.md) | | [optional]
1616
**Received** | **int?** | Confirmed Deliveries number of devices that received the push notification. Paid Feature Only. Free accounts will see 0. | [optional]
1717
**ThrottleRatePerMinute** | **int?** | number of push notifications sent per minute. Paid Feature Only. If throttling is not enabled for the app or the notification, and for free accounts, null is returned. Refer to Throttling for more details. | [optional]
18+
**Canceled** | **bool** | Indicates whether the notification was canceled before it could be sent. | [optional]
1819

1920
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2021

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: 5.2.0
6+
* The version of the OpenAPI document: 5.2.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: 5.2.0
6+
* The version of the OpenAPI document: 5.2.1
77
* Contact: devrel@onesignal.com
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/
@@ -157,7 +157,7 @@ private RestRequest NewRequest(
157157
}
158158

159159
// Always add the One Signal telemetry to the request.
160-
request.AddHeader("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-dotnet, version=5.3.0-beta1");
160+
request.AddHeader("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-dotnet, version=5.3.1-beta1");
161161

162162
if (configuration.DefaultHeaders != null)
163163
{

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: 5.2.0
6+
* The version of the OpenAPI document: 5.2.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: 5.2.0
6+
* The version of the OpenAPI document: 5.2.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: 5.2.0
6+
* The version of the OpenAPI document: 5.2.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: 5.2.0
6+
* The version of the OpenAPI document: 5.2.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 = "5.3.0-beta1";
35+
public const string Version = "5.3.1-beta1";
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-5.3.0-beta1-csharp";
112+
UserAgent = "OpenAPI-Generator-5.3.1-beta1-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: 5.2.0\n";
520-
report += " SDK Package Version: 5.3.0-beta1\n";
519+
report += " Version of the API: 5.2.1\n";
520+
report += " SDK Package Version: 5.3.1-beta1\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: 5.2.0
6+
* The version of the OpenAPI document: 5.2.1
77
* Contact: devrel@onesignal.com
88
* Generated by: https://github.com/openapitools/openapi-generator.git
99
*/

0 commit comments

Comments
 (0)