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
2 changes: 0 additions & 2 deletions src/Packages/ZkEvmApi/Documentation~/FeedItemBase.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ Name | Type | Description | Notes
**Name** | **string** | Feed item name |
**QuestId** | **string** | Quest ID |
**Priority** | **int** | Feed item priority |
**Type** | **string** | Feed item type |
**GemsEarnable** | **int** | Amount of gems earnable when user completes the quest |
**Status** | **string** | Feed item status, e.g., enabled, disabled, archived, deleted |
**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** | **string** | Game ID | [optional]
Expand Down
23 changes: 23 additions & 0 deletions src/Packages/ZkEvmApi/Documentation~/FeedItemBonusGems.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Immutable.Api.ZkEvm.Model.FeedItemBonusGems

## 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** | **string** | 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]
**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 |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

3 changes: 1 addition & 2 deletions src/Packages/ZkEvmApi/Documentation~/FeedItemCTA.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ Name | Type | Description | Notes
**Name** | **string** | Feed item name |
**QuestId** | **string** | Quest ID |
**Priority** | **int** | Feed item priority |
**Type** | **string** | Feed item type |
**GemsEarnable** | **int** | Amount of gems earnable when user completes the quest |
**Status** | **string** | Feed item status, e.g., enabled, disabled, archived, deleted |
**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** | **string** | Game ID | [optional]
Expand All @@ -19,6 +17,7 @@ Name | Type | Description | Notes
**Tags** | **List<string>** | The tags for the feed item | [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 |
**CtaLabel** | **string** | The label for the CTA button |
**CtaDescription** | **string** | The description for the CTA button |
**CtaUrl** | **string** | The URL for the CTA button |
Expand Down
23 changes: 23 additions & 0 deletions src/Packages/ZkEvmApi/Documentation~/FeedItemDailyGems.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Immutable.Api.ZkEvm.Model.FeedItemDailyGems

## 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** | **string** | 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]
**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 |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

23 changes: 23 additions & 0 deletions src/Packages/ZkEvmApi/Documentation~/FeedItemLanding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Immutable.Api.ZkEvm.Model.FeedItemLanding

## 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** | **string** | 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]
**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 |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

23 changes: 23 additions & 0 deletions src/Packages/ZkEvmApi/Documentation~/FeedItemPinToHome.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Immutable.Api.ZkEvm.Model.FeedItemPinToHome

## 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** | **string** | 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]
**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 |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

3 changes: 1 addition & 2 deletions src/Packages/ZkEvmApi/Documentation~/FeedItemQuiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ Name | Type | Description | Notes
**Name** | **string** | Feed item name |
**QuestId** | **string** | Quest ID |
**Priority** | **int** | Feed item priority |
**Type** | **string** | Feed item type |
**GemsEarnable** | **int** | Amount of gems earnable when user completes the quest |
**Status** | **string** | Feed item status, e.g., enabled, disabled, archived, deleted |
**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** | **string** | Game ID | [optional]
Expand All @@ -19,6 +17,7 @@ Name | Type | Description | Notes
**Tags** | **List<string>** | The tags for the feed item | [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 |
**QuizHeaderVideoUrl** | **string** | URL of the quiz header video | [optional]
**QuizLogo** | **string** | URL of the quiz logo | [optional]
**QuizQuestion** | **string** | The quiz question |
Expand Down
23 changes: 23 additions & 0 deletions src/Packages/ZkEvmApi/Documentation~/FeedItemReferral.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Immutable.Api.ZkEvm.Model.FeedItemReferral

## 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** | **string** | 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]
**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 |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

29 changes: 29 additions & 0 deletions src/Packages/ZkEvmApi/Documentation~/FeedItemReward.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Immutable.Api.ZkEvm.Model.FeedItemReward

## 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** | **string** | 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]
**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 |
**CtaLabel** | **string** | The label for the CTA button |
**CtaDescription** | **string** | The description for the CTA button |
**CtaUrl** | **string** | The URL for the CTA button |
**CtaImage** | **string** | The image for the CTA background |
**SignInRedirectUrl** | **string** | The URL to redirect to when the user completes the sign in quest |
**SignInBackground** | **string** | The background for the sign in quest |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

3 changes: 1 addition & 2 deletions src/Packages/ZkEvmApi/Documentation~/FeedItemSignIn.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ Name | Type | Description | Notes
**Name** | **string** | Feed item name |
**QuestId** | **string** | Quest ID |
**Priority** | **int** | Feed item priority |
**Type** | **string** | Feed item type |
**GemsEarnable** | **int** | Amount of gems earnable when user completes the quest |
**Status** | **string** | Feed item status, e.g., enabled, disabled, archived, deleted |
**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** | **string** | Game ID | [optional]
Expand All @@ -19,6 +17,7 @@ Name | Type | Description | Notes
**Tags** | **List<string>** | The tags for the feed item | [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 |
**CtaLabel** | **string** | The label for the CTA button |
**CtaDescription** | **string** | The description for the CTA button |
**CtaUrl** | **string** | The URL for the CTA button |
Expand Down
3 changes: 1 addition & 2 deletions src/Packages/ZkEvmApi/Documentation~/FeedItemVideo.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ Name | Type | Description | Notes
**Name** | **string** | Feed item name |
**QuestId** | **string** | Quest ID |
**Priority** | **int** | Feed item priority |
**Type** | **string** | Feed item type |
**GemsEarnable** | **int** | Amount of gems earnable when user completes the quest |
**Status** | **string** | Feed item status, e.g., enabled, disabled, archived, deleted |
**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** | **string** | Game ID | [optional]
Expand All @@ -19,6 +17,7 @@ Name | Type | Description | Notes
**Tags** | **List<string>** | The tags for the feed item | [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 |
**VideoTitle** | **string** | Title of the video |
**VideoUrl** | **string** | URL of the video |

Expand Down
32 changes: 1 addition & 31 deletions src/Packages/ZkEvmApi/Runtime/Model/FeedItemBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ protected FeedItemBase() { }
/// <param name="name">Feed item name (required).</param>
/// <param name="questId">Quest ID (required).</param>
/// <param name="priority">Feed item priority (required).</param>
/// <param name="type">Feed item type (required).</param>
/// <param name="gemsEarnable">Amount of gems earnable when user completes the quest (required).</param>
/// <param name="status">Feed item status, e.g., enabled, disabled, archived, deleted (required).</param>
/// <param name="bypass">If the quest is bypassed, the user will not be able to see it on the feed.</param>
/// <param name="dayZero">If the quest is a day0 quest.</param>
/// <param name="gameId">Game ID.</param>
Expand All @@ -54,7 +52,7 @@ protected FeedItemBase() { }
/// <param name="tags">The tags for the feed item.</param>
/// <param name="categories">The categories for the feed item.</param>
/// <param name="onboardingExperience">The onboarding experience for the feed item.</param>
public FeedItemBase(string id = default(string), string name = default(string), string questId = default(string), int priority = default(int), string type = default(string), int gemsEarnable = default(int), string status = default(string), bool bypass = default(bool), bool dayZero = default(bool), string gameId = default(string), string gameName = default(string), string questCompletedPopupText = default(string), List<string> tags = default(List<string>), List<string> categories = default(List<string>), 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), string gameId = default(string), string gameName = default(string), string questCompletedPopupText = default(string), List<string> tags = default(List<string>), List<string> categories = default(List<string>), string onboardingExperience = default(string))
{
// to ensure "id" is required (not null)
if (id == null)
Expand All @@ -75,19 +73,7 @@ protected FeedItemBase() { }
}
this.QuestId = questId;
this.Priority = priority;
// to ensure "type" is required (not null)
if (type == null)
{
throw new ArgumentNullException("type is a required property for FeedItemBase and cannot be null");
}
this.Type = type;
this.GemsEarnable = gemsEarnable;
// to ensure "status" is required (not null)
if (status == null)
{
throw new ArgumentNullException("status is a required property for FeedItemBase and cannot be null");
}
this.Status = status;
this.Bypass = bypass;
this.DayZero = dayZero;
this.GameId = gameId;
Expand Down Expand Up @@ -126,27 +112,13 @@ protected FeedItemBase() { }
[DataMember(Name = "priority", IsRequired = true, EmitDefaultValue = true)]
public int Priority { get; set; }

/// <summary>
/// Feed item type
/// </summary>
/// <value>Feed item type</value>
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
public string Type { get; set; }

/// <summary>
/// Amount of gems earnable when user completes the quest
/// </summary>
/// <value>Amount of gems earnable when user completes the quest</value>
[DataMember(Name = "gems_earnable", IsRequired = true, EmitDefaultValue = true)]
public int GemsEarnable { get; set; }

/// <summary>
/// Feed item status, e.g., enabled, disabled, archived, deleted
/// </summary>
/// <value>Feed item status, e.g., enabled, disabled, archived, deleted</value>
[DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
public string Status { get; set; }

/// <summary>
/// If the quest is bypassed, the user will not be able to see it on the feed
/// </summary>
Expand Down Expand Up @@ -215,9 +187,7 @@ public override string ToString()
sb.Append(" Name: ").Append(Name).Append("\n");
sb.Append(" QuestId: ").Append(QuestId).Append("\n");
sb.Append(" Priority: ").Append(Priority).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
sb.Append(" GemsEarnable: ").Append(GemsEarnable).Append("\n");
sb.Append(" Status: ").Append(Status).Append("\n");
sb.Append(" Bypass: ").Append(Bypass).Append("\n");
sb.Append(" DayZero: ").Append(DayZero).Append("\n");
sb.Append(" GameId: ").Append(GameId).Append("\n");
Expand Down
Loading