0.4.0: Claim, Models/ DTOs, compile
CI / publish (push) Failing after 39s
CI / check (push) Successful in 52s

LeaderboardSession.ClaimAsync sends onClaim. Generated DTOs live under Models/ with nullable wire fields. Remove incomplete duplicate type files.
This commit is contained in:
edmand46
2026-08-29 11:33:01 +03:00
parent 3c590294c9
commit ea20ea6d51
89 changed files with 1414 additions and 396 deletions
+1 -3
View File
@@ -1,13 +1,11 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.Scenarios;
public class GetScenarioRunRequest
{
[JsonProperty("runId")]
public string RunId { get; set; }
public string? RunId { get; set; }
}
+3 -5
View File
@@ -1,7 +1,5 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using RudderSdk.Core.Models;
namespace RudderSdk.Core.Models.Scenarios;
@@ -9,12 +7,12 @@ namespace RudderSdk.Core.Models.Scenarios;
public class GetScenarioRunResponse
{
[JsonProperty("plan")]
public ExecutionPlan Plan { get; set; }
public ExecutionPlan? Plan { get; set; }
[JsonProperty("runId")]
public string RunId { get; set; }
public string? RunId { get; set; }
[JsonProperty("status")]
public string Status { get; set; }
public string? Status { get; set; }
}
+4 -6
View File
@@ -1,22 +1,20 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.Scenarios;
public class HandleScenarioCallbackRequest
{
[JsonProperty("handle")]
public string Handle { get; set; }
public string? Handle { get; set; }
[JsonProperty("nodeId")]
public string NodeId { get; set; }
public string? NodeId { get; set; }
[JsonProperty("runId")]
public string RunId { get; set; }
public string? RunId { get; set; }
[JsonProperty("scenarioId")]
public string ScenarioId { get; set; }
public string? ScenarioId { get; set; }
}
+1 -3
View File
@@ -1,7 +1,5 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using RudderSdk.Core.Models;
namespace RudderSdk.Core.Models.Scenarios;
@@ -9,6 +7,6 @@ namespace RudderSdk.Core.Models.Scenarios;
public class HandleScenarioCallbackResponse
{
[JsonProperty("plan")]
public ExecutionPlan Plan { get; set; }
public ExecutionPlan? Plan { get; set; }
}
+1 -3
View File
@@ -1,13 +1,11 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.Scenarios;
public class TriggerScenarioRequest
{
[JsonProperty("event")]
public string Event { get; set; }
public string? Event { get; set; }
}
+1 -2
View File
@@ -1,6 +1,5 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using RudderSdk.Core.Models;
@@ -9,6 +8,6 @@ namespace RudderSdk.Core.Models.Scenarios;
public class TriggerScenarioResponse
{
[JsonProperty("plans")]
public List<ExecutionPlan> Plans { get; set; }
public List<ExecutionPlan>? Plans { get; set; }
}
+5 -7
View File
@@ -1,25 +1,23 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.Scenarios;
public class UpdateScenarioCounterRequest
{
[JsonProperty("amount")]
public long Amount { get; set; }
public long? Amount { get; set; }
[JsonProperty("counterKey")]
public string CounterKey { get; set; }
public string? CounterKey { get; set; }
[JsonProperty("nodeId")]
public string NodeId { get; set; }
public string? NodeId { get; set; }
[JsonProperty("runId")]
public string RunId { get; set; }
public string? RunId { get; set; }
[JsonProperty("scenarioId")]
public string ScenarioId { get; set; }
public string? ScenarioId { get; set; }
}
+2 -4
View File
@@ -1,7 +1,5 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using RudderSdk.Core.Models;
namespace RudderSdk.Core.Models.Scenarios;
@@ -9,9 +7,9 @@ namespace RudderSdk.Core.Models.Scenarios;
public class UpdateScenarioCounterResponse
{
[JsonProperty("completed")]
public bool Completed { get; set; }
public bool? Completed { get; set; }
[JsonProperty("plan")]
public ExecutionPlan Plan { get; set; }
public ExecutionPlan? Plan { get; set; }
}