Initial commit

This commit is contained in:
rudder
2026-08-12 14:04:55 +03:00
commit 8cf738d9f0
124 changed files with 5433 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.BattlePass;
public class AddBattlePassXpRequest
{
[JsonProperty("amount")]
public long Amount { get; set; }
[JsonProperty("nodeId")]
public string NodeId { get; set; }
[JsonProperty("runId")]
public string RunId { get; set; }
[JsonProperty("scenarioId")]
public string ScenarioId { get; set; }
[JsonProperty("source")]
public string Source { get; set; }
}
+26
View File
@@ -0,0 +1,26 @@
// 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.BattlePass;
public class AddBattlePassXpResponse
{
[JsonProperty("level")]
public int Level { get; set; }
[JsonProperty("leveledUp")]
public bool LeveledUp { get; set; }
[JsonProperty("maxLevel")]
public bool MaxLevel { get; set; }
[JsonProperty("plan")]
public ExecutionPlan Plan { get; set; }
[JsonProperty("xp")]
public long Xp { get; set; }
}
+19
View File
@@ -0,0 +1,19 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.BattlePass;
public class BattlePassReward
{
[JsonProperty("amount")]
public long Amount { get; set; }
[JsonProperty("currency")]
public string Currency { get; set; }
[JsonProperty("itemId")]
public string ItemId { get; set; }
}
@@ -0,0 +1,25 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.BattlePass;
public class ClaimBattlePassRewardRequest
{
[JsonProperty("level")]
public int Level { get; set; }
[JsonProperty("nodeId")]
public string NodeId { get; set; }
[JsonProperty("runId")]
public string RunId { get; set; }
[JsonProperty("scenarioId")]
public string ScenarioId { get; set; }
[JsonProperty("track")]
public string Track { get; set; }
}
@@ -0,0 +1,22 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.BattlePass;
public class ClaimBattlePassRewardResponse
{
[JsonProperty("alreadyClaimed")]
public bool AlreadyClaimed { get; set; }
[JsonProperty("error")]
public string Error { get; set; }
[JsonProperty("granted")]
public List<BattlePassReward> Granted { get; set; }
[JsonProperty("success")]
public bool Success { get; set; }
}
+16
View File
@@ -0,0 +1,16 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.BattlePass;
public class ClaimedTier
{
[JsonProperty("level")]
public int Level { get; set; }
[JsonProperty("track")]
public string Track { get; set; }
}
@@ -0,0 +1,16 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.BattlePass;
public class GetBattlePassProgressRequest
{
[JsonProperty("nodeId")]
public string NodeId { get; set; }
[JsonProperty("scenarioId")]
public string ScenarioId { get; set; }
}
@@ -0,0 +1,22 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.BattlePass;
public class GetBattlePassProgressResponse
{
[JsonProperty("claimedTiers")]
public List<ClaimedTier> ClaimedTiers { get; set; }
[JsonProperty("level")]
public int Level { get; set; }
[JsonProperty("premiumOwned")]
public bool PremiumOwned { get; set; }
[JsonProperty("xp")]
public long Xp { get; set; }
}
@@ -0,0 +1,22 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.BattlePass;
public class PurchaseBattlePassPremiumRequest
{
[JsonProperty("idempotencyKey")]
public string IdempotencyKey { get; set; }
[JsonProperty("nodeId")]
public string NodeId { get; set; }
[JsonProperty("runId")]
public string RunId { get; set; }
[JsonProperty("scenarioId")]
public string ScenarioId { get; set; }
}
@@ -0,0 +1,20 @@
// 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.BattlePass;
public class PurchaseBattlePassPremiumResponse
{
[JsonProperty("error")]
public string Error { get; set; }
[JsonProperty("plan")]
public ExecutionPlan Plan { get; set; }
[JsonProperty("success")]
public bool Success { get; set; }
}