diff --git a/src/Packages/ZkEvmApi/Documentation~/CollectionsApi.md b/src/Packages/ZkEvmApi/Documentation~/CollectionsApi.md
index 9e1f1135c..50cf1954a 100644
--- a/src/Packages/ZkEvmApi/Documentation~/CollectionsApi.md
+++ b/src/Packages/ZkEvmApi/Documentation~/CollectionsApi.md
@@ -8,6 +8,7 @@ All URIs are relative to *https://api.sandbox.immutable.com*
| [**ListCollections**](CollectionsApi.md#listcollections) | **GET** /v1/chains/{chain_name}/collections | List all collections |
| [**ListCollectionsByNFTOwner**](CollectionsApi.md#listcollectionsbynftowner) | **GET** /v1/chains/{chain_name}/accounts/{account_address}/collections | List collections by NFT owner |
| [**RefreshCollectionMetadata**](CollectionsApi.md#refreshcollectionmetadata) | **POST** /v1/chains/{chain_name}/collections/{contract_address}/refresh-metadata | Refresh collection metadata |
+| [**RefreshCollectionMetadataInternal**](CollectionsApi.md#refreshcollectionmetadatainternal) | **POST** /v1/internal/chains/{chain_name}/environment/{environment}/collections/{contract_address}/refresh-metadata | Refresh collection metadata internal |
# **GetCollection**
@@ -418,3 +419,108 @@ catch (ApiException e)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+# **RefreshCollectionMetadataInternal**
+> RefreshCollectionMetadataResult RefreshCollectionMetadataInternal (string contractAddress, string chainName, string environment, RefreshCollectionMetadataRequest refreshCollectionMetadataRequest)
+
+Refresh collection metadata internal
+
+Refresh collection metadata internal
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Immutable.Api.ZkEvm.Api;
+using Immutable.Api.ZkEvm.Client;
+using Immutable.Api.ZkEvm.Model;
+
+namespace Example
+{
+ public class RefreshCollectionMetadataInternalExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "https://api.sandbox.immutable.com";
+ // Configure Bearer token for authorization: BearerAuthWithClient
+ config.AccessToken = "YOUR_BEARER_TOKEN";
+
+ var apiInstance = new CollectionsApi(config);
+ var contractAddress = 0x8a90cab2b38dba80c64b7734e58ee1db38b8992e; // string | The address contract
+ var chainName = imtbl-zkevm-testnet; // string | The name of chain
+ var environment = "environment_example"; // string | The environment of the collection
+ var refreshCollectionMetadataRequest = new RefreshCollectionMetadataRequest(); // RefreshCollectionMetadataRequest | The request body
+
+ try
+ {
+ // Refresh collection metadata internal
+ RefreshCollectionMetadataResult result = apiInstance.RefreshCollectionMetadataInternal(contractAddress, chainName, environment, refreshCollectionMetadataRequest);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling CollectionsApi.RefreshCollectionMetadataInternal: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the RefreshCollectionMetadataInternalWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Refresh collection metadata internal
+ ApiResponse response = apiInstance.RefreshCollectionMetadataInternalWithHttpInfo(contractAddress, chainName, environment, refreshCollectionMetadataRequest);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling CollectionsApi.RefreshCollectionMetadataInternalWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **contractAddress** | **string** | The address contract | |
+| **chainName** | **string** | The name of chain | |
+| **environment** | **string** | The environment of the collection | |
+| **refreshCollectionMetadataRequest** | [**RefreshCollectionMetadataRequest**](RefreshCollectionMetadataRequest.md) | The request body | |
+
+### Return type
+
+[**RefreshCollectionMetadataResult**](RefreshCollectionMetadataResult.md)
+
+### Authorization
+
+[BearerAuthWithClient](../README.md#BearerAuthWithClient)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | 200 response | - |
+| **400** | Bad Request (400) | - |
+| **401** | Unauthorised Request (401) | - |
+| **403** | Forbidden Request (403) | - |
+| **404** | The specified resource was not found (404) | - |
+| **500** | Internal Server Error (500) | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemBase.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemBase.md
index 3d051f559..14c4b4980 100644
--- a/src/Packages/ZkEvmApi/Documentation~/FeedItemBase.md
+++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemBase.md
@@ -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]
diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemBonusGems.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemBonusGems.md
new file mode 100644
index 000000000..1f5bc5654
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemBonusGems.md
@@ -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)
+
diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemCTA.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemCTA.md
index c71aaabfb..8dfb98ebf 100644
--- a/src/Packages/ZkEvmApi/Documentation~/FeedItemCTA.md
+++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemCTA.md
@@ -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]
@@ -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 |
diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemDailyGems.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemDailyGems.md
new file mode 100644
index 000000000..be18a7d91
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemDailyGems.md
@@ -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)
+
diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemLanding.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemLanding.md
new file mode 100644
index 000000000..34d794c49
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemLanding.md
@@ -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)
+
diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemPinToHome.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemPinToHome.md
new file mode 100644
index 000000000..a0c329faa
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemPinToHome.md
@@ -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)
+
diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemQuiz.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemQuiz.md
index c3b36d6e5..bfc597bf1 100644
--- a/src/Packages/ZkEvmApi/Documentation~/FeedItemQuiz.md
+++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemQuiz.md
@@ -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]
@@ -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 |
diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemReferral.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemReferral.md
new file mode 100644
index 000000000..ab94c80b3
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemReferral.md
@@ -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)
+
diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemReward.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemReward.md
new file mode 100644
index 000000000..40a8b2466
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemReward.md
@@ -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)
+
diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemSignIn.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemSignIn.md
index 58fbd9243..c23e2e45a 100644
--- a/src/Packages/ZkEvmApi/Documentation~/FeedItemSignIn.md
+++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemSignIn.md
@@ -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]
@@ -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 |
diff --git a/src/Packages/ZkEvmApi/Documentation~/FeedItemVideo.md b/src/Packages/ZkEvmApi/Documentation~/FeedItemVideo.md
index 49a8ec137..7cc525b5f 100644
--- a/src/Packages/ZkEvmApi/Documentation~/FeedItemVideo.md
+++ b/src/Packages/ZkEvmApi/Documentation~/FeedItemVideo.md
@@ -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]
@@ -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 |
diff --git a/src/Packages/ZkEvmApi/Runtime/Api/CollectionsApi.cs b/src/Packages/ZkEvmApi/Runtime/Api/CollectionsApi.cs
index 604344b3e..cb11fccb2 100644
--- a/src/Packages/ZkEvmApi/Runtime/Api/CollectionsApi.cs
+++ b/src/Packages/ZkEvmApi/Runtime/Api/CollectionsApi.cs
@@ -133,6 +133,33 @@ public interface ICollectionsApiSync : IApiAccessor
/// The request body
/// ApiResponse of RefreshCollectionMetadataResult
ApiResponse RefreshCollectionMetadataWithHttpInfo(string contractAddress, string chainName, RefreshCollectionMetadataRequest refreshCollectionMetadataRequest);
+ ///
+ /// Refresh collection metadata internal
+ ///
+ ///
+ /// Refresh collection metadata internal
+ ///
+ /// Thrown when fails to make API call
+ /// The address contract
+ /// The name of chain
+ /// The environment of the collection
+ /// The request body
+ /// RefreshCollectionMetadataResult
+ RefreshCollectionMetadataResult RefreshCollectionMetadataInternal(string contractAddress, string chainName, string environment, RefreshCollectionMetadataRequest refreshCollectionMetadataRequest);
+
+ ///
+ /// Refresh collection metadata internal
+ ///
+ ///
+ /// Refresh collection metadata internal
+ ///
+ /// Thrown when fails to make API call
+ /// The address contract
+ /// The name of chain
+ /// The environment of the collection
+ /// The request body
+ /// ApiResponse of RefreshCollectionMetadataResult
+ ApiResponse RefreshCollectionMetadataInternalWithHttpInfo(string contractAddress, string chainName, string environment, RefreshCollectionMetadataRequest refreshCollectionMetadataRequest);
#endregion Synchronous Operations
}
@@ -256,6 +283,35 @@ public interface ICollectionsApiAsync : IApiAccessor
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (RefreshCollectionMetadataResult)
System.Threading.Tasks.Task> RefreshCollectionMetadataWithHttpInfoAsync(string contractAddress, string chainName, RefreshCollectionMetadataRequest refreshCollectionMetadataRequest, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Refresh collection metadata internal
+ ///
+ ///
+ /// Refresh collection metadata internal
+ ///
+ /// Thrown when fails to make API call
+ /// The address contract
+ /// The name of chain
+ /// The environment of the collection
+ /// The request body
+ /// Cancellation Token to cancel the request.
+ /// Task of RefreshCollectionMetadataResult
+ System.Threading.Tasks.Task RefreshCollectionMetadataInternalAsync(string contractAddress, string chainName, string environment, RefreshCollectionMetadataRequest refreshCollectionMetadataRequest, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Refresh collection metadata internal
+ ///
+ ///
+ /// Refresh collection metadata internal
+ ///
+ /// Thrown when fails to make API call
+ /// The address contract
+ /// The name of chain
+ /// The environment of the collection
+ /// The request body
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (RefreshCollectionMetadataResult)
+ System.Threading.Tasks.Task> RefreshCollectionMetadataInternalWithHttpInfoAsync(string contractAddress, string chainName, string environment, RefreshCollectionMetadataRequest refreshCollectionMetadataRequest, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
#endregion Asynchronous Operations
}
@@ -1080,5 +1136,187 @@ public Immutable.Api.ZkEvm.Client.ApiResponse R
return localVarResponse;
}
+ ///
+ /// Refresh collection metadata internal Refresh collection metadata internal
+ ///
+ /// Thrown when fails to make API call
+ /// The address contract
+ /// The name of chain
+ /// The environment of the collection
+ /// The request body
+ /// RefreshCollectionMetadataResult
+ public RefreshCollectionMetadataResult RefreshCollectionMetadataInternal(string contractAddress, string chainName, string environment, RefreshCollectionMetadataRequest refreshCollectionMetadataRequest)
+ {
+ Immutable.Api.ZkEvm.Client.ApiResponse localVarResponse = RefreshCollectionMetadataInternalWithHttpInfo(contractAddress, chainName, environment, refreshCollectionMetadataRequest);
+ return localVarResponse.Data;
+ }
+
+ ///
+ /// Refresh collection metadata internal Refresh collection metadata internal
+ ///
+ /// Thrown when fails to make API call
+ /// The address contract
+ /// The name of chain
+ /// The environment of the collection
+ /// The request body
+ /// ApiResponse of RefreshCollectionMetadataResult
+ public Immutable.Api.ZkEvm.Client.ApiResponse RefreshCollectionMetadataInternalWithHttpInfo(string contractAddress, string chainName, string environment, RefreshCollectionMetadataRequest refreshCollectionMetadataRequest)
+ {
+ // verify the required parameter 'contractAddress' is set
+ if (contractAddress == null)
+ throw new Immutable.Api.ZkEvm.Client.ApiException(400, "Missing required parameter 'contractAddress' when calling CollectionsApi->RefreshCollectionMetadataInternal");
+
+ // verify the required parameter 'chainName' is set
+ if (chainName == null)
+ throw new Immutable.Api.ZkEvm.Client.ApiException(400, "Missing required parameter 'chainName' when calling CollectionsApi->RefreshCollectionMetadataInternal");
+
+ // verify the required parameter 'environment' is set
+ if (environment == null)
+ throw new Immutable.Api.ZkEvm.Client.ApiException(400, "Missing required parameter 'environment' when calling CollectionsApi->RefreshCollectionMetadataInternal");
+
+ // verify the required parameter 'refreshCollectionMetadataRequest' is set
+ if (refreshCollectionMetadataRequest == null)
+ throw new Immutable.Api.ZkEvm.Client.ApiException(400, "Missing required parameter 'refreshCollectionMetadataRequest' when calling CollectionsApi->RefreshCollectionMetadataInternal");
+
+ Immutable.Api.ZkEvm.Client.RequestOptions localVarRequestOptions = new Immutable.Api.ZkEvm.Client.RequestOptions();
+
+ string[] _contentTypes = new string[] {
+ "application/json"
+ };
+
+ // to determine the Accept header
+ string[] _accepts = new string[] {
+ "application/json"
+ };
+
+ var localVarContentType = Immutable.Api.ZkEvm.Client.ClientUtils.SelectHeaderContentType(_contentTypes);
+ if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
+
+ var localVarAccept = Immutable.Api.ZkEvm.Client.ClientUtils.SelectHeaderAccept(_accepts);
+ if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
+
+ localVarRequestOptions.PathParameters.Add("contract_address", Immutable.Api.ZkEvm.Client.ClientUtils.ParameterToString(contractAddress)); // path parameter
+ localVarRequestOptions.PathParameters.Add("chain_name", Immutable.Api.ZkEvm.Client.ClientUtils.ParameterToString(chainName)); // path parameter
+ localVarRequestOptions.PathParameters.Add("environment", Immutable.Api.ZkEvm.Client.ClientUtils.ParameterToString(environment)); // path parameter
+ localVarRequestOptions.Data = refreshCollectionMetadataRequest;
+
+ // authentication (BearerAuthWithClient) required
+ // bearer authentication required
+ if (!string.IsNullOrEmpty(this.Configuration.AccessToken) && !localVarRequestOptions.HeaderParameters.ContainsKey("Authorization"))
+ {
+ localVarRequestOptions.HeaderParameters.Add("Authorization", "Bearer " + this.Configuration.AccessToken);
+ }
+
+ // make the HTTP request
+ var localVarResponse = this.Client.Post("/v1/internal/chains/{chain_name}/environment/{environment}/collections/{contract_address}/refresh-metadata", localVarRequestOptions, this.Configuration);
+
+ if (this.ExceptionFactory != null)
+ {
+ Exception _exception = this.ExceptionFactory("RefreshCollectionMetadataInternal", localVarResponse);
+ if (_exception != null) throw _exception;
+ }
+
+ return localVarResponse;
+ }
+
+ ///
+ /// Refresh collection metadata internal Refresh collection metadata internal
+ ///
+ /// Thrown when fails to make API call
+ /// The address contract
+ /// The name of chain
+ /// The environment of the collection
+ /// The request body
+ /// Cancellation Token to cancel the request.
+ /// Task of RefreshCollectionMetadataResult
+ public async System.Threading.Tasks.Task RefreshCollectionMetadataInternalAsync(string contractAddress, string chainName, string environment, RefreshCollectionMetadataRequest refreshCollectionMetadataRequest, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ var task = RefreshCollectionMetadataInternalWithHttpInfoAsync(contractAddress, chainName, environment, refreshCollectionMetadataRequest, cancellationToken);
+#if UNITY_EDITOR || !UNITY_WEBGL
+ Immutable.Api.ZkEvm.Client.ApiResponse localVarResponse = await task.ConfigureAwait(false);
+#else
+ Immutable.Api.ZkEvm.Client.ApiResponse localVarResponse = await task;
+#endif
+ return localVarResponse.Data;
+ }
+
+ ///
+ /// Refresh collection metadata internal Refresh collection metadata internal
+ ///
+ /// Thrown when fails to make API call
+ /// The address contract
+ /// The name of chain
+ /// The environment of the collection
+ /// The request body
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (RefreshCollectionMetadataResult)
+ public async System.Threading.Tasks.Task> RefreshCollectionMetadataInternalWithHttpInfoAsync(string contractAddress, string chainName, string environment, RefreshCollectionMetadataRequest refreshCollectionMetadataRequest, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ // verify the required parameter 'contractAddress' is set
+ if (contractAddress == null)
+ throw new Immutable.Api.ZkEvm.Client.ApiException(400, "Missing required parameter 'contractAddress' when calling CollectionsApi->RefreshCollectionMetadataInternal");
+
+ // verify the required parameter 'chainName' is set
+ if (chainName == null)
+ throw new Immutable.Api.ZkEvm.Client.ApiException(400, "Missing required parameter 'chainName' when calling CollectionsApi->RefreshCollectionMetadataInternal");
+
+ // verify the required parameter 'environment' is set
+ if (environment == null)
+ throw new Immutable.Api.ZkEvm.Client.ApiException(400, "Missing required parameter 'environment' when calling CollectionsApi->RefreshCollectionMetadataInternal");
+
+ // verify the required parameter 'refreshCollectionMetadataRequest' is set
+ if (refreshCollectionMetadataRequest == null)
+ throw new Immutable.Api.ZkEvm.Client.ApiException(400, "Missing required parameter 'refreshCollectionMetadataRequest' when calling CollectionsApi->RefreshCollectionMetadataInternal");
+
+
+ Immutable.Api.ZkEvm.Client.RequestOptions localVarRequestOptions = new Immutable.Api.ZkEvm.Client.RequestOptions();
+
+ string[] _contentTypes = new string[] {
+ "application/json"
+ };
+
+ // to determine the Accept header
+ string[] _accepts = new string[] {
+ "application/json"
+ };
+
+
+ var localVarContentType = Immutable.Api.ZkEvm.Client.ClientUtils.SelectHeaderContentType(_contentTypes);
+ if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
+
+ var localVarAccept = Immutable.Api.ZkEvm.Client.ClientUtils.SelectHeaderAccept(_accepts);
+ if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
+
+ localVarRequestOptions.PathParameters.Add("contract_address", Immutable.Api.ZkEvm.Client.ClientUtils.ParameterToString(contractAddress)); // path parameter
+ localVarRequestOptions.PathParameters.Add("chain_name", Immutable.Api.ZkEvm.Client.ClientUtils.ParameterToString(chainName)); // path parameter
+ localVarRequestOptions.PathParameters.Add("environment", Immutable.Api.ZkEvm.Client.ClientUtils.ParameterToString(environment)); // path parameter
+ localVarRequestOptions.Data = refreshCollectionMetadataRequest;
+
+ // authentication (BearerAuthWithClient) required
+ // bearer authentication required
+ if (!string.IsNullOrEmpty(this.Configuration.AccessToken) && !localVarRequestOptions.HeaderParameters.ContainsKey("Authorization"))
+ {
+ localVarRequestOptions.HeaderParameters.Add("Authorization", "Bearer " + this.Configuration.AccessToken);
+ }
+
+ // make the HTTP request
+
+ var task = this.AsynchronousClient.PostAsync("/v1/internal/chains/{chain_name}/environment/{environment}/collections/{contract_address}/refresh-metadata", localVarRequestOptions, this.Configuration, cancellationToken);
+
+#if UNITY_EDITOR || !UNITY_WEBGL
+ var localVarResponse = await task.ConfigureAwait(false);
+#else
+ var localVarResponse = await task;
+#endif
+
+ if (this.ExceptionFactory != null)
+ {
+ Exception _exception = this.ExceptionFactory("RefreshCollectionMetadataInternal", localVarResponse);
+ if (_exception != null) throw _exception;
+ }
+
+ return localVarResponse;
+ }
+
}
}
diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBase.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBase.cs
index 446f5d8e8..09741f7aa 100644
--- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBase.cs
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBase.cs
@@ -43,9 +43,7 @@ protected FeedItemBase() { }
/// Feed item name (required).
/// Quest ID (required).
/// Feed item priority (required).
- /// Feed item type (required).
/// Amount of gems earnable when user completes the quest (required).
- /// Feed item status, e.g., enabled, disabled, archived, deleted (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.
@@ -54,7 +52,7 @@ protected FeedItemBase() { }
/// The tags for the feed item.
/// 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), 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 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), string gameId = default(string), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string))
{
// to ensure "id" is required (not null)
if (id == null)
@@ -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;
@@ -126,13 +112,6 @@ protected FeedItemBase() { }
[DataMember(Name = "priority", IsRequired = true, EmitDefaultValue = true)]
public int Priority { get; set; }
- ///
- /// Feed item type
- ///
- /// Feed item type
- [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
- public string Type { get; set; }
-
///
/// Amount of gems earnable when user completes the quest
///
@@ -140,13 +119,6 @@ protected FeedItemBase() { }
[DataMember(Name = "gems_earnable", IsRequired = true, EmitDefaultValue = true)]
public int GemsEarnable { get; set; }
- ///
- /// Feed item status, e.g., enabled, disabled, archived, deleted
- ///
- /// Feed item status, e.g., enabled, disabled, archived, deleted
- [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
- public string Status { get; set; }
-
///
/// If the quest is bypassed, the user will not be able to see it on the feed
///
@@ -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");
diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBonusGems.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBonusGems.cs
new file mode 100644
index 000000000..40cab1c3e
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBonusGems.cs
@@ -0,0 +1,238 @@
+/*
+ * 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
+{
+ ///
+ /// FeedItemBonusGems
+ ///
+ [DataContract(Name = "FeedItemBonusGems")]
+ public partial class FeedItemBonusGems
+ {
+ ///
+ /// Feed item type
+ ///
+ /// Feed item type
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum TypeEnum
+ {
+ ///
+ /// Enum Bonusgems for value: bonusgems
+ ///
+ [EnumMember(Value = "bonusgems")]
+ Bonusgems = 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 FeedItemBonusGems() { }
+ ///
+ /// 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.
+ /// 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), string gameId = default(string), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum))
+ {
+ // to ensure "id" is required (not null)
+ if (id == null)
+ {
+ throw new ArgumentNullException("id is a required property for FeedItemBonusGems 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 FeedItemBonusGems 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 FeedItemBonusGems and cannot be null");
+ }
+ this.QuestId = questId;
+ this.Priority = priority;
+ this.GemsEarnable = gemsEarnable;
+ this.Type = type;
+ this.Bypass = bypass;
+ this.DayZero = dayZero;
+ this.GameId = gameId;
+ this.GameName = gameName;
+ this.QuestCompletedPopupText = questCompletedPopupText;
+ this.Tags = tags;
+ 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 string 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; }
+
+ ///
+ /// 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; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class FeedItemBonusGems {\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(" Categories: ").Append(Categories).Append("\n");
+ sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n");
+ sb.Append(" Type: ").Append(Type).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/FeedItemBonusGems.cs.meta b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBonusGems.cs.meta
new file mode 100644
index 000000000..229c800e8
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemBonusGems.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9d51437a8b66f0af9ae1f4b15e0e713d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemCTA.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemCTA.cs
index 6f465db62..568b2c464 100644
--- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemCTA.cs
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemCTA.cs
@@ -31,6 +31,27 @@ namespace Immutable.Api.ZkEvm.Model
[DataContract(Name = "FeedItemCTA")]
public partial class FeedItemCTA
{
+ ///
+ /// Feed item type
+ ///
+ /// Feed item type
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum TypeEnum
+ {
+ ///
+ /// Enum Cta for value: cta
+ ///
+ [EnumMember(Value = "cta")]
+ Cta = 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.
///
@@ -43,9 +64,7 @@ protected FeedItemCTA() { }
/// Feed item name (required).
/// Quest ID (required).
/// Feed item priority (required).
- /// Feed item type (required).
/// Amount of gems earnable when user completes the quest (required).
- /// Feed item status, e.g., enabled, disabled, archived, deleted (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.
@@ -54,11 +73,12 @@ protected FeedItemCTA() { }
/// The tags for the feed item.
/// The categories for the feed item.
/// The onboarding experience for the feed item.
+ /// Feed item type (required).
/// The label for the CTA button (required).
/// 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), 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 tags = default(List), List categories = default(List), string onboardingExperience = default(string), string ctaLabel = default(string), string ctaDescription = default(string), string ctaUrl = default(string), string ctaImage = 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), string gameId = default(string), 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 ctaLabel = default(string), string ctaDescription = default(string), string ctaUrl = default(string), string ctaImage = default(string))
{
// to ensure "id" is required (not null)
if (id == null)
@@ -79,19 +99,8 @@ protected FeedItemCTA() { }
}
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 FeedItemCTA 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 FeedItemCTA and cannot be null");
- }
- this.Status = status;
+ this.Type = type;
// to ensure "ctaLabel" is required (not null)
if (ctaLabel == null)
{
@@ -154,13 +163,6 @@ protected FeedItemCTA() { }
[DataMember(Name = "priority", IsRequired = true, EmitDefaultValue = true)]
public int Priority { get; set; }
- ///
- /// Feed item type
- ///
- /// Feed item type
- [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
- public string Type { get; set; }
-
///
/// Amount of gems earnable when user completes the quest
///
@@ -168,13 +170,6 @@ protected FeedItemCTA() { }
[DataMember(Name = "gems_earnable", IsRequired = true, EmitDefaultValue = true)]
public int GemsEarnable { get; set; }
- ///
- /// Feed item status, e.g., enabled, disabled, archived, deleted
- ///
- /// Feed item status, e.g., enabled, disabled, archived, deleted
- [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
- public string Status { get; set; }
-
///
/// If the quest is bypassed, the user will not be able to see it on the feed
///
@@ -271,9 +266,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");
@@ -282,6 +275,7 @@ public override string ToString()
sb.Append(" Tags: ").Append(Tags).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(" CtaLabel: ").Append(CtaLabel).Append("\n");
sb.Append(" CtaDescription: ").Append(CtaDescription).Append("\n");
sb.Append(" CtaUrl: ").Append(CtaUrl).Append("\n");
diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemDailyGems.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemDailyGems.cs
new file mode 100644
index 000000000..e4f70cfa1
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemDailyGems.cs
@@ -0,0 +1,238 @@
+/*
+ * 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
+{
+ ///
+ /// FeedItemDailyGems
+ ///
+ [DataContract(Name = "FeedItemDailyGems")]
+ public partial class FeedItemDailyGems
+ {
+ ///
+ /// Feed item type
+ ///
+ /// Feed item type
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum TypeEnum
+ {
+ ///
+ /// Enum Dailygems for value: dailygems
+ ///
+ [EnumMember(Value = "dailygems")]
+ Dailygems = 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 FeedItemDailyGems() { }
+ ///
+ /// 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.
+ /// 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), string gameId = default(string), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum))
+ {
+ // to ensure "id" is required (not null)
+ if (id == null)
+ {
+ throw new ArgumentNullException("id is a required property for FeedItemDailyGems 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 FeedItemDailyGems 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 FeedItemDailyGems and cannot be null");
+ }
+ this.QuestId = questId;
+ this.Priority = priority;
+ this.GemsEarnable = gemsEarnable;
+ this.Type = type;
+ this.Bypass = bypass;
+ this.DayZero = dayZero;
+ this.GameId = gameId;
+ this.GameName = gameName;
+ this.QuestCompletedPopupText = questCompletedPopupText;
+ this.Tags = tags;
+ 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 string 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; }
+
+ ///
+ /// 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; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class FeedItemDailyGems {\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(" Categories: ").Append(Categories).Append("\n");
+ sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n");
+ sb.Append(" Type: ").Append(Type).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/FeedItemDailyGems.cs.meta b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemDailyGems.cs.meta
new file mode 100644
index 000000000..bbe504401
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemDailyGems.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 38dba84dc0b3135559fdae635e1069a5
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemLanding.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemLanding.cs
new file mode 100644
index 000000000..fac13014f
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemLanding.cs
@@ -0,0 +1,238 @@
+/*
+ * 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
+{
+ ///
+ /// FeedItemLanding
+ ///
+ [DataContract(Name = "FeedItemLanding")]
+ public partial class FeedItemLanding
+ {
+ ///
+ /// Feed item type
+ ///
+ /// Feed item type
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum TypeEnum
+ {
+ ///
+ /// Enum Landing for value: landing
+ ///
+ [EnumMember(Value = "landing")]
+ Landing = 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 FeedItemLanding() { }
+ ///
+ /// 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.
+ /// 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), string gameId = default(string), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum))
+ {
+ // to ensure "id" is required (not null)
+ if (id == null)
+ {
+ throw new ArgumentNullException("id is a required property for FeedItemLanding 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 FeedItemLanding 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 FeedItemLanding and cannot be null");
+ }
+ this.QuestId = questId;
+ this.Priority = priority;
+ this.GemsEarnable = gemsEarnable;
+ this.Type = type;
+ this.Bypass = bypass;
+ this.DayZero = dayZero;
+ this.GameId = gameId;
+ this.GameName = gameName;
+ this.QuestCompletedPopupText = questCompletedPopupText;
+ this.Tags = tags;
+ 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 string 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; }
+
+ ///
+ /// 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; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class FeedItemLanding {\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(" Categories: ").Append(Categories).Append("\n");
+ sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n");
+ sb.Append(" Type: ").Append(Type).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/FeedItemLanding.cs.meta b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemLanding.cs.meta
new file mode 100644
index 000000000..6fb3253e5
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemLanding.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 199c17bd8a0644702a506376809b54d8
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemPinToHome.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemPinToHome.cs
new file mode 100644
index 000000000..d09084bd0
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemPinToHome.cs
@@ -0,0 +1,238 @@
+/*
+ * 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
+{
+ ///
+ /// FeedItemPinToHome
+ ///
+ [DataContract(Name = "FeedItemPinToHome")]
+ public partial class FeedItemPinToHome
+ {
+ ///
+ /// Feed item type
+ ///
+ /// Feed item type
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum TypeEnum
+ {
+ ///
+ /// Enum Pintohome for value: pintohome
+ ///
+ [EnumMember(Value = "pintohome")]
+ Pintohome = 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 FeedItemPinToHome() { }
+ ///
+ /// 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.
+ /// 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), string gameId = default(string), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum))
+ {
+ // to ensure "id" is required (not null)
+ if (id == null)
+ {
+ throw new ArgumentNullException("id is a required property for FeedItemPinToHome 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 FeedItemPinToHome 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 FeedItemPinToHome and cannot be null");
+ }
+ this.QuestId = questId;
+ this.Priority = priority;
+ this.GemsEarnable = gemsEarnable;
+ this.Type = type;
+ this.Bypass = bypass;
+ this.DayZero = dayZero;
+ this.GameId = gameId;
+ this.GameName = gameName;
+ this.QuestCompletedPopupText = questCompletedPopupText;
+ this.Tags = tags;
+ 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 string 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; }
+
+ ///
+ /// 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; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class FeedItemPinToHome {\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(" Categories: ").Append(Categories).Append("\n");
+ sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n");
+ sb.Append(" Type: ").Append(Type).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/FeedItemPinToHome.cs.meta b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemPinToHome.cs.meta
new file mode 100644
index 000000000..eb0e49ed1
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemPinToHome.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 074dd28ddfea84cf38bb08b22cacdab8
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemQuiz.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemQuiz.cs
index 29628d84c..d2c8c5fb6 100644
--- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemQuiz.cs
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemQuiz.cs
@@ -31,6 +31,27 @@ namespace Immutable.Api.ZkEvm.Model
[DataContract(Name = "FeedItemQuiz")]
public partial class FeedItemQuiz
{
+ ///
+ /// Feed item type
+ ///
+ /// Feed item type
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum TypeEnum
+ {
+ ///
+ /// Enum Quiz for value: quiz
+ ///
+ [EnumMember(Value = "quiz")]
+ Quiz = 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.
///
@@ -43,9 +64,7 @@ protected FeedItemQuiz() { }
/// Feed item name (required).
/// Quest ID (required).
/// Feed item priority (required).
- /// Feed item type (required).
/// Amount of gems earnable when user completes the quest (required).
- /// Feed item status, e.g., enabled, disabled, archived, deleted (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.
@@ -54,6 +73,7 @@ protected FeedItemQuiz() { }
/// The tags for the feed item.
/// The categories for the feed item.
/// The onboarding experience for the feed item.
+ /// Feed item type (required).
/// URL of the quiz header video.
/// URL of the quiz logo.
/// The quiz question (required).
@@ -62,7 +82,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), 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 tags = default(List), List categories = default(List), string onboardingExperience = default(string), string quizHeaderVideoUrl = default(string), string quizLogo = default(string), string quizQuestion = default(string), List quizAnswers = default(List), List quizCorrectAnswers = default(List), string quizCorrectAnswerText = default(string), string quizHeaderInitialImage = default(string), string quizHeaderAnsweredImage = 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), string gameId = default(string), 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 quizHeaderVideoUrl = default(string), string quizLogo = default(string), string quizQuestion = default(string), List quizAnswers = default(List), List quizCorrectAnswers = default(List), string quizCorrectAnswerText = default(string), string quizHeaderInitialImage = default(string), string quizHeaderAnsweredImage = default(string))
{
// to ensure "id" is required (not null)
if (id == null)
@@ -83,19 +103,8 @@ protected FeedItemQuiz() { }
}
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 FeedItemQuiz 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 FeedItemQuiz and cannot be null");
- }
- this.Status = status;
+ this.Type = type;
// to ensure "quizQuestion" is required (not null)
if (quizQuestion == null)
{
@@ -157,13 +166,6 @@ protected FeedItemQuiz() { }
[DataMember(Name = "priority", IsRequired = true, EmitDefaultValue = true)]
public int Priority { get; set; }
- ///
- /// Feed item type
- ///
- /// Feed item type
- [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
- public string Type { get; set; }
-
///
/// Amount of gems earnable when user completes the quest
///
@@ -171,13 +173,6 @@ protected FeedItemQuiz() { }
[DataMember(Name = "gems_earnable", IsRequired = true, EmitDefaultValue = true)]
public int GemsEarnable { get; set; }
- ///
- /// Feed item status, e.g., enabled, disabled, archived, deleted
- ///
- /// Feed item status, e.g., enabled, disabled, archived, deleted
- [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
- public string Status { get; set; }
-
///
/// If the quest is bypassed, the user will not be able to see it on the feed
///
@@ -302,9 +297,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");
@@ -313,6 +306,7 @@ public override string ToString()
sb.Append(" Tags: ").Append(Tags).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(" QuizHeaderVideoUrl: ").Append(QuizHeaderVideoUrl).Append("\n");
sb.Append(" QuizLogo: ").Append(QuizLogo).Append("\n");
sb.Append(" QuizQuestion: ").Append(QuizQuestion).Append("\n");
diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReferral.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReferral.cs
new file mode 100644
index 000000000..2830795d4
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReferral.cs
@@ -0,0 +1,238 @@
+/*
+ * 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
+{
+ ///
+ /// FeedItemReferral
+ ///
+ [DataContract(Name = "FeedItemReferral")]
+ public partial class FeedItemReferral
+ {
+ ///
+ /// Feed item type
+ ///
+ /// Feed item type
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum TypeEnum
+ {
+ ///
+ /// Enum Referral for value: referral
+ ///
+ [EnumMember(Value = "referral")]
+ Referral = 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 FeedItemReferral() { }
+ ///
+ /// 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.
+ /// 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), string gameId = default(string), string gameName = default(string), string questCompletedPopupText = default(string), List tags = default(List), List categories = default(List), string onboardingExperience = default(string), TypeEnum type = default(TypeEnum))
+ {
+ // to ensure "id" is required (not null)
+ if (id == null)
+ {
+ throw new ArgumentNullException("id is a required property for FeedItemReferral 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 FeedItemReferral 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 FeedItemReferral and cannot be null");
+ }
+ this.QuestId = questId;
+ this.Priority = priority;
+ this.GemsEarnable = gemsEarnable;
+ this.Type = type;
+ this.Bypass = bypass;
+ this.DayZero = dayZero;
+ this.GameId = gameId;
+ this.GameName = gameName;
+ this.QuestCompletedPopupText = questCompletedPopupText;
+ this.Tags = tags;
+ 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 string 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; }
+
+ ///
+ /// 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; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class FeedItemReferral {\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(" Categories: ").Append(Categories).Append("\n");
+ sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n");
+ sb.Append(" Type: ").Append(Type).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/FeedItemReferral.cs.meta b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReferral.cs.meta
new file mode 100644
index 000000000..297bb506d
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReferral.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 391059d3a9f731488b6976aaca2a97f4
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReward.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReward.cs
new file mode 100644
index 000000000..551cafa8a
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReward.cs
@@ -0,0 +1,328 @@
+/*
+ * 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
+{
+ ///
+ /// FeedItemReward
+ ///
+ [DataContract(Name = "FeedItemReward")]
+ public partial class FeedItemReward
+ {
+ ///
+ /// Feed item type
+ ///
+ /// Feed item type
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum TypeEnum
+ {
+ ///
+ /// Enum Reward for value: reward
+ ///
+ [EnumMember(Value = "reward")]
+ Reward = 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 FeedItemReward() { }
+ ///
+ /// 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.
+ /// The categories for the feed item.
+ /// The onboarding experience for the feed item.
+ /// Feed item type (required).
+ /// The label for the CTA button (required).
+ /// The description for the CTA button (required).
+ /// The URL for the CTA button (required).
+ /// 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), string gameId = default(string), 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 ctaLabel = default(string), string ctaDescription = default(string), string ctaUrl = default(string), string ctaImage = default(string), string signInRedirectUrl = default(string), string signInBackground = default(string))
+ {
+ // to ensure "id" is required (not null)
+ if (id == null)
+ {
+ throw new ArgumentNullException("id is a required property for FeedItemReward 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 FeedItemReward 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 FeedItemReward and cannot be null");
+ }
+ this.QuestId = questId;
+ this.Priority = priority;
+ this.GemsEarnable = gemsEarnable;
+ this.Type = type;
+ // to ensure "ctaLabel" is required (not null)
+ if (ctaLabel == null)
+ {
+ throw new ArgumentNullException("ctaLabel is a required property for FeedItemReward and cannot be null");
+ }
+ this.CtaLabel = ctaLabel;
+ // to ensure "ctaDescription" is required (not null)
+ if (ctaDescription == null)
+ {
+ throw new ArgumentNullException("ctaDescription is a required property for FeedItemReward and cannot be null");
+ }
+ this.CtaDescription = ctaDescription;
+ // to ensure "ctaUrl" is required (not null)
+ if (ctaUrl == null)
+ {
+ throw new ArgumentNullException("ctaUrl is a required property for FeedItemReward and cannot be null");
+ }
+ this.CtaUrl = ctaUrl;
+ // to ensure "ctaImage" is required (not null)
+ if (ctaImage == null)
+ {
+ throw new ArgumentNullException("ctaImage is a required property for FeedItemReward and cannot be null");
+ }
+ this.CtaImage = ctaImage;
+ // to ensure "signInRedirectUrl" is required (not null)
+ if (signInRedirectUrl == null)
+ {
+ throw new ArgumentNullException("signInRedirectUrl is a required property for FeedItemReward and cannot be null");
+ }
+ this.SignInRedirectUrl = signInRedirectUrl;
+ // to ensure "signInBackground" is required (not null)
+ if (signInBackground == null)
+ {
+ throw new ArgumentNullException("signInBackground is a required property for FeedItemReward and cannot be null");
+ }
+ this.SignInBackground = signInBackground;
+ this.Bypass = bypass;
+ this.DayZero = dayZero;
+ this.GameId = gameId;
+ this.GameName = gameName;
+ this.QuestCompletedPopupText = questCompletedPopupText;
+ this.Tags = tags;
+ 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 string 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; }
+
+ ///
+ /// 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; }
+
+ ///
+ /// The label for the CTA button
+ ///
+ /// The label for the CTA button
+ [DataMember(Name = "cta_label", IsRequired = true, EmitDefaultValue = true)]
+ public string CtaLabel { get; set; }
+
+ ///
+ /// The description for the CTA button
+ ///
+ /// The description for the CTA button
+ [DataMember(Name = "cta_description", IsRequired = true, EmitDefaultValue = true)]
+ public string CtaDescription { get; set; }
+
+ ///
+ /// The URL for the CTA button
+ ///
+ /// The URL for the CTA button
+ [DataMember(Name = "cta_url", IsRequired = true, EmitDefaultValue = true)]
+ public string CtaUrl { get; set; }
+
+ ///
+ /// The image for the CTA background
+ ///
+ /// The image for the CTA background
+ [DataMember(Name = "cta_image", IsRequired = true, EmitDefaultValue = true)]
+ public string CtaImage { get; set; }
+
+ ///
+ /// The URL to redirect to when the user completes the sign in quest
+ ///
+ /// The URL to redirect to when the user completes the sign in quest
+ [DataMember(Name = "sign_in_redirect_url", IsRequired = true, EmitDefaultValue = true)]
+ public string SignInRedirectUrl { get; set; }
+
+ ///
+ /// The background for the sign in quest
+ ///
+ /// The background for the sign in quest
+ [DataMember(Name = "sign_in_background", IsRequired = true, EmitDefaultValue = true)]
+ public string SignInBackground { 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 FeedItemReward {\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(" Categories: ").Append(Categories).Append("\n");
+ sb.Append(" OnboardingExperience: ").Append(OnboardingExperience).Append("\n");
+ sb.Append(" Type: ").Append(Type).Append("\n");
+ sb.Append(" CtaLabel: ").Append(CtaLabel).Append("\n");
+ sb.Append(" CtaDescription: ").Append(CtaDescription).Append("\n");
+ sb.Append(" CtaUrl: ").Append(CtaUrl).Append("\n");
+ sb.Append(" CtaImage: ").Append(CtaImage).Append("\n");
+ sb.Append(" SignInRedirectUrl: ").Append(SignInRedirectUrl).Append("\n");
+ sb.Append(" SignInBackground: ").Append(SignInBackground).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/FeedItemReward.cs.meta b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReward.cs.meta
new file mode 100644
index 000000000..52ed80394
--- /dev/null
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemReward.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 94ba57ad230f585ccae63c35a3acd21d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemSignIn.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemSignIn.cs
index 93f6f1a68..531bb6f0f 100644
--- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemSignIn.cs
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemSignIn.cs
@@ -31,6 +31,27 @@ namespace Immutable.Api.ZkEvm.Model
[DataContract(Name = "FeedItemSignIn")]
public partial class FeedItemSignIn
{
+ ///
+ /// Feed item type
+ ///
+ /// Feed item type
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum TypeEnum
+ {
+ ///
+ /// Enum Signin for value: signin
+ ///
+ [EnumMember(Value = "signin")]
+ Signin = 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.
///
@@ -43,9 +64,7 @@ protected FeedItemSignIn() { }
/// Feed item name (required).
/// Quest ID (required).
/// Feed item priority (required).
- /// Feed item type (required).
/// Amount of gems earnable when user completes the quest (required).
- /// Feed item status, e.g., enabled, disabled, archived, deleted (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.
@@ -54,13 +73,14 @@ protected FeedItemSignIn() { }
/// The tags for the feed item.
/// The categories for the feed item.
/// The onboarding experience for the feed item.
+ /// Feed item type (required).
/// The label for the CTA button (required).
/// The description for the CTA button (required).
/// The URL for the CTA button (required).
/// 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), 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 tags = default(List), List categories = default(List), string onboardingExperience = default(string), string ctaLabel = default(string), string ctaDescription = default(string), string ctaUrl = default(string), string ctaImage = default(string), string signInRedirectUrl = default(string), string signInBackground = 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), string gameId = default(string), 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 ctaLabel = default(string), string ctaDescription = default(string), string ctaUrl = default(string), string ctaImage = default(string), string signInRedirectUrl = default(string), string signInBackground = default(string))
{
// to ensure "id" is required (not null)
if (id == null)
@@ -81,19 +101,8 @@ protected FeedItemSignIn() { }
}
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 FeedItemSignIn 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 FeedItemSignIn and cannot be null");
- }
- this.Status = status;
+ this.Type = type;
// to ensure "ctaLabel" is required (not null)
if (ctaLabel == null)
{
@@ -168,13 +177,6 @@ protected FeedItemSignIn() { }
[DataMember(Name = "priority", IsRequired = true, EmitDefaultValue = true)]
public int Priority { get; set; }
- ///
- /// Feed item type
- ///
- /// Feed item type
- [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
- public string Type { get; set; }
-
///
/// Amount of gems earnable when user completes the quest
///
@@ -182,13 +184,6 @@ protected FeedItemSignIn() { }
[DataMember(Name = "gems_earnable", IsRequired = true, EmitDefaultValue = true)]
public int GemsEarnable { get; set; }
- ///
- /// Feed item status, e.g., enabled, disabled, archived, deleted
- ///
- /// Feed item status, e.g., enabled, disabled, archived, deleted
- [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
- public string Status { get; set; }
-
///
/// If the quest is bypassed, the user will not be able to see it on the feed
///
@@ -299,9 +294,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");
@@ -310,6 +303,7 @@ public override string ToString()
sb.Append(" Tags: ").Append(Tags).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(" CtaLabel: ").Append(CtaLabel).Append("\n");
sb.Append(" CtaDescription: ").Append(CtaDescription).Append("\n");
sb.Append(" CtaUrl: ").Append(CtaUrl).Append("\n");
diff --git a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemVideo.cs b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemVideo.cs
index 824edc6ff..1f3ba373d 100644
--- a/src/Packages/ZkEvmApi/Runtime/Model/FeedItemVideo.cs
+++ b/src/Packages/ZkEvmApi/Runtime/Model/FeedItemVideo.cs
@@ -31,6 +31,27 @@ namespace Immutable.Api.ZkEvm.Model
[DataContract(Name = "FeedItemVideo")]
public partial class FeedItemVideo
{
+ ///
+ /// Feed item type
+ ///
+ /// Feed item type
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum TypeEnum
+ {
+ ///
+ /// Enum Video for value: video
+ ///
+ [EnumMember(Value = "video")]
+ Video = 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.
///
@@ -43,9 +64,7 @@ protected FeedItemVideo() { }
/// Feed item name (required).
/// Quest ID (required).
/// Feed item priority (required).
- /// Feed item type (required).
/// Amount of gems earnable when user completes the quest (required).
- /// Feed item status, e.g., enabled, disabled, archived, deleted (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.
@@ -54,9 +73,10 @@ protected FeedItemVideo() { }
/// The tags for the feed item.
/// 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), 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 tags = default(List), List categories = default(List), string onboardingExperience = default(string), string videoTitle = default(string), string videoUrl = 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), string gameId = default(string), 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 videoTitle = default(string), string videoUrl = default(string))
{
// to ensure "id" is required (not null)
if (id == null)
@@ -77,19 +97,8 @@ protected FeedItemVideo() { }
}
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 FeedItemVideo 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 FeedItemVideo and cannot be null");
- }
- this.Status = status;
+ this.Type = type;
// to ensure "videoTitle" is required (not null)
if (videoTitle == null)
{
@@ -140,13 +149,6 @@ protected FeedItemVideo() { }
[DataMember(Name = "priority", IsRequired = true, EmitDefaultValue = true)]
public int Priority { get; set; }
- ///
- /// Feed item type
- ///
- /// Feed item type
- [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
- public string Type { get; set; }
-
///
/// Amount of gems earnable when user completes the quest
///
@@ -154,13 +156,6 @@ protected FeedItemVideo() { }
[DataMember(Name = "gems_earnable", IsRequired = true, EmitDefaultValue = true)]
public int GemsEarnable { get; set; }
- ///
- /// Feed item status, e.g., enabled, disabled, archived, deleted
- ///
- /// Feed item status, e.g., enabled, disabled, archived, deleted
- [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
- public string Status { get; set; }
-
///
/// If the quest is bypassed, the user will not be able to see it on the feed
///
@@ -243,9 +238,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");
@@ -254,6 +247,7 @@ public override string ToString()
sb.Append(" Tags: ").Append(Tags).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(" VideoTitle: ").Append(VideoTitle).Append("\n");
sb.Append(" VideoUrl: ").Append(VideoUrl).Append("\n");
sb.Append("}\n");
diff --git a/src/Packages/ZkEvmApi/api~/openapi.yaml b/src/Packages/ZkEvmApi/api~/openapi.yaml
index 82a911797..88d025e5a 100644
--- a/src/Packages/ZkEvmApi/api~/openapi.yaml
+++ b/src/Packages/ZkEvmApi/api~/openapi.yaml
@@ -2131,6 +2131,90 @@ paths:
summary: Sign a crafting payload
tags:
- crafting
+ /v1/internal/chains/{chain_name}/environment/{environment}/collections/{contract_address}/refresh-metadata:
+ post:
+ description: Refresh collection metadata internal
+ operationId: RefreshCollectionMetadataInternal
+ parameters:
+ - description: The address contract
+ example: 0x8a90cab2b38dba80c64b7734e58ee1db38b8992e
+ explode: false
+ in: path
+ name: contract_address
+ required: true
+ schema:
+ type: string
+ style: simple
+ - description: The name of chain
+ examples:
+ testnet:
+ summary: Immutable zkEVM Public Testnet
+ value: imtbl-zkevm-testnet
+ explode: false
+ in: path
+ name: chain_name
+ required: true
+ schema:
+ $ref: '#/components/schemas/ChainName'
+ style: simple
+ - description: The environment of the collection
+ explode: false
+ in: path
+ name: environment
+ required: true
+ schema:
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/RefreshCollectionMetadataRequest'
+ description: The request body
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/RefreshCollectionMetadataResult'
+ description: 200 response
+ "400":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIError400'
+ description: Bad Request (400)
+ "401":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIError401'
+ description: Unauthorised Request (401)
+ "403":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIError403'
+ description: Forbidden Request (403)
+ "404":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIError404'
+ description: The specified resource was not found (404)
+ "500":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIError500'
+ description: Internal Server Error (500)
+ security:
+ - BearerAuthWithClient:
+ - refresh:metadata
+ summary: Refresh collection metadata internal
+ tags:
+ - collections
/v1/chains/{chain_name}/orders/cancel:
post:
description: Cancel one or more orders
@@ -8988,15 +9072,9 @@ components:
priority:
description: Feed item priority
type: integer
- type:
- description: Feed item type
- type: string
gems_earnable:
description: Amount of gems earnable when user completes the quest
type: integer
- status:
- description: "Feed item status, e.g., enabled, disabled, archived, deleted"
- type: string
bypass:
description: "If the quest is bypassed, the user will not be able to see\
\ it on the feed"
@@ -9033,7 +9111,6 @@ components:
- name
- priority
- quest_id
- - status
- type
type: object
FeedItemVideo:
@@ -9041,13 +9118,20 @@ components:
- $ref: '#/components/schemas/FeedItemBase'
- type: object
- properties:
+ type:
+ description: Feed item type
+ enum:
+ - video
+ type: string
video_title:
description: Title of the video
type: string
video_url:
description: URL of the video
+ format: uri
type: string
required:
+ - type
- video_title
- video_url
FeedItemQuiz:
@@ -9055,11 +9139,18 @@ components:
- $ref: '#/components/schemas/FeedItemBase'
- type: object
- properties:
+ type:
+ description: Feed item type
+ enum:
+ - quiz
+ type: string
quiz_header_video_url:
description: URL of the quiz header video
+ format: uri
type: string
quiz_logo:
description: URL of the quiz logo
+ format: uri
type: string
quiz_question:
description: The quiz question
@@ -9079,19 +9170,27 @@ components:
type: string
quiz_header_initial_image:
description: The initial image for the quiz header
+ format: uri
type: string
quiz_header_answered_image:
description: The image to display when the user answers the quiz correctly
+ format: uri
type: string
required:
- quiz_answers
- quiz_correct_answers
- quiz_question
+ - type
FeedItemCTA:
allOf:
- $ref: '#/components/schemas/FeedItemBase'
- type: object
- properties:
+ type:
+ description: Feed item type
+ enum:
+ - cta
+ type: string
cta_label:
description: The label for the CTA button
type: string
@@ -9103,27 +9202,107 @@ components:
type: string
cta_image:
description: The image for the CTA background
+ format: uri
type: string
required:
- cta_description
- cta_image
- cta_label
- cta_url
+ - type
FeedItemSignIn:
allOf:
- $ref: '#/components/schemas/FeedItemCTA'
- type: object
- properties:
+ type:
+ description: Feed item type
+ enum:
+ - signin
+ type: string
sign_in_redirect_url:
description: The URL to redirect to when the user completes the sign in
quest
+ format: uri
type: string
sign_in_background:
description: The background for the sign in quest
+ format: uri
type: string
required:
- sign_in_background
- sign_in_redirect_url
+ - type
+ FeedItemReward:
+ allOf:
+ - $ref: '#/components/schemas/FeedItemSignIn'
+ - type: object
+ - properties:
+ type:
+ description: Feed item type
+ enum:
+ - reward
+ type: string
+ FeedItemLanding:
+ allOf:
+ - $ref: '#/components/schemas/FeedItemBase'
+ - type: object
+ - properties:
+ type:
+ description: Feed item type
+ enum:
+ - landing
+ type: string
+ required:
+ - type
+ FeedItemPinToHome:
+ allOf:
+ - $ref: '#/components/schemas/FeedItemBase'
+ - type: object
+ - properties:
+ type:
+ description: Feed item type
+ enum:
+ - pintohome
+ type: string
+ required:
+ - type
+ FeedItemDailyGems:
+ allOf:
+ - $ref: '#/components/schemas/FeedItemBase'
+ - type: object
+ - properties:
+ type:
+ description: Feed item type
+ enum:
+ - dailygems
+ type: string
+ required:
+ - type
+ FeedItemBonusGems:
+ allOf:
+ - $ref: '#/components/schemas/FeedItemBase'
+ - type: object
+ - properties:
+ type:
+ description: Feed item type
+ enum:
+ - bonusgems
+ type: string
+ required:
+ - type
+ FeedItemReferral:
+ allOf:
+ - $ref: '#/components/schemas/FeedItemBase'
+ - type: object
+ - properties:
+ type:
+ description: Feed item type
+ enum:
+ - referral
+ type: string
+ required:
+ - type
FilterValue:
example:
- value: Common