Skip to content
Closed
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

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

- API version: 5.11.1
- SDK version: 5.12.1
- API version: 5.11.2
- SDK version: 5.12.2

## Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/DefaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Method | HTTP request | Description
[**CreateAliasBySubscription**](DefaultApi.md#createaliasbysubscription) | **PATCH** /apps/{app_id}/subscriptions/{subscription_id}/user/identity |
[**CreateApiKey**](DefaultApi.md#createapikey) | **POST** /apps/{app_id}/auth/tokens | Create API key
[**CreateApp**](DefaultApi.md#createapp) | **POST** /apps | Create an app
[**CreateCustomEvents**](DefaultApi.md#createcustomevents) | **POST** /apps/{app_id}/integrations/custom_events | Create custom events
[**CreateCustomEvents**](DefaultApi.md#createcustomevents) | **POST** /apps/{app_id}/custom_events | Create custom events
[**CreateNotification**](DefaultApi.md#createnotification) | **POST** /notifications | Create notification
[**CreateSegment**](DefaultApi.md#createsegment) | **POST** /apps/{app_id}/segments | Create Segment
[**CreateSubscription**](DefaultApi.md#createsubscription) | **POST** /apps/{app_id}/users/by/{alias_label}/{alias_id}/subscriptions |
Expand Down
5 changes: 2 additions & 3 deletions src/OneSignalApi/Api/DefaultApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -3929,7 +3928,7 @@ public OneSignalApi.Client.ApiResponse<Object> CreateCustomEventsWithHttpInfo(st
}

// make the HTTP request
var localVarResponse = this.Client.Post<Object>("/apps/{app_id}/integrations/custom_events", localVarRequestOptions, this.Configuration);
var localVarResponse = this.Client.Post<Object>("/apps/{app_id}/custom_events", localVarRequestOptions, this.Configuration);
if (this.ExceptionFactory != null)
{
Exception _exception = this.ExceptionFactory("CreateCustomEvents", localVarResponse);
Expand Down Expand Up @@ -4018,7 +4017,7 @@ public OneSignalApi.Client.ApiResponse<Object> CreateCustomEventsWithHttpInfo(st
}

// make the HTTP request
var localVarResponse = await this.AsynchronousClient.PostAsync<Object>("/apps/{app_id}/integrations/custom_events", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false);
var localVarResponse = await this.AsynchronousClient.PostAsync<Object>("/apps/{app_id}/custom_events", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false);

if (this.ExceptionFactory != null)
{
Expand Down
3 changes: 1 addition & 2 deletions src/OneSignalApi/Client/ApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -157,7 +156,7 @@ private RestRequest NewRequest(
}

// Always add the One Signal telemetry to the request.
request.AddHeader("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-dotnet, version=5.12.1");
request.AddHeader("OS-Usage-Data", "kind=sdk, sdk-name=onesignal-dotnet, version=5.12.2");

if (configuration.DefaultHeaders != null)
{
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Client/ApiException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Client/ApiResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Client/ClientUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
9 changes: 4 additions & 5 deletions src/OneSignalApi/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -32,7 +31,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "5.12.1";
public const string Version = "5.12.2";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -109,7 +108,7 @@ public class Configuration : IReadableConfiguration
public Configuration()
{
Proxy = null;
UserAgent = "OpenAPI-Generator-5.12.1-csharp";
UserAgent = "OpenAPI-Generator-5.12.2-csharp";
BasePath = "https://api.onesignal.com";
DefaultHeaders = new ConcurrentDictionary<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -516,8 +515,8 @@ public static string ToDebugReport()
string report = "C# SDK (OneSignalApi) Debug Report:\n";
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
report += " Version of the API: 5.11.1\n";
report += " SDK Package Version: 5.12.1\n";
report += " Version of the API: 5.11.2\n";
report += " SDK Package Version: 5.12.2\n";

return report;
}
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Client/ExceptionFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Client/GlobalConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Client/HttpMethod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Client/IApiAccessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Client/IAsynchronousClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Client/IReadableConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Client/ISynchronousClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Client/Multimap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Client/OpenAPIDateConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Client/RequestOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Client/RetryConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/AbstractOpenAPISchema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/ApiKeyToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/ApiKeyTokensListResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/AuditLogActor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/AuditLogContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/AuditLogEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/AuditLogTarget.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/BasicNotification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/BasicNotificationAllOf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/Button.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/CopyTemplateRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/CreateApiKeyRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/CreateApiKeyResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/CreateSegmentConflictResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/CreateSegmentSuccessResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/CreateTemplateRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/CreateUserConflictResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
1 change: 0 additions & 1 deletion src/OneSignalApi/Model/CustomEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* 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: 5.11.1
* Contact: devrel@onesignal.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Loading