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
+13
View File
@@ -0,0 +1,13 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.Quests;
public class ClaimQuestRequest
{
[JsonProperty("questId")]
public string QuestId { get; set; }
}
+22
View File
@@ -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.Quests;
public class ClaimQuestResponse
{
[JsonProperty("alreadyClaimed")]
public bool AlreadyClaimed { get; set; }
[JsonProperty("error")]
public string Error { get; set; }
[JsonProperty("granted")]
public List<QuestReward> Granted { get; set; }
[JsonProperty("success")]
public bool Success { get; set; }
}
+10
View File
@@ -0,0 +1,10 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.Quests;
public class ListQuestsRequest
{
}
+13
View File
@@ -0,0 +1,13 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.Quests;
public class ListQuestsResponse
{
[JsonProperty("quests")]
public List<Quest> Quests { get; set; }
}
+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.Quests;
public class Quest
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("objectives")]
public List<QuestObjectiveProgress> Objectives { get; set; }
[JsonProperty("rewards")]
public List<QuestReward> Rewards { get; set; }
[JsonProperty("status")]
public string Status { get; set; }
}
+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.Quests;
public class QuestObjectiveProgress
{
[JsonProperty("completed")]
public bool Completed { get; set; }
[JsonProperty("current")]
public long Current { get; set; }
[JsonProperty("metric")]
public string Metric { get; set; }
[JsonProperty("objectiveId")]
public string ObjectiveId { get; set; }
[JsonProperty("target")]
public long Target { 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.Quests;
public class QuestReward
{
[JsonProperty("amount")]
public long Amount { get; set; }
[JsonProperty("currency")]
public string Currency { get; set; }
[JsonProperty("itemId")]
public string ItemId { get; set; }
}