diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemBase.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemBase.md index e9cb3255..452962cb 100644 --- a/src/Packages/ZkEvmApi/Documentation~/FeedItemBase.md +++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemBase.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **GameName** | **string** | Game name | [optional] **QuestCompletedPopupText** | **string** | Text to display when the quest is completed in an onboarding experience | [optional] **Tags** | **List<string>** | The tags for the feed item | [optional] +**ControlTags** | **List<string>** | Some specific tags for controlling feed items | [optional] **Categories** | **List<string>** | The categories for the feed item | [optional] **OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional] diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemBonusGems.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemBonusGems.md index c0c45f9f..a1bb573b 100644 --- a/src/Packages/ZkEvmApi/Documentation~/FeedItemBonusGems.md +++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemBonusGems.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **GameName** | **string** | Game name | [optional] **QuestCompletedPopupText** | **string** | Text to display when the quest is completed in an onboarding experience | [optional] **Tags** | **List<string>** | The tags for the feed item | [optional] +**ControlTags** | **List<string>** | Some specific tags for controlling feed items | [optional] **Categories** | **List<string>** | The categories for the feed item | [optional] **OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional] **Type** | **string** | Feed item type | diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemCTA.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemCTA.md index 4beda0d9..1c178271 100644 --- a/src/Packages/ZkEvmApi/Documentation~/FeedItemCTA.md +++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemCTA.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **GameName** | **string** | Game name | [optional] **QuestCompletedPopupText** | **string** | Text to display when the quest is completed in an onboarding experience | [optional] **Tags** | **List<string>** | The tags for the feed item | [optional] +**ControlTags** | **List<string>** | Some specific tags for controlling feed items | [optional] **Categories** | **List<string>** | The categories for the feed item | [optional] **OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional] **Type** | **string** | Feed item type | diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemDailyGems.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemDailyGems.md index 4b5af635..5841f2b6 100644 --- a/src/Packages/ZkEvmApi/Documentation~/FeedItemDailyGems.md +++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemDailyGems.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **GameName** | **string** | Game name | [optional] **QuestCompletedPopupText** | **string** | Text to display when the quest is completed in an onboarding experience | [optional] **Tags** | **List<string>** | The tags for the feed item | [optional] +**ControlTags** | **List<string>** | Some specific tags for controlling feed items | [optional] **Categories** | **List<string>** | The categories for the feed item | [optional] **OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional] **Type** | **string** | Feed item type | diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemFollowGame.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemFollowGame.md index ea8495f5..566c4799 100644 --- a/src/Packages/ZkEvmApi/Documentation~/FeedItemFollowGame.md +++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemFollowGame.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **GameName** | **string** | Game name | [optional] **QuestCompletedPopupText** | **string** | Text to display when the quest is completed in an onboarding experience | [optional] **Tags** | **List<string>** | The tags for the feed item | [optional] +**ControlTags** | **List<string>** | Some specific tags for controlling feed items | [optional] **Categories** | **List<string>** | The categories for the feed item | [optional] **OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional] **Type** | **string** | Feed item type | diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemLanding.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemLanding.md index 45f0b3d3..cb0152fd 100644 --- a/src/Packages/ZkEvmApi/Documentation~/FeedItemLanding.md +++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemLanding.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **GameName** | **string** | Game name | [optional] **QuestCompletedPopupText** | **string** | Text to display when the quest is completed in an onboarding experience | [optional] **Tags** | **List<string>** | The tags for the feed item | [optional] +**ControlTags** | **List<string>** | Some specific tags for controlling feed items | [optional] **Categories** | **List<string>** | The categories for the feed item | [optional] **OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional] **Type** | **string** | Feed item type | diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemPinToHome.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemPinToHome.md index e6f9a686..e2b03da5 100644 --- a/src/Packages/ZkEvmApi/Documentation~/FeedItemPinToHome.md +++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemPinToHome.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **GameName** | **string** | Game name | [optional] **QuestCompletedPopupText** | **string** | Text to display when the quest is completed in an onboarding experience | [optional] **Tags** | **List<string>** | The tags for the feed item | [optional] +**ControlTags** | **List<string>** | Some specific tags for controlling feed items | [optional] **Categories** | **List<string>** | The categories for the feed item | [optional] **OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional] **Type** | **string** | Feed item type | diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemQuiz.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemQuiz.md index 45b0362f..f176bec8 100644 --- a/src/Packages/ZkEvmApi/Documentation~/FeedItemQuiz.md +++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemQuiz.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **GameName** | **string** | Game name | [optional] **QuestCompletedPopupText** | **string** | Text to display when the quest is completed in an onboarding experience | [optional] **Tags** | **List<string>** | The tags for the feed item | [optional] +**ControlTags** | **List<string>** | Some specific tags for controlling feed items | [optional] **Categories** | **List<string>** | The categories for the feed item | [optional] **OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional] **Type** | **string** | Feed item type | diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemReferral.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemReferral.md index a566d7d3..8716164c 100644 --- a/src/Packages/ZkEvmApi/Documentation~/FeedItemReferral.md +++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemReferral.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **GameName** | **string** | Game name | [optional] **QuestCompletedPopupText** | **string** | Text to display when the quest is completed in an onboarding experience | [optional] **Tags** | **List<string>** | The tags for the feed item | [optional] +**ControlTags** | **List<string>** | Some specific tags for controlling feed items | [optional] **Categories** | **List<string>** | The categories for the feed item | [optional] **OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional] **Type** | **string** | Feed item type | diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemReward.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemReward.md index 20d02085..70beaae2 100644 --- a/src/Packages/ZkEvmApi/Documentation~/FeedItemReward.md +++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemReward.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **GameName** | **string** | Game name | [optional] **QuestCompletedPopupText** | **string** | Text to display when the quest is completed in an onboarding experience | [optional] **Tags** | **List<string>** | The tags for the feed item | [optional] +**ControlTags** | **List<string>** | Some specific tags for controlling feed items | [optional] **Categories** | **List<string>** | The categories for the feed item | [optional] **OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional] **Type** | **string** | Feed item type | diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemSignIn.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemSignIn.md index ae2259f4..b2c36f04 100644 --- a/src/Packages/ZkEvmApi/Documentation~/FeedItemSignIn.md +++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemSignIn.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **GameName** | **string** | Game name | [optional] **QuestCompletedPopupText** | **string** | Text to display when the quest is completed in an onboarding experience | [optional] **Tags** | **List<string>** | The tags for the feed item | [optional] +**ControlTags** | **List<string>** | Some specific tags for controlling feed items | [optional] **Categories** | **List<string>** | The categories for the feed item | [optional] **OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional] **Type** | **string** | Feed item type | diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemSocialQuest.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemSocialQuest.md new file mode 100644 index 00000000..df4c253f --- /dev/null +++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemSocialQuest.md @@ -0,0 +1,31 @@ +# Immutable.Api.ZkEvm.Model.FeedItemSocialQuest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **string** | Feed item ID | +**Name** | **string** | Feed item name | +**QuestId** | **string** | Quest ID | +**Priority** | **int** | Feed item priority | +**GemsEarnable** | **int** | Amount of gems earnable when user completes the quest | +**Bypass** | **bool** | If the quest is bypassed, the user will not be able to see it on the feed | [optional] +**DayZero** | **bool** | If the quest is a day0 quest | [optional] +**GameId** | **Guid** | Game ID | [optional] +**GameName** | **string** | Game name | [optional] +**QuestCompletedPopupText** | **string** | Text to display when the quest is completed in an onboarding experience | [optional] +**Tags** | **List<string>** | The tags for the feed item | [optional] +**ControlTags** | **List<string>** | Some specific tags for controlling feed items | [optional] +**Categories** | **List<string>** | The categories for the feed item | [optional] +**OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional] +**Type** | **string** | Feed item type | +**Title** | **string** | Title of the social quest | +**Subtitle** | **string** | Title of the social quest | +**Label** | **string** | The label for the CTA button | +**Description** | **string** | The description for the CTA button | +**Url** | **string** | The URL for the CTA button | +**Logo** | **string** | URL of the logo | +**PlatformName** | **string** | The name of the platform social quest belongs to | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemVideo.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemVideo.md index b63be676..2ce1715f 100644 --- a/src/Packages/ZkEvmApi/Documentation~/FeedItemVideo.md +++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemVideo.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **GameName** | **string** | Game name | [optional] **QuestCompletedPopupText** | **string** | Text to display when the quest is completed in an onboarding experience | [optional] **Tags** | **List<string>** | The tags for the feed item | [optional] +**ControlTags** | **List<string>** | Some specific tags for controlling feed items | [optional] **Categories** | **List<string>** | The categories for the feed item | [optional] **OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional] **Type** | **string** | Feed item type | diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBase.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBase.cs index 2582a527..11659bdf 100644 --- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBase.cs +++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBase.cs @@ -50,9 +50,10 @@ protected FeedItemBase() { } /// Game name. /// Text to display when the quest is completed in an onboarding experience. /// The tags for the feed item. + /// Some specific tags for controlling feed items. /// The categories for the feed item. /// The onboarding experience for the feed item. - public FeedItemBase(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string)) + public FeedItemBase(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List controlTags = default(List), List categories = default(List), string onboardingExperience = default(string)) { // to ensure "id" is required (not null) if (id == null) @@ -80,6 +81,7 @@ protected FeedItemBase() { } this.GameName = gameName; this.QuestCompletedPopupText = questCompletedPopupText; this.Tags = tags; + this.ControlTags = controlTags; this.Categories = categories; this.OnboardingExperience = onboardingExperience; } @@ -161,6 +163,13 @@ protected FeedItemBase() { } [DataMember(Name = "tags", EmitDefaultValue = false)] public List Tags { get; set; } + /// + /// Some specific tags for controlling feed items + /// + /// Some specific tags for controlling feed items + [DataMember(Name = "control_tags", EmitDefaultValue = false)] + public List ControlTags { get; set; } + /// /// The categories for the feed item /// @@ -194,6 +203,7 @@ public override string ToString() sb.Append(" GameName: ").Append(GameName).Append("\n"); sb.Append(" QuestCompletedPopupText: ").Append(QuestCompletedPopupText).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); + sb.Append(" ControlTags: ").Append(ControlTags).Append("\n"); sb.Append(" Categories: ").Append(Categories).Append("\n"); sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n"); sb.Append("}\n"); diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBonusGems.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBonusGems.cs index 1710c1f9..91c72efa 100644 --- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBonusGems.cs +++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBonusGems.cs @@ -71,10 +71,11 @@ protected FeedItemBonusGems() { } /// Game name. /// Text to display when the quest is completed in an onboarding experience. /// The tags for the feed item. + /// Some specific tags for controlling feed items. /// The categories for the feed item. /// The onboarding experience for the feed item. /// Feed item type (required). - public FeedItemBonusGems(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum)) + public FeedItemBonusGems(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List controlTags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum)) { // to ensure "id" is required (not null) if (id == null) @@ -103,6 +104,7 @@ protected FeedItemBonusGems() { } this.GameName = gameName; this.QuestCompletedPopupText = questCompletedPopupText; this.Tags = tags; + this.ControlTags = controlTags; this.Categories = categories; this.OnboardingExperience = onboardingExperience; } @@ -184,6 +186,13 @@ protected FeedItemBonusGems() { } [DataMember(Name = "tags", EmitDefaultValue = false)] public List Tags { get; set; } + /// + /// Some specific tags for controlling feed items + /// + /// Some specific tags for controlling feed items + [DataMember(Name = "control_tags", EmitDefaultValue = false)] + public List ControlTags { get; set; } + /// /// The categories for the feed item /// @@ -217,6 +226,7 @@ public override string ToString() sb.Append(" GameName: ").Append(GameName).Append("\n"); sb.Append(" QuestCompletedPopupText: ").Append(QuestCompletedPopupText).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); + sb.Append(" ControlTags: ").Append(ControlTags).Append("\n"); sb.Append(" Categories: ").Append(Categories).Append("\n"); sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemCTA.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemCTA.cs index 5538d97c..7fdd8fdd 100644 --- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemCTA.cs +++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemCTA.cs @@ -71,6 +71,7 @@ protected FeedItemCTA() { } /// Game name. /// Text to display when the quest is completed in an onboarding experience. /// The tags for the feed item. + /// Some specific tags for controlling feed items. /// The categories for the feed item. /// The onboarding experience for the feed item. /// Feed item type (required). @@ -78,7 +79,7 @@ protected FeedItemCTA() { } /// The description for the CTA button (required). /// The URL for the CTA button (required). /// The image for the CTA background (required). - public FeedItemCTA(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string label = default(string), string description = default(string), string url = default(string), string image = default(string)) + public FeedItemCTA(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List controlTags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string label = default(string), string description = default(string), string url = default(string), string image = default(string)) { // to ensure "id" is required (not null) if (id == null) @@ -131,6 +132,7 @@ protected FeedItemCTA() { } this.GameName = gameName; this.QuestCompletedPopupText = questCompletedPopupText; this.Tags = tags; + this.ControlTags = controlTags; this.Categories = categories; this.OnboardingExperience = onboardingExperience; } @@ -212,6 +214,13 @@ protected FeedItemCTA() { } [DataMember(Name = "tags", EmitDefaultValue = false)] public List Tags { get; set; } + /// + /// Some specific tags for controlling feed items + /// + /// Some specific tags for controlling feed items + [DataMember(Name = "control_tags", EmitDefaultValue = false)] + public List ControlTags { get; set; } + /// /// The categories for the feed item /// @@ -273,6 +282,7 @@ public override string ToString() sb.Append(" GameName: ").Append(GameName).Append("\n"); sb.Append(" QuestCompletedPopupText: ").Append(QuestCompletedPopupText).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); + sb.Append(" ControlTags: ").Append(ControlTags).Append("\n"); sb.Append(" Categories: ").Append(Categories).Append("\n"); sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemDailyGems.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemDailyGems.cs index 3809986d..27eefb7b 100644 --- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemDailyGems.cs +++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemDailyGems.cs @@ -71,10 +71,11 @@ protected FeedItemDailyGems() { } /// Game name. /// Text to display when the quest is completed in an onboarding experience. /// The tags for the feed item. + /// Some specific tags for controlling feed items. /// The categories for the feed item. /// The onboarding experience for the feed item. /// Feed item type (required). - public FeedItemDailyGems(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum)) + public FeedItemDailyGems(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List controlTags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum)) { // to ensure "id" is required (not null) if (id == null) @@ -103,6 +104,7 @@ protected FeedItemDailyGems() { } this.GameName = gameName; this.QuestCompletedPopupText = questCompletedPopupText; this.Tags = tags; + this.ControlTags = controlTags; this.Categories = categories; this.OnboardingExperience = onboardingExperience; } @@ -184,6 +186,13 @@ protected FeedItemDailyGems() { } [DataMember(Name = "tags", EmitDefaultValue = false)] public List Tags { get; set; } + /// + /// Some specific tags for controlling feed items + /// + /// Some specific tags for controlling feed items + [DataMember(Name = "control_tags", EmitDefaultValue = false)] + public List ControlTags { get; set; } + /// /// The categories for the feed item /// @@ -217,6 +226,7 @@ public override string ToString() sb.Append(" GameName: ").Append(GameName).Append("\n"); sb.Append(" QuestCompletedPopupText: ").Append(QuestCompletedPopupText).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); + sb.Append(" ControlTags: ").Append(ControlTags).Append("\n"); sb.Append(" Categories: ").Append(Categories).Append("\n"); sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemFollowGame.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemFollowGame.cs index e982a08c..5fee9705 100644 --- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemFollowGame.cs +++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemFollowGame.cs @@ -71,6 +71,7 @@ protected FeedItemFollowGame() { } /// Game name. /// Text to display when the quest is completed in an onboarding experience. /// The tags for the feed item. + /// Some specific tags for controlling feed items. /// The categories for the feed item. /// The onboarding experience for the feed item. /// Feed item type (required). @@ -80,7 +81,7 @@ protected FeedItemFollowGame() { } /// URL of the quiz logo (required). /// Title of the video (required). /// Similar games to display. - public FeedItemFollowGame(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string image = default(string), string label = default(string), string description = default(string), string logo = default(string), string title = default(string), List similarGames = default(List)) + public FeedItemFollowGame(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List controlTags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string image = default(string), string label = default(string), string description = default(string), string logo = default(string), string title = default(string), List similarGames = default(List)) { // to ensure "id" is required (not null) if (id == null) @@ -139,6 +140,7 @@ protected FeedItemFollowGame() { } this.GameName = gameName; this.QuestCompletedPopupText = questCompletedPopupText; this.Tags = tags; + this.ControlTags = controlTags; this.Categories = categories; this.OnboardingExperience = onboardingExperience; this.SimilarGames = similarGames; @@ -221,6 +223,13 @@ protected FeedItemFollowGame() { } [DataMember(Name = "tags", EmitDefaultValue = false)] public List Tags { get; set; } + /// + /// Some specific tags for controlling feed items + /// + /// Some specific tags for controlling feed items + [DataMember(Name = "control_tags", EmitDefaultValue = false)] + public List ControlTags { get; set; } + /// /// The categories for the feed item /// @@ -296,6 +305,7 @@ public override string ToString() sb.Append(" GameName: ").Append(GameName).Append("\n"); sb.Append(" QuestCompletedPopupText: ").Append(QuestCompletedPopupText).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); + sb.Append(" ControlTags: ").Append(ControlTags).Append("\n"); sb.Append(" Categories: ").Append(Categories).Append("\n"); sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemLanding.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemLanding.cs index 257201d2..e5f1d35d 100644 --- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemLanding.cs +++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemLanding.cs @@ -71,10 +71,11 @@ protected FeedItemLanding() { } /// Game name. /// Text to display when the quest is completed in an onboarding experience. /// The tags for the feed item. + /// Some specific tags for controlling feed items. /// The categories for the feed item. /// The onboarding experience for the feed item. /// Feed item type (required). - public FeedItemLanding(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum)) + public FeedItemLanding(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List controlTags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum)) { // to ensure "id" is required (not null) if (id == null) @@ -103,6 +104,7 @@ protected FeedItemLanding() { } this.GameName = gameName; this.QuestCompletedPopupText = questCompletedPopupText; this.Tags = tags; + this.ControlTags = controlTags; this.Categories = categories; this.OnboardingExperience = onboardingExperience; } @@ -184,6 +186,13 @@ protected FeedItemLanding() { } [DataMember(Name = "tags", EmitDefaultValue = false)] public List Tags { get; set; } + /// + /// Some specific tags for controlling feed items + /// + /// Some specific tags for controlling feed items + [DataMember(Name = "control_tags", EmitDefaultValue = false)] + public List ControlTags { get; set; } + /// /// The categories for the feed item /// @@ -217,6 +226,7 @@ public override string ToString() sb.Append(" GameName: ").Append(GameName).Append("\n"); sb.Append(" QuestCompletedPopupText: ").Append(QuestCompletedPopupText).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); + sb.Append(" ControlTags: ").Append(ControlTags).Append("\n"); sb.Append(" Categories: ").Append(Categories).Append("\n"); sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemPinToHome.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemPinToHome.cs index bef46a2e..ccad1013 100644 --- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemPinToHome.cs +++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemPinToHome.cs @@ -71,10 +71,11 @@ protected FeedItemPinToHome() { } /// Game name. /// Text to display when the quest is completed in an onboarding experience. /// The tags for the feed item. + /// Some specific tags for controlling feed items. /// The categories for the feed item. /// The onboarding experience for the feed item. /// Feed item type (required). - public FeedItemPinToHome(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum)) + public FeedItemPinToHome(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List controlTags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum)) { // to ensure "id" is required (not null) if (id == null) @@ -103,6 +104,7 @@ protected FeedItemPinToHome() { } this.GameName = gameName; this.QuestCompletedPopupText = questCompletedPopupText; this.Tags = tags; + this.ControlTags = controlTags; this.Categories = categories; this.OnboardingExperience = onboardingExperience; } @@ -184,6 +186,13 @@ protected FeedItemPinToHome() { } [DataMember(Name = "tags", EmitDefaultValue = false)] public List Tags { get; set; } + /// + /// Some specific tags for controlling feed items + /// + /// Some specific tags for controlling feed items + [DataMember(Name = "control_tags", EmitDefaultValue = false)] + public List ControlTags { get; set; } + /// /// The categories for the feed item /// @@ -217,6 +226,7 @@ public override string ToString() sb.Append(" GameName: ").Append(GameName).Append("\n"); sb.Append(" QuestCompletedPopupText: ").Append(QuestCompletedPopupText).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); + sb.Append(" ControlTags: ").Append(ControlTags).Append("\n"); sb.Append(" Categories: ").Append(Categories).Append("\n"); sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemQuiz.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemQuiz.cs index a19413b5..e15b6bd1 100644 --- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemQuiz.cs +++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemQuiz.cs @@ -71,6 +71,7 @@ protected FeedItemQuiz() { } /// Game name. /// Text to display when the quest is completed in an onboarding experience. /// The tags for the feed item. + /// Some specific tags for controlling feed items. /// The categories for the feed item. /// The onboarding experience for the feed item. /// Feed item type (required). @@ -82,7 +83,7 @@ protected FeedItemQuiz() { } /// The text to display when the user answers the quiz correctly. /// The initial image for the quiz header. /// The image to display when the user answers the quiz correctly. - public FeedItemQuiz(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string headerVideoUrl = default(string), string logo = default(string), string question = default(string), List answers = default(List), List correctAnswers = default(List), string correctAnswerText = default(string), string headerInitialImage = default(string), string headerAnsweredImage = default(string)) + public FeedItemQuiz(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List controlTags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string headerVideoUrl = default(string), string logo = default(string), string question = default(string), List answers = default(List), List correctAnswers = default(List), string correctAnswerText = default(string), string headerInitialImage = default(string), string headerAnsweredImage = default(string)) { // to ensure "id" is required (not null) if (id == null) @@ -129,6 +130,7 @@ protected FeedItemQuiz() { } this.GameName = gameName; this.QuestCompletedPopupText = questCompletedPopupText; this.Tags = tags; + this.ControlTags = controlTags; this.Categories = categories; this.OnboardingExperience = onboardingExperience; this.HeaderVideoUrl = headerVideoUrl; @@ -215,6 +217,13 @@ protected FeedItemQuiz() { } [DataMember(Name = "tags", EmitDefaultValue = false)] public List Tags { get; set; } + /// + /// Some specific tags for controlling feed items + /// + /// Some specific tags for controlling feed items + [DataMember(Name = "control_tags", EmitDefaultValue = false)] + public List ControlTags { get; set; } + /// /// The categories for the feed item /// @@ -304,6 +313,7 @@ public override string ToString() sb.Append(" GameName: ").Append(GameName).Append("\n"); sb.Append(" QuestCompletedPopupText: ").Append(QuestCompletedPopupText).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); + sb.Append(" ControlTags: ").Append(ControlTags).Append("\n"); sb.Append(" Categories: ").Append(Categories).Append("\n"); sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReferral.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReferral.cs index bf1fe589..7df468ec 100644 --- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReferral.cs +++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReferral.cs @@ -71,10 +71,11 @@ protected FeedItemReferral() { } /// Game name. /// Text to display when the quest is completed in an onboarding experience. /// The tags for the feed item. + /// Some specific tags for controlling feed items. /// The categories for the feed item. /// The onboarding experience for the feed item. /// Feed item type (required). - public FeedItemReferral(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum)) + public FeedItemReferral(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List controlTags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum)) { // to ensure "id" is required (not null) if (id == null) @@ -103,6 +104,7 @@ protected FeedItemReferral() { } this.GameName = gameName; this.QuestCompletedPopupText = questCompletedPopupText; this.Tags = tags; + this.ControlTags = controlTags; this.Categories = categories; this.OnboardingExperience = onboardingExperience; } @@ -184,6 +186,13 @@ protected FeedItemReferral() { } [DataMember(Name = "tags", EmitDefaultValue = false)] public List Tags { get; set; } + /// + /// Some specific tags for controlling feed items + /// + /// Some specific tags for controlling feed items + [DataMember(Name = "control_tags", EmitDefaultValue = false)] + public List ControlTags { get; set; } + /// /// The categories for the feed item /// @@ -217,6 +226,7 @@ public override string ToString() sb.Append(" GameName: ").Append(GameName).Append("\n"); sb.Append(" QuestCompletedPopupText: ").Append(QuestCompletedPopupText).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); + sb.Append(" ControlTags: ").Append(ControlTags).Append("\n"); sb.Append(" Categories: ").Append(Categories).Append("\n"); sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReward.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReward.cs index 81519a16..735e7ed6 100644 --- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReward.cs +++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReward.cs @@ -71,6 +71,7 @@ protected FeedItemReward() { } /// Game name. /// Text to display when the quest is completed in an onboarding experience. /// The tags for the feed item. + /// Some specific tags for controlling feed items. /// The categories for the feed item. /// The onboarding experience for the feed item. /// Feed item type (required). @@ -80,7 +81,7 @@ protected FeedItemReward() { } /// The image for the CTA background (required). /// The URL to redirect to when the user completes the sign in quest (required). /// The background for the sign in quest (required). - public FeedItemReward(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string label = default(string), string description = default(string), string url = default(string), string image = default(string), string redirectUrl = default(string), string background = default(string)) + public FeedItemReward(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List controlTags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string label = default(string), string description = default(string), string url = default(string), string image = default(string), string redirectUrl = default(string), string background = default(string)) { // to ensure "id" is required (not null) if (id == null) @@ -145,6 +146,7 @@ protected FeedItemReward() { } this.GameName = gameName; this.QuestCompletedPopupText = questCompletedPopupText; this.Tags = tags; + this.ControlTags = controlTags; this.Categories = categories; this.OnboardingExperience = onboardingExperience; } @@ -226,6 +228,13 @@ protected FeedItemReward() { } [DataMember(Name = "tags", EmitDefaultValue = false)] public List Tags { get; set; } + /// + /// Some specific tags for controlling feed items + /// + /// Some specific tags for controlling feed items + [DataMember(Name = "control_tags", EmitDefaultValue = false)] + public List ControlTags { get; set; } + /// /// The categories for the feed item /// @@ -301,6 +310,7 @@ public override string ToString() sb.Append(" GameName: ").Append(GameName).Append("\n"); sb.Append(" QuestCompletedPopupText: ").Append(QuestCompletedPopupText).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); + sb.Append(" ControlTags: ").Append(ControlTags).Append("\n"); sb.Append(" Categories: ").Append(Categories).Append("\n"); sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemSignIn.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemSignIn.cs index 9a7213ef..352adc23 100644 --- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemSignIn.cs +++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemSignIn.cs @@ -71,6 +71,7 @@ protected FeedItemSignIn() { } /// Game name. /// Text to display when the quest is completed in an onboarding experience. /// The tags for the feed item. + /// Some specific tags for controlling feed items. /// The categories for the feed item. /// The onboarding experience for the feed item. /// Feed item type (required). @@ -80,7 +81,7 @@ protected FeedItemSignIn() { } /// The image for the CTA background (required). /// The URL to redirect to when the user completes the sign in quest (required). /// The background for the sign in quest (required). - public FeedItemSignIn(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string label = default(string), string description = default(string), string url = default(string), string image = default(string), string redirectUrl = default(string), string background = default(string)) + public FeedItemSignIn(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List controlTags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string label = default(string), string description = default(string), string url = default(string), string image = default(string), string redirectUrl = default(string), string background = default(string)) { // to ensure "id" is required (not null) if (id == null) @@ -145,6 +146,7 @@ protected FeedItemSignIn() { } this.GameName = gameName; this.QuestCompletedPopupText = questCompletedPopupText; this.Tags = tags; + this.ControlTags = controlTags; this.Categories = categories; this.OnboardingExperience = onboardingExperience; } @@ -226,6 +228,13 @@ protected FeedItemSignIn() { } [DataMember(Name = "tags", EmitDefaultValue = false)] public List Tags { get; set; } + /// + /// Some specific tags for controlling feed items + /// + /// Some specific tags for controlling feed items + [DataMember(Name = "control_tags", EmitDefaultValue = false)] + public List ControlTags { get; set; } + /// /// The categories for the feed item /// @@ -301,6 +310,7 @@ public override string ToString() sb.Append(" GameName: ").Append(GameName).Append("\n"); sb.Append(" QuestCompletedPopupText: ").Append(QuestCompletedPopupText).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); + sb.Append(" ControlTags: ").Append(ControlTags).Append("\n"); sb.Append(" Categories: ").Append(Categories).Append("\n"); sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemSocialQuest.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemSocialQuest.cs new file mode 100644 index 00000000..888cdcbf --- /dev/null +++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemSocialQuest.cs @@ -0,0 +1,353 @@ +/* + * Immutable zkEVM API + * + * Immutable Multi Rollup API + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@immutable.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using OpenAPIDateConverter = Immutable.Api.ZkEvm.Client.OpenAPIDateConverter; + +namespace Immutable.Api.ZkEvm.Model +{ + /// + /// FeedItemSocialQuest + /// + [DataContract(Name = "FeedItemSocialQuest")] + public partial class FeedItemSocialQuest + { + /// + /// Feed item type + /// + /// Feed item type + [JsonConverter(typeof(StringEnumConverter))] + public enum TypeEnum + { + /// + /// Enum Socialquest for value: socialquest + /// + [EnumMember(Value = "socialquest")] + Socialquest = 1 + } + + + /// + /// Feed item type + /// + /// Feed item type + [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)] + public TypeEnum Type { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected FeedItemSocialQuest() { } + /// + /// Initializes a new instance of the class. + /// + /// Feed item ID (required). + /// Feed item name (required). + /// Quest ID (required). + /// Feed item priority (required). + /// Amount of gems earnable when user completes the quest (required). + /// If the quest is bypassed, the user will not be able to see it on the feed. + /// If the quest is a day0 quest. + /// Game ID. + /// Game name. + /// Text to display when the quest is completed in an onboarding experience. + /// The tags for the feed item. + /// Some specific tags for controlling feed items. + /// The categories for the feed item. + /// The onboarding experience for the feed item. + /// Feed item type (required). + /// Title of the social quest (required). + /// Title of the social quest (required). + /// The label for the CTA button (required). + /// The description for the CTA button (required). + /// The URL for the CTA button (required). + /// URL of the logo (required). + /// The name of the platform social quest belongs to (required). + public FeedItemSocialQuest(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List controlTags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string title = default(string), string subtitle = default(string), string label = default(string), string description = default(string), string url = default(string), string logo = default(string), string platformName = default(string)) + { + // to ensure "id" is required (not null) + if (id == null) + { + throw new ArgumentNullException("id is a required property for FeedItemSocialQuest and cannot be null"); + } + this.Id = id; + // to ensure "name" is required (not null) + if (name == null) + { + throw new ArgumentNullException("name is a required property for FeedItemSocialQuest and cannot be null"); + } + this.Name = name; + // to ensure "questId" is required (not null) + if (questId == null) + { + throw new ArgumentNullException("questId is a required property for FeedItemSocialQuest and cannot be null"); + } + this.QuestId = questId; + this.Priority = priority; + this.GemsEarnable = gemsEarnable; + this.Type = type; + // to ensure "title" is required (not null) + if (title == null) + { + throw new ArgumentNullException("title is a required property for FeedItemSocialQuest and cannot be null"); + } + this.Title = title; + // to ensure "subtitle" is required (not null) + if (subtitle == null) + { + throw new ArgumentNullException("subtitle is a required property for FeedItemSocialQuest and cannot be null"); + } + this.Subtitle = subtitle; + // to ensure "label" is required (not null) + if (label == null) + { + throw new ArgumentNullException("label is a required property for FeedItemSocialQuest and cannot be null"); + } + this.Label = label; + // to ensure "description" is required (not null) + if (description == null) + { + throw new ArgumentNullException("description is a required property for FeedItemSocialQuest and cannot be null"); + } + this.Description = description; + // to ensure "url" is required (not null) + if (url == null) + { + throw new ArgumentNullException("url is a required property for FeedItemSocialQuest and cannot be null"); + } + this.Url = url; + // to ensure "logo" is required (not null) + if (logo == null) + { + throw new ArgumentNullException("logo is a required property for FeedItemSocialQuest and cannot be null"); + } + this.Logo = logo; + // to ensure "platformName" is required (not null) + if (platformName == null) + { + throw new ArgumentNullException("platformName is a required property for FeedItemSocialQuest and cannot be null"); + } + this.PlatformName = platformName; + this.Bypass = bypass; + this.DayZero = dayZero; + this.GameId = gameId; + this.GameName = gameName; + this.QuestCompletedPopupText = questCompletedPopupText; + this.Tags = tags; + this.ControlTags = controlTags; + this.Categories = categories; + this.OnboardingExperience = onboardingExperience; + } + + /// + /// Feed item ID + /// + /// Feed item ID + [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)] + public string Id { get; set; } + + /// + /// Feed item name + /// + /// Feed item name + [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)] + public string Name { get; set; } + + /// + /// Quest ID + /// + /// Quest ID + [DataMember(Name = "quest_id", IsRequired = true, EmitDefaultValue = true)] + public string QuestId { get; set; } + + /// + /// Feed item priority + /// + /// Feed item priority + [DataMember(Name = "priority", IsRequired = true, EmitDefaultValue = true)] + public int Priority { get; set; } + + /// + /// Amount of gems earnable when user completes the quest + /// + /// Amount of gems earnable when user completes the quest + [DataMember(Name = "gems_earnable", IsRequired = true, EmitDefaultValue = true)] + public int GemsEarnable { get; set; } + + /// + /// If the quest is bypassed, the user will not be able to see it on the feed + /// + /// If the quest is bypassed, the user will not be able to see it on the feed + [DataMember(Name = "bypass", EmitDefaultValue = true)] + public bool Bypass { get; set; } + + /// + /// If the quest is a day0 quest + /// + /// If the quest is a day0 quest + [DataMember(Name = "day_zero", EmitDefaultValue = true)] + public bool DayZero { get; set; } + + /// + /// Game ID + /// + /// Game ID + [DataMember(Name = "game_id", EmitDefaultValue = false)] + public Guid GameId { get; set; } + + /// + /// Game name + /// + /// Game name + [DataMember(Name = "game_name", EmitDefaultValue = false)] + public string GameName { get; set; } + + /// + /// Text to display when the quest is completed in an onboarding experience + /// + /// Text to display when the quest is completed in an onboarding experience + [DataMember(Name = "quest_completed_popup_text", EmitDefaultValue = false)] + public string QuestCompletedPopupText { get; set; } + + /// + /// The tags for the feed item + /// + /// The tags for the feed item + [DataMember(Name = "tags", EmitDefaultValue = false)] + public List Tags { get; set; } + + /// + /// Some specific tags for controlling feed items + /// + /// Some specific tags for controlling feed items + [DataMember(Name = "control_tags", EmitDefaultValue = false)] + public List ControlTags { get; set; } + + /// + /// The categories for the feed item + /// + /// The categories for the feed item + [DataMember(Name = "categories", EmitDefaultValue = false)] + public List Categories { get; set; } + + /// + /// The onboarding experience for the feed item + /// + /// The onboarding experience for the feed item + [DataMember(Name = "onboarding_experience", EmitDefaultValue = false)] + public string OnboardingExperience { get; set; } + + /// + /// Title of the social quest + /// + /// Title of the social quest + [DataMember(Name = "title", IsRequired = true, EmitDefaultValue = true)] + public string Title { get; set; } + + /// + /// Title of the social quest + /// + /// Title of the social quest + [DataMember(Name = "subtitle", IsRequired = true, EmitDefaultValue = true)] + public string Subtitle { get; set; } + + /// + /// The label for the CTA button + /// + /// The label for the CTA button + [DataMember(Name = "label", IsRequired = true, EmitDefaultValue = true)] + public string Label { get; set; } + + /// + /// The description for the CTA button + /// + /// The description for the CTA button + [DataMember(Name = "description", IsRequired = true, EmitDefaultValue = true)] + public string Description { get; set; } + + /// + /// The URL for the CTA button + /// + /// The URL for the CTA button + [DataMember(Name = "url", IsRequired = true, EmitDefaultValue = true)] + public string Url { get; set; } + + /// + /// URL of the logo + /// + /// URL of the logo + [DataMember(Name = "logo", IsRequired = true, EmitDefaultValue = true)] + public string Logo { get; set; } + + /// + /// The name of the platform social quest belongs to + /// + /// The name of the platform social quest belongs to + [DataMember(Name = "platform_name", IsRequired = true, EmitDefaultValue = true)] + public string PlatformName { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class FeedItemSocialQuest {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" QuestId: ").Append(QuestId).Append("\n"); + sb.Append(" Priority: ").Append(Priority).Append("\n"); + sb.Append(" GemsEarnable: ").Append(GemsEarnable).Append("\n"); + sb.Append(" Bypass: ").Append(Bypass).Append("\n"); + sb.Append(" DayZero: ").Append(DayZero).Append("\n"); + sb.Append(" GameId: ").Append(GameId).Append("\n"); + sb.Append(" GameName: ").Append(GameName).Append("\n"); + sb.Append(" QuestCompletedPopupText: ").Append(QuestCompletedPopupText).Append("\n"); + sb.Append(" Tags: ").Append(Tags).Append("\n"); + sb.Append(" ControlTags: ").Append(ControlTags).Append("\n"); + sb.Append(" Categories: ").Append(Categories).Append("\n"); + sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); + sb.Append(" Title: ").Append(Title).Append("\n"); + sb.Append(" Subtitle: ").Append(Subtitle).Append("\n"); + sb.Append(" Label: ").Append(Label).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" Url: ").Append(Url).Append("\n"); + sb.Append(" Logo: ").Append(Logo).Append("\n"); + sb.Append(" PlatformName: ").Append(PlatformName).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + } + +} diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemSocialQuest.cs.meta b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemSocialQuest.cs.meta new file mode 100644 index 00000000..67422b0a --- /dev/null +++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemSocialQuest.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9e09d0455f675d4bb8ff0093cfc04d06 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemVideo.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemVideo.cs index 26d924fb..92e7f17d 100644 --- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemVideo.cs +++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemVideo.cs @@ -71,12 +71,13 @@ protected FeedItemVideo() { } /// Game name. /// Text to display when the quest is completed in an onboarding experience. /// The tags for the feed item. + /// Some specific tags for controlling feed items. /// The categories for the feed item. /// The onboarding experience for the feed item. /// Feed item type (required). /// Title of the video (required). /// URL of the video (required). - public FeedItemVideo(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string title = default(string), string url = default(string)) + public FeedItemVideo(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), int gemsEarnable = default(int), bool bypass = default(bool), bool dayZero = default(bool), Guid gameId = default(Guid), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List controlTags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string title = default(string), string url = default(string)) { // to ensure "id" is required (not null) if (id == null) @@ -117,6 +118,7 @@ protected FeedItemVideo() { } this.GameName = gameName; this.QuestCompletedPopupText = questCompletedPopupText; this.Tags = tags; + this.ControlTags = controlTags; this.Categories = categories; this.OnboardingExperience = onboardingExperience; } @@ -198,6 +200,13 @@ protected FeedItemVideo() { } [DataMember(Name = "tags", EmitDefaultValue = false)] public List Tags { get; set; } + /// + /// Some specific tags for controlling feed items + /// + /// Some specific tags for controlling feed items + [DataMember(Name = "control_tags", EmitDefaultValue = false)] + public List ControlTags { get; set; } + /// /// The categories for the feed item /// @@ -245,6 +254,7 @@ public override string ToString() sb.Append(" GameName: ").Append(GameName).Append("\n"); sb.Append(" QuestCompletedPopupText: ").Append(QuestCompletedPopupText).Append("\n"); sb.Append(" Tags: ").Append(Tags).Append("\n"); + sb.Append(" ControlTags: ").Append(ControlTags).Append("\n"); sb.Append(" Categories: ").Append(Categories).Append("\n"); sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); diff --git a/src/Packages/ZkEvmApi/api~/openapi.yaml b/src/Packages/ZkEvmApi/api~/openapi.yaml index 01f7540f..70d374fa 100644 --- a/src/Packages/ZkEvmApi/api~/openapi.yaml +++ b/src/Packages/ZkEvmApi/api~/openapi.yaml @@ -9103,6 +9103,11 @@ components: items: type: string type: array + control_tags: + description: Some specific tags for controlling feed items + items: + type: string + type: array categories: description: The categories for the feed item items: @@ -9348,6 +9353,47 @@ components: type: string required: - type + FeedItemSocialQuest: + allOf: + - $ref: '#/components/schemas/FeedItemBase' + - type: object + - properties: + type: + description: Feed item type + enum: + - socialquest + type: string + title: + description: Title of the social quest + type: string + subtitle: + description: Title of the social quest + type: string + label: + description: The label for the CTA button + type: string + description: + description: The description for the CTA button + type: string + url: + description: The URL for the CTA button + type: string + logo: + description: URL of the logo + format: uri + type: string + platform_name: + description: The name of the platform social quest belongs to + type: string + required: + - description + - label + - logo + - platform_name + - subtitle + - title + - type + - url FilterValue: example: - value: Common