Skip to content

Commit 2c2a32e

Browse files
authored
Merge pull request #538 from immutable/feat/update-zkevm-api-2025-08-05-10-06-01
feat: update immutable zkEVM API package
2 parents 67a5c49 + 4047e94 commit 2c2a32e

File tree

13 files changed

+307
-307
lines changed

13 files changed

+307
-307
lines changed

src/Packages/ZkEvmApi/Documentation~/FeedItemCTA.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ Name | Type | Description | Notes
1818
**Categories** | **List<string>** | The categories for the feed item | [optional]
1919
**OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional]
2020
**Type** | **string** | Feed item type |
21-
**CtaLabel** | **string** | The label for the CTA button |
22-
**CtaDescription** | **string** | The description for the CTA button |
23-
**CtaUrl** | **string** | The URL for the CTA button |
24-
**CtaImage** | **string** | The image for the CTA background |
21+
**Label** | **string** | The label for the CTA button |
22+
**Description** | **string** | The description for the CTA button |
23+
**Url** | **string** | The URL for the CTA button |
24+
**Image** | **string** | The image for the CTA background |
2525

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

src/Packages/ZkEvmApi/Documentation~/FeedItemFollowGame.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
1818
**Categories** | **List<string>** | The categories for the feed item | [optional]
1919
**OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional]
2020
**Type** | **string** | Feed item type |
21-
**CtaImage** | **string** | URL of the CTA image |
22-
**CtaLabel** | **string** | Label of the CTA button |
23-
**CtaDescription** | **string** | Description of the CTA button |
24-
**QuizLogo** | **string** | URL of the quiz logo |
25-
**VideoTitle** | **string** | Title of the video |
21+
**Image** | **string** | URL of the CTA image |
22+
**Label** | **string** | Label of the CTA button |
23+
**Description** | **string** | Description of the CTA button |
24+
**Logo** | **string** | URL of the quiz logo |
25+
**Title** | **string** | Title of the video |
2626

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

src/Packages/ZkEvmApi/Documentation~/FeedItemQuiz.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ Name | Type | Description | Notes
1818
**Categories** | **List<string>** | The categories for the feed item | [optional]
1919
**OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional]
2020
**Type** | **string** | Feed item type |
21-
**QuizHeaderVideoUrl** | **string** | URL of the quiz header video | [optional]
22-
**QuizLogo** | **string** | URL of the quiz logo | [optional]
23-
**QuizQuestion** | **string** | The quiz question |
24-
**QuizAnswers** | **List<string>** | Quiz answers to display |
25-
**QuizCorrectAnswers** | **List<int>** | Quiz correct answers |
26-
**QuizCorrectAnswerText** | **string** | The text to display when the user answers the quiz correctly | [optional]
27-
**QuizHeaderInitialImage** | **string** | The initial image for the quiz header | [optional]
28-
**QuizHeaderAnsweredImage** | **string** | The image to display when the user answers the quiz correctly | [optional]
21+
**HeaderVideoUrl** | **string** | URL of the quiz header video | [optional]
22+
**Logo** | **string** | URL of the quiz logo | [optional]
23+
**Question** | **string** | The quiz question |
24+
**Answers** | **List<string>** | Quiz answers to display |
25+
**CorrectAnswers** | **List<int>** | Quiz correct answers |
26+
**CorrectAnswerText** | **string** | The text to display when the user answers the quiz correctly | [optional]
27+
**HeaderInitialImage** | **string** | The initial image for the quiz header | [optional]
28+
**HeaderAnsweredImage** | **string** | The image to display when the user answers the quiz correctly | [optional]
2929

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

src/Packages/ZkEvmApi/Documentation~/FeedItemReward.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ Name | Type | Description | Notes
1818
**Categories** | **List<string>** | The categories for the feed item | [optional]
1919
**OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional]
2020
**Type** | **string** | Feed item type |
21-
**CtaLabel** | **string** | The label for the CTA button |
22-
**CtaDescription** | **string** | The description for the CTA button |
23-
**CtaUrl** | **string** | The URL for the CTA button |
24-
**CtaImage** | **string** | The image for the CTA background |
25-
**SignInRedirectUrl** | **string** | The URL to redirect to when the user completes the sign in quest |
26-
**SignInBackground** | **string** | The background for the sign in quest |
21+
**Label** | **string** | The label for the CTA button |
22+
**Description** | **string** | The description for the CTA button |
23+
**Url** | **string** | The URL for the CTA button |
24+
**Image** | **string** | The image for the CTA background |
25+
**RedirectUrl** | **string** | The URL to redirect to when the user completes the sign in quest |
26+
**Background** | **string** | The background for the sign in quest |
2727

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

src/Packages/ZkEvmApi/Documentation~/FeedItemSignIn.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ Name | Type | Description | Notes
1818
**Categories** | **List<string>** | The categories for the feed item | [optional]
1919
**OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional]
2020
**Type** | **string** | Feed item type |
21-
**CtaLabel** | **string** | The label for the CTA button |
22-
**CtaDescription** | **string** | The description for the CTA button |
23-
**CtaUrl** | **string** | The URL for the CTA button |
24-
**CtaImage** | **string** | The image for the CTA background |
25-
**SignInRedirectUrl** | **string** | The URL to redirect to when the user completes the sign in quest |
26-
**SignInBackground** | **string** | The background for the sign in quest |
21+
**Label** | **string** | The label for the CTA button |
22+
**Description** | **string** | The description for the CTA button |
23+
**Url** | **string** | The URL for the CTA button |
24+
**Image** | **string** | The image for the CTA background |
25+
**RedirectUrl** | **string** | The URL to redirect to when the user completes the sign in quest |
26+
**Background** | **string** | The background for the sign in quest |
2727

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

src/Packages/ZkEvmApi/Documentation~/FeedItemVideo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Name | Type | Description | Notes
1818
**Categories** | **List<string>** | The categories for the feed item | [optional]
1919
**OnboardingExperience** | **string** | The onboarding experience for the feed item | [optional]
2020
**Type** | **string** | Feed item type |
21-
**VideoTitle** | **string** | Title of the video |
22-
**VideoUrl** | **string** | URL of the video |
21+
**Title** | **string** | Title of the video |
22+
**Url** | **string** | URL of the video |
2323

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

src/Packages/ZkEvmApi/Runtime/Model/FeedItemCTA.cs

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ protected FeedItemCTA() { }
7474
/// <param name="categories">The categories for the feed item.</param>
7575
/// <param name="onboardingExperience">The onboarding experience for the feed item.</param>
7676
/// <param name="type">Feed item type (required).</param>
77-
/// <param name="ctaLabel">The label for the CTA button (required).</param>
78-
/// <param name="ctaDescription">The description for the CTA button (required).</param>
79-
/// <param name="ctaUrl">The URL for the CTA button (required).</param>
80-
/// <param name="ctaImage">The image for the CTA background (required).</param>
81-
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<string> tags = default(List<string>), List<string> categories = default(List<string>), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string ctaLabel = default(string), string ctaDescription = default(string), string ctaUrl = default(string), string ctaImage = default(string))
77+
/// <param name="label">The label for the CTA button (required).</param>
78+
/// <param name="description">The description for the CTA button (required).</param>
79+
/// <param name="url">The URL for the CTA button (required).</param>
80+
/// <param name="image">The image for the CTA background (required).</param>
81+
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<string> tags = default(List<string>), List<string> categories = default(List<string>), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum), string label = default(string), string description = default(string), string url = default(string), string image = default(string))
8282
{
8383
// to ensure "id" is required (not null)
8484
if (id == null)
@@ -101,30 +101,30 @@ protected FeedItemCTA() { }
101101
this.Priority = priority;
102102
this.GemsEarnable = gemsEarnable;
103103
this.Type = type;
104-
// to ensure "ctaLabel" is required (not null)
105-
if (ctaLabel == null)
104+
// to ensure "label" is required (not null)
105+
if (label == null)
106106
{
107-
throw new ArgumentNullException("ctaLabel is a required property for FeedItemCTA and cannot be null");
107+
throw new ArgumentNullException("label is a required property for FeedItemCTA and cannot be null");
108108
}
109-
this.CtaLabel = ctaLabel;
110-
// to ensure "ctaDescription" is required (not null)
111-
if (ctaDescription == null)
109+
this.Label = label;
110+
// to ensure "description" is required (not null)
111+
if (description == null)
112112
{
113-
throw new ArgumentNullException("ctaDescription is a required property for FeedItemCTA and cannot be null");
113+
throw new ArgumentNullException("description is a required property for FeedItemCTA and cannot be null");
114114
}
115-
this.CtaDescription = ctaDescription;
116-
// to ensure "ctaUrl" is required (not null)
117-
if (ctaUrl == null)
115+
this.Description = description;
116+
// to ensure "url" is required (not null)
117+
if (url == null)
118118
{
119-
throw new ArgumentNullException("ctaUrl is a required property for FeedItemCTA and cannot be null");
119+
throw new ArgumentNullException("url is a required property for FeedItemCTA and cannot be null");
120120
}
121-
this.CtaUrl = ctaUrl;
122-
// to ensure "ctaImage" is required (not null)
123-
if (ctaImage == null)
121+
this.Url = url;
122+
// to ensure "image" is required (not null)
123+
if (image == null)
124124
{
125-
throw new ArgumentNullException("ctaImage is a required property for FeedItemCTA and cannot be null");
125+
throw new ArgumentNullException("image is a required property for FeedItemCTA and cannot be null");
126126
}
127-
this.CtaImage = ctaImage;
127+
this.Image = image;
128128
this.Bypass = bypass;
129129
this.DayZero = dayZero;
130130
this.GameId = gameId;
@@ -230,29 +230,29 @@ protected FeedItemCTA() { }
230230
/// The label for the CTA button
231231
/// </summary>
232232
/// <value>The label for the CTA button</value>
233-
[DataMember(Name = "cta_label", IsRequired = true, EmitDefaultValue = true)]
234-
public string CtaLabel { get; set; }
233+
[DataMember(Name = "label", IsRequired = true, EmitDefaultValue = true)]
234+
public string Label { get; set; }
235235

236236
/// <summary>
237237
/// The description for the CTA button
238238
/// </summary>
239239
/// <value>The description for the CTA button</value>
240-
[DataMember(Name = "cta_description", IsRequired = true, EmitDefaultValue = true)]
241-
public string CtaDescription { get; set; }
240+
[DataMember(Name = "description", IsRequired = true, EmitDefaultValue = true)]
241+
public string Description { get; set; }
242242

243243
/// <summary>
244244
/// The URL for the CTA button
245245
/// </summary>
246246
/// <value>The URL for the CTA button</value>
247-
[DataMember(Name = "cta_url", IsRequired = true, EmitDefaultValue = true)]
248-
public string CtaUrl { get; set; }
247+
[DataMember(Name = "url", IsRequired = true, EmitDefaultValue = true)]
248+
public string Url { get; set; }
249249

250250
/// <summary>
251251
/// The image for the CTA background
252252
/// </summary>
253253
/// <value>The image for the CTA background</value>
254-
[DataMember(Name = "cta_image", IsRequired = true, EmitDefaultValue = true)]
255-
public string CtaImage { get; set; }
254+
[DataMember(Name = "image", IsRequired = true, EmitDefaultValue = true)]
255+
public string Image { get; set; }
256256

257257
/// <summary>
258258
/// Returns the string presentation of the object
@@ -276,10 +276,10 @@ public override string ToString()
276276
sb.Append(" Categories: ").Append(Categories).Append("\n");
277277
sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n");
278278
sb.Append(" Type: ").Append(Type).Append("\n");
279-
sb.Append(" CtaLabel: ").Append(CtaLabel).Append("\n");
280-
sb.Append(" CtaDescription: ").Append(CtaDescription).Append("\n");
281-
sb.Append(" CtaUrl: ").Append(CtaUrl).Append("\n");
282-
sb.Append(" CtaImage: ").Append(CtaImage).Append("\n");
279+
sb.Append(" Label: ").Append(Label).Append("\n");
280+
sb.Append(" Description: ").Append(Description).Append("\n");
281+
sb.Append(" Url: ").Append(Url).Append("\n");
282+
sb.Append(" Image: ").Append(Image).Append("\n");
283283
sb.Append("}\n");
284284
return sb.ToString();
285285
}

0 commit comments

Comments
 (0)