@imtbl/sdk 0.27.3 → 0.27.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -153,6 +153,114 @@ interface BasicAPIError {
153
153
  'trace_id': string;
154
154
  }
155
155
 
156
+ /**
157
+ * Immutable zkEVM API
158
+ * Immutable Multi Rollup API
159
+ *
160
+ * The version of the OpenAPI document: 1.0.0
161
+ * Contact: support@immutable.com
162
+ *
163
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
164
+ * https://openapi-generator.tech
165
+ * Do not edit the class manually.
166
+ */
167
+
168
+ /**
169
+ * @type APIError400
170
+ * @export
171
+ */
172
+ type APIError400 = BasicAPIError;
173
+
174
+ /**
175
+ * Immutable zkEVM API
176
+ * Immutable Multi Rollup API
177
+ *
178
+ * The version of the OpenAPI document: 1.0.0
179
+ * Contact: support@immutable.com
180
+ *
181
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
182
+ * https://openapi-generator.tech
183
+ * Do not edit the class manually.
184
+ */
185
+
186
+ /**
187
+ * @type APIError401
188
+ * @export
189
+ */
190
+ type APIError401 = BasicAPIError;
191
+
192
+ /**
193
+ * Immutable zkEVM API
194
+ * Immutable Multi Rollup API
195
+ *
196
+ * The version of the OpenAPI document: 1.0.0
197
+ * Contact: support@immutable.com
198
+ *
199
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
200
+ * https://openapi-generator.tech
201
+ * Do not edit the class manually.
202
+ */
203
+
204
+ /**
205
+ * @type APIError403
206
+ * @export
207
+ */
208
+ type APIError403 = BasicAPIError;
209
+
210
+ /**
211
+ * Immutable zkEVM API
212
+ * Immutable Multi Rollup API
213
+ *
214
+ * The version of the OpenAPI document: 1.0.0
215
+ * Contact: support@immutable.com
216
+ *
217
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
218
+ * https://openapi-generator.tech
219
+ * Do not edit the class manually.
220
+ */
221
+
222
+ /**
223
+ * @type APIError404
224
+ * @export
225
+ */
226
+ type APIError404 = BasicAPIError;
227
+
228
+ /**
229
+ * Immutable zkEVM API
230
+ * Immutable Multi Rollup API
231
+ *
232
+ * The version of the OpenAPI document: 1.0.0
233
+ * Contact: support@immutable.com
234
+ *
235
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
236
+ * https://openapi-generator.tech
237
+ * Do not edit the class manually.
238
+ */
239
+
240
+ /**
241
+ * @type APIError429
242
+ * @export
243
+ */
244
+ type APIError429 = BasicAPIError;
245
+
246
+ /**
247
+ * Immutable zkEVM API
248
+ * Immutable Multi Rollup API
249
+ *
250
+ * The version of the OpenAPI document: 1.0.0
251
+ * Contact: support@immutable.com
252
+ *
253
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
254
+ * https://openapi-generator.tech
255
+ * Do not edit the class manually.
256
+ */
257
+
258
+ /**
259
+ * @type APIError500
260
+ * @export
261
+ */
262
+ type APIError500 = BasicAPIError;
263
+
156
264
  /**
157
265
  * Immutable zkEVM API
158
266
  * Immutable Multi Rollup API
@@ -834,31 +942,6 @@ interface Activity {
834
942
  'blockchain_metadata': BlockchainMetadata | null;
835
943
  }
836
944
 
837
- /**
838
- * Immutable zkEVM API
839
- * Immutable Multi Rollup API
840
- *
841
- * The version of the OpenAPI document: 1.0.0
842
- * Contact: support@immutable.com
843
- *
844
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
845
- * https://openapi-generator.tech
846
- * Do not edit the class manually.
847
- */
848
- /**
849
- *
850
- * @export
851
- * @interface ChainWithDetailsAllOf
852
- */
853
- interface ChainWithDetailsAllOf {
854
- /**
855
- * URL for RPC node
856
- * @type {string}
857
- * @memberof ChainWithDetailsAllOf
858
- */
859
- 'rpc_url': string | null;
860
- }
861
-
862
945
  /**
863
946
  * Immutable zkEVM API
864
947
  * Immutable Multi Rollup API
@@ -875,7 +958,7 @@ interface ChainWithDetailsAllOf {
875
958
  * @type ChainWithDetails
876
959
  * @export
877
960
  */
878
- type ChainWithDetails = Chain$1 & ChainWithDetailsAllOf;
961
+ type ChainWithDetails = Chain$1;
879
962
 
880
963
  /**
881
964
  * Immutable zkEVM API
@@ -1641,6 +1724,94 @@ interface ListChainsResult {
1641
1724
  'page': Page$2;
1642
1725
  }
1643
1726
 
1727
+ /**
1728
+ * Immutable zkEVM API
1729
+ * Immutable Multi Rollup API
1730
+ *
1731
+ * The version of the OpenAPI document: 1.0.0
1732
+ * Contact: support@immutable.com
1733
+ *
1734
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1735
+ * https://openapi-generator.tech
1736
+ * Do not edit the class manually.
1737
+ */
1738
+
1739
+ /**
1740
+ *
1741
+ * @export
1742
+ * @interface NFTWithOwner
1743
+ */
1744
+ interface NFTWithOwner {
1745
+ /**
1746
+ *
1747
+ * @type {Chain}
1748
+ * @memberof NFTWithOwner
1749
+ */
1750
+ 'chain': Chain$1;
1751
+ /**
1752
+ * The address of NFT contract
1753
+ * @type {string}
1754
+ * @memberof NFTWithOwner
1755
+ */
1756
+ 'contract_address': string;
1757
+ /**
1758
+ * An `uint256` token id as string
1759
+ * @type {string}
1760
+ * @memberof NFTWithOwner
1761
+ */
1762
+ 'token_id': string;
1763
+ /**
1764
+ * The account address of the owner of the NFT
1765
+ * @type {string}
1766
+ * @memberof NFTWithOwner
1767
+ */
1768
+ 'account_address': string;
1769
+ /**
1770
+ * The quantity of owned tokens (uint256 as string)
1771
+ * @type {string}
1772
+ * @memberof NFTWithOwner
1773
+ */
1774
+ 'quantity': string;
1775
+ /**
1776
+ * When the owner last changed for the given NFT
1777
+ * @type {string}
1778
+ * @memberof NFTWithOwner
1779
+ */
1780
+ 'updated_at': string;
1781
+ }
1782
+
1783
+ /**
1784
+ * Immutable zkEVM API
1785
+ * Immutable Multi Rollup API
1786
+ *
1787
+ * The version of the OpenAPI document: 1.0.0
1788
+ * Contact: support@immutable.com
1789
+ *
1790
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1791
+ * https://openapi-generator.tech
1792
+ * Do not edit the class manually.
1793
+ */
1794
+
1795
+ /**
1796
+ *
1797
+ * @export
1798
+ * @interface ListCollectionOwnersResult
1799
+ */
1800
+ interface ListCollectionOwnersResult {
1801
+ /**
1802
+ * List of NFT owners
1803
+ * @type {Array<NFTWithOwner>}
1804
+ * @memberof ListCollectionOwnersResult
1805
+ */
1806
+ 'result': Array<NFTWithOwner>;
1807
+ /**
1808
+ *
1809
+ * @type {Page}
1810
+ * @memberof ListCollectionOwnersResult
1811
+ */
1812
+ 'page': Page$2;
1813
+ }
1814
+
1644
1815
  /**
1645
1816
  * Immutable zkEVM API
1646
1817
  * Immutable Multi Rollup API
@@ -1964,31 +2135,6 @@ interface RefreshCollectionMetadataResult {
1964
2135
  'collection_metadata': CollectionMetadata;
1965
2136
  }
1966
2137
 
1967
- /**
1968
- * Immutable zkEVM API
1969
- * Immutable Multi Rollup API
1970
- *
1971
- * The version of the OpenAPI document: 1.0.0
1972
- * Contact: support@immutable.com
1973
- *
1974
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1975
- * https://openapi-generator.tech
1976
- * Do not edit the class manually.
1977
- */
1978
- /**
1979
- *
1980
- * @export
1981
- * @interface RefreshMetadataByIDAllOf
1982
- */
1983
- interface RefreshMetadataByIDAllOf {
1984
- /**
1985
- * Metadata ID in UUIDv4 format
1986
- * @type {string}
1987
- * @memberof RefreshMetadataByIDAllOf
1988
- */
1989
- 'metadata_id': string;
1990
- }
1991
-
1992
2138
  /**
1993
2139
  * Immutable zkEVM API
1994
2140
  * Immutable Multi Rollup API
@@ -2067,7 +2213,7 @@ interface RefreshableNFTAttributes {
2067
2213
  * @type RefreshMetadataByID
2068
2214
  * @export
2069
2215
  */
2070
- type RefreshMetadataByID = RefreshMetadataByIDAllOf & RefreshableNFTAttributes;
2216
+ type RefreshMetadataByID = RefreshableNFTAttributes;
2071
2217
 
2072
2218
  /**
2073
2219
  * Immutable zkEVM API
@@ -2095,31 +2241,6 @@ interface RefreshMetadataByIDRequest {
2095
2241
  'metadata'?: Array<RefreshMetadataByID>;
2096
2242
  }
2097
2243
 
2098
- /**
2099
- * Immutable zkEVM API
2100
- * Immutable Multi Rollup API
2101
- *
2102
- * The version of the OpenAPI document: 1.0.0
2103
- * Contact: support@immutable.com
2104
- *
2105
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2106
- * https://openapi-generator.tech
2107
- * Do not edit the class manually.
2108
- */
2109
- /**
2110
- *
2111
- * @export
2112
- * @interface RefreshMetadataByTokenIDAllOf
2113
- */
2114
- interface RefreshMetadataByTokenIDAllOf {
2115
- /**
2116
- * An `uint256` token id as string
2117
- * @type {string}
2118
- * @memberof RefreshMetadataByTokenIDAllOf
2119
- */
2120
- 'token_id': string;
2121
- }
2122
-
2123
2244
  /**
2124
2245
  * Immutable zkEVM API
2125
2246
  * Immutable Multi Rollup API
@@ -2136,7 +2257,7 @@ interface RefreshMetadataByTokenIDAllOf {
2136
2257
  * @type RefreshMetadataByTokenID
2137
2258
  * @export
2138
2259
  */
2139
- type RefreshMetadataByTokenID = RefreshMetadataByTokenIDAllOf & RefreshableNFTAttributes;
2260
+ type RefreshMetadataByTokenID = RefreshableNFTAttributes;
2140
2261
 
2141
2262
  /**
2142
2263
  * Immutable zkEVM API
@@ -2785,6 +2906,796 @@ interface TokensApiListERC20TokensRequest {
2785
2906
  readonly pageSize?: number;
2786
2907
  }
2787
2908
 
2909
+ /**
2910
+ * Immutable zkEVM API
2911
+ * Immutable Multi Rollup API
2912
+ *
2913
+ * The version of the OpenAPI document: 1.0.0
2914
+ * Contact: support@immutable.com
2915
+ *
2916
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2917
+ * https://openapi-generator.tech
2918
+ * Do not edit the class manually.
2919
+ */
2920
+
2921
+ /**
2922
+ * Request parameters for getActivity operation in ActivitiesApi.
2923
+ * @export
2924
+ * @interface GetActivityRequest
2925
+ */
2926
+ interface GetActivityRequest {
2927
+ /**
2928
+ * The name of chain
2929
+ * @type {string}
2930
+ * @memberof GetActivity
2931
+ */
2932
+ readonly chainName: string;
2933
+ /**
2934
+ * The id of activity
2935
+ * @type {string}
2936
+ * @memberof GetActivity
2937
+ */
2938
+ readonly activityId: string;
2939
+ }
2940
+ /**
2941
+ * Request parameters for listActivities operation in ActivitiesApi.
2942
+ * @export
2943
+ * @interface ListActivitiesRequest
2944
+ */
2945
+ interface ListActivitiesRequest {
2946
+ /**
2947
+ * The name of chain
2948
+ * @type {string}
2949
+ * @memberof ListActivities
2950
+ */
2951
+ readonly chainName: string;
2952
+ /**
2953
+ * The contract address of NFT or ERC20 Token
2954
+ * @type {string}
2955
+ * @memberof ListActivities
2956
+ */
2957
+ readonly contractAddress?: string;
2958
+ /**
2959
+ * An &#x60;uint256&#x60; token id as string
2960
+ * @type {string}
2961
+ * @memberof ListActivities
2962
+ */
2963
+ readonly tokenId?: string;
2964
+ /**
2965
+ * The account address activity contains
2966
+ * @type {string}
2967
+ * @memberof ListActivities
2968
+ */
2969
+ readonly accountAddress?: string;
2970
+ /**
2971
+ * The activity type
2972
+ * @type {ActivityType}
2973
+ * @memberof ListActivities
2974
+ */
2975
+ readonly activityType?: ActivityType$1;
2976
+ /**
2977
+ * From indexed at including given date
2978
+ * @type {string}
2979
+ * @memberof ListActivities
2980
+ */
2981
+ readonly fromIndexedAt?: string;
2982
+ /**
2983
+ * To indexed at including given date
2984
+ * @type {string}
2985
+ * @memberof ListActivities
2986
+ */
2987
+ readonly toIndexedAt?: string;
2988
+ /**
2989
+ * The transaction hash of activity
2990
+ * @type {string}
2991
+ * @memberof ListActivities
2992
+ */
2993
+ readonly transactionHash?: string;
2994
+ /**
2995
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2996
+ * @type {string}
2997
+ * @memberof ListActivities
2998
+ */
2999
+ readonly pageCursor?: string;
3000
+ /**
3001
+ * Maximum number of items to return
3002
+ * @type {number}
3003
+ * @memberof ListActivities
3004
+ */
3005
+ readonly pageSize?: number;
3006
+ }
3007
+
3008
+ type activitiesApiTypes_d_APIError400 = APIError400;
3009
+ type activitiesApiTypes_d_APIError404 = APIError404;
3010
+ type activitiesApiTypes_d_APIError500 = APIError500;
3011
+ type activitiesApiTypes_d_GetActivityRequest = GetActivityRequest;
3012
+ type activitiesApiTypes_d_GetActivityResult = GetActivityResult;
3013
+ type activitiesApiTypes_d_ListActivitiesRequest = ListActivitiesRequest;
3014
+ type activitiesApiTypes_d_ListActivitiesResult = ListActivitiesResult;
3015
+ declare namespace activitiesApiTypes_d {
3016
+ export {
3017
+ activitiesApiTypes_d_APIError400 as APIError400,
3018
+ activitiesApiTypes_d_APIError404 as APIError404,
3019
+ activitiesApiTypes_d_APIError500 as APIError500,
3020
+ ActivityType$1 as ActivityType,
3021
+ activitiesApiTypes_d_GetActivityRequest as GetActivityRequest,
3022
+ activitiesApiTypes_d_GetActivityResult as GetActivityResult,
3023
+ activitiesApiTypes_d_ListActivitiesRequest as ListActivitiesRequest,
3024
+ activitiesApiTypes_d_ListActivitiesResult as ListActivitiesResult,
3025
+ };
3026
+ }
3027
+
3028
+ /**
3029
+ * Immutable zkEVM API
3030
+ * Immutable Multi Rollup API
3031
+ *
3032
+ * The version of the OpenAPI document: 1.0.0
3033
+ * Contact: support@immutable.com
3034
+ *
3035
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3036
+ * https://openapi-generator.tech
3037
+ * Do not edit the class manually.
3038
+ */
3039
+
3040
+ /**
3041
+ * Request parameters for listChains operation in ChainsApi.
3042
+ * @export
3043
+ * @interface ListChainsRequest
3044
+ */
3045
+ interface ListChainsRequest {
3046
+ /**
3047
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3048
+ * @type {string}
3049
+ * @memberof ListChains
3050
+ */
3051
+ readonly pageCursor?: string;
3052
+ /**
3053
+ * Maximum number of items to return
3054
+ * @type {number}
3055
+ * @memberof ListChains
3056
+ */
3057
+ readonly pageSize?: number;
3058
+ }
3059
+
3060
+ type chainsApiTypes_d_APIError400 = APIError400;
3061
+ type chainsApiTypes_d_APIError404 = APIError404;
3062
+ type chainsApiTypes_d_APIError500 = APIError500;
3063
+ type chainsApiTypes_d_ListChainsRequest = ListChainsRequest;
3064
+ type chainsApiTypes_d_ListChainsResult = ListChainsResult;
3065
+ declare namespace chainsApiTypes_d {
3066
+ export {
3067
+ chainsApiTypes_d_APIError400 as APIError400,
3068
+ chainsApiTypes_d_APIError404 as APIError404,
3069
+ chainsApiTypes_d_APIError500 as APIError500,
3070
+ chainsApiTypes_d_ListChainsRequest as ListChainsRequest,
3071
+ chainsApiTypes_d_ListChainsResult as ListChainsResult,
3072
+ };
3073
+ }
3074
+
3075
+ /**
3076
+ * Immutable zkEVM API
3077
+ * Immutable Multi Rollup API
3078
+ *
3079
+ * The version of the OpenAPI document: 1.0.0
3080
+ * Contact: support@immutable.com
3081
+ *
3082
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3083
+ * https://openapi-generator.tech
3084
+ * Do not edit the class manually.
3085
+ */
3086
+
3087
+ /**
3088
+ * Request parameters for getCollection operation in CollectionsApi.
3089
+ * @export
3090
+ * @interface GetCollectionRequest
3091
+ */
3092
+ interface GetCollectionRequest {
3093
+ /**
3094
+ * The address contract
3095
+ * @type {string}
3096
+ * @memberof GetCollection
3097
+ */
3098
+ readonly contractAddress: string;
3099
+ /**
3100
+ * The name of chain
3101
+ * @type {string}
3102
+ * @memberof GetCollection
3103
+ */
3104
+ readonly chainName: string;
3105
+ }
3106
+ /**
3107
+ * Request parameters for listCollections operation in CollectionsApi.
3108
+ * @export
3109
+ * @interface ListCollectionsRequest
3110
+ */
3111
+ interface ListCollectionsRequest {
3112
+ /**
3113
+ * The name of chain
3114
+ * @type {string}
3115
+ * @memberof ListCollections
3116
+ */
3117
+ readonly chainName: string;
3118
+ /**
3119
+ * List of contract addresses to filter by
3120
+ * @type {Array<string>}
3121
+ * @memberof ListCollections
3122
+ */
3123
+ readonly contractAddress?: Array<string>;
3124
+ /**
3125
+ * Datetime to use as the oldest updated timestamp
3126
+ * @type {string}
3127
+ * @memberof ListCollections
3128
+ */
3129
+ readonly fromUpdatedAt?: string;
3130
+ /**
3131
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3132
+ * @type {string}
3133
+ * @memberof ListCollections
3134
+ */
3135
+ readonly pageCursor?: string;
3136
+ /**
3137
+ * Maximum number of items to return
3138
+ * @type {number}
3139
+ * @memberof ListCollections
3140
+ */
3141
+ readonly pageSize?: number;
3142
+ }
3143
+ /**
3144
+ * Request parameters for listCollectionsByNFTOwner operation in CollectionsApi.
3145
+ * @export
3146
+ * @interface ListCollectionsByNFTOwnerRequest
3147
+ */
3148
+ interface ListCollectionsByNFTOwnerRequest {
3149
+ /**
3150
+ * Account address
3151
+ * @type {string}
3152
+ * @memberof ListCollectionsByNFTOwner
3153
+ */
3154
+ readonly accountAddress: string;
3155
+ /**
3156
+ * The name of chain
3157
+ * @type {string}
3158
+ * @memberof ListCollectionsByNFTOwner
3159
+ */
3160
+ readonly chainName: string;
3161
+ /**
3162
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3163
+ * @type {string}
3164
+ * @memberof ListCollectionsByNFTOwner
3165
+ */
3166
+ readonly pageCursor?: string;
3167
+ /**
3168
+ * Maximum number of items to return
3169
+ * @type {number}
3170
+ * @memberof ListCollectionsByNFTOwner
3171
+ */
3172
+ readonly pageSize?: number;
3173
+ }
3174
+
3175
+ type collectionsApiTypes_d_APIError400 = APIError400;
3176
+ type collectionsApiTypes_d_APIError401 = APIError401;
3177
+ type collectionsApiTypes_d_APIError403 = APIError403;
3178
+ type collectionsApiTypes_d_APIError404 = APIError404;
3179
+ type collectionsApiTypes_d_APIError500 = APIError500;
3180
+ type collectionsApiTypes_d_GetCollectionRequest = GetCollectionRequest;
3181
+ type collectionsApiTypes_d_GetCollectionResult = GetCollectionResult;
3182
+ type collectionsApiTypes_d_ListCollectionsByNFTOwnerRequest = ListCollectionsByNFTOwnerRequest;
3183
+ type collectionsApiTypes_d_ListCollectionsRequest = ListCollectionsRequest;
3184
+ type collectionsApiTypes_d_ListCollectionsResult = ListCollectionsResult;
3185
+ type collectionsApiTypes_d_RefreshCollectionMetadataRequest = RefreshCollectionMetadataRequest;
3186
+ type collectionsApiTypes_d_RefreshCollectionMetadataResult = RefreshCollectionMetadataResult;
3187
+ declare namespace collectionsApiTypes_d {
3188
+ export {
3189
+ collectionsApiTypes_d_APIError400 as APIError400,
3190
+ collectionsApiTypes_d_APIError401 as APIError401,
3191
+ collectionsApiTypes_d_APIError403 as APIError403,
3192
+ collectionsApiTypes_d_APIError404 as APIError404,
3193
+ collectionsApiTypes_d_APIError500 as APIError500,
3194
+ collectionsApiTypes_d_GetCollectionRequest as GetCollectionRequest,
3195
+ collectionsApiTypes_d_GetCollectionResult as GetCollectionResult,
3196
+ collectionsApiTypes_d_ListCollectionsByNFTOwnerRequest as ListCollectionsByNFTOwnerRequest,
3197
+ collectionsApiTypes_d_ListCollectionsRequest as ListCollectionsRequest,
3198
+ collectionsApiTypes_d_ListCollectionsResult as ListCollectionsResult,
3199
+ collectionsApiTypes_d_RefreshCollectionMetadataRequest as RefreshCollectionMetadataRequest,
3200
+ collectionsApiTypes_d_RefreshCollectionMetadataResult as RefreshCollectionMetadataResult,
3201
+ };
3202
+ }
3203
+
3204
+ /**
3205
+ * Immutable zkEVM API
3206
+ * Immutable Multi Rollup API
3207
+ *
3208
+ * The version of the OpenAPI document: 1.0.0
3209
+ * Contact: support@immutable.com
3210
+ *
3211
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3212
+ * https://openapi-generator.tech
3213
+ * Do not edit the class manually.
3214
+ */
3215
+
3216
+ /**
3217
+ * Request parameters for getMetadata operation in MetadataApi.
3218
+ * @export
3219
+ * @interface GetMetadataRequest
3220
+ */
3221
+ interface GetMetadataRequest {
3222
+ /**
3223
+ * The name of chain
3224
+ * @type {string}
3225
+ * @memberof GetMetadata
3226
+ */
3227
+ readonly chainName: string;
3228
+ /**
3229
+ * The address of metadata contract
3230
+ * @type {string}
3231
+ * @memberof GetMetadata
3232
+ */
3233
+ readonly contractAddress: string;
3234
+ /**
3235
+ * The id of the metadata
3236
+ * @type {string}
3237
+ * @memberof GetMetadata
3238
+ */
3239
+ readonly metadataId: string;
3240
+ }
3241
+ /**
3242
+ * Request parameters for listMetadata operation in MetadataApi.
3243
+ * @export
3244
+ * @interface ListMetadataRequest
3245
+ */
3246
+ interface ListMetadataRequest {
3247
+ /**
3248
+ * The name of chain
3249
+ * @type {string}
3250
+ * @memberof ListMetadata
3251
+ */
3252
+ readonly chainName: string;
3253
+ /**
3254
+ * The address of metadata contract
3255
+ * @type {string}
3256
+ * @memberof ListMetadata
3257
+ */
3258
+ readonly contractAddress: string;
3259
+ /**
3260
+ * Datetime to use as the oldest updated timestamp
3261
+ * @type {string}
3262
+ * @memberof ListMetadata
3263
+ */
3264
+ readonly fromUpdatedAt?: string;
3265
+ /**
3266
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3267
+ * @type {string}
3268
+ * @memberof ListMetadata
3269
+ */
3270
+ readonly pageCursor?: string;
3271
+ /**
3272
+ * Maximum number of items to return
3273
+ * @type {number}
3274
+ * @memberof ListMetadata
3275
+ */
3276
+ readonly pageSize?: number;
3277
+ }
3278
+
3279
+ type metadataApiTypes_d_APIError400 = APIError400;
3280
+ type metadataApiTypes_d_APIError401 = APIError401;
3281
+ type metadataApiTypes_d_APIError403 = APIError403;
3282
+ type metadataApiTypes_d_APIError404 = APIError404;
3283
+ type metadataApiTypes_d_APIError429 = APIError429;
3284
+ type metadataApiTypes_d_APIError500 = APIError500;
3285
+ type metadataApiTypes_d_GetMetadataRequest = GetMetadataRequest;
3286
+ type metadataApiTypes_d_GetMetadataResult = GetMetadataResult;
3287
+ type metadataApiTypes_d_ListMetadataRequest = ListMetadataRequest;
3288
+ type metadataApiTypes_d_ListMetadataResult = ListMetadataResult;
3289
+ type metadataApiTypes_d_MetadataRefreshRateLimitResult = MetadataRefreshRateLimitResult;
3290
+ type metadataApiTypes_d_RefreshMetadataByIDRequest = RefreshMetadataByIDRequest;
3291
+ type metadataApiTypes_d_RefreshNFTMetadataByTokenIDRequest = RefreshNFTMetadataByTokenIDRequest;
3292
+ declare namespace metadataApiTypes_d {
3293
+ export {
3294
+ metadataApiTypes_d_APIError400 as APIError400,
3295
+ metadataApiTypes_d_APIError401 as APIError401,
3296
+ metadataApiTypes_d_APIError403 as APIError403,
3297
+ metadataApiTypes_d_APIError404 as APIError404,
3298
+ metadataApiTypes_d_APIError429 as APIError429,
3299
+ metadataApiTypes_d_APIError500 as APIError500,
3300
+ metadataApiTypes_d_GetMetadataRequest as GetMetadataRequest,
3301
+ metadataApiTypes_d_GetMetadataResult as GetMetadataResult,
3302
+ metadataApiTypes_d_ListMetadataRequest as ListMetadataRequest,
3303
+ metadataApiTypes_d_ListMetadataResult as ListMetadataResult,
3304
+ metadataApiTypes_d_MetadataRefreshRateLimitResult as MetadataRefreshRateLimitResult,
3305
+ metadataApiTypes_d_RefreshMetadataByIDRequest as RefreshMetadataByIDRequest,
3306
+ metadataApiTypes_d_RefreshNFTMetadataByTokenIDRequest as RefreshNFTMetadataByTokenIDRequest,
3307
+ };
3308
+ }
3309
+
3310
+ /**
3311
+ * Immutable zkEVM API
3312
+ * Immutable Multi Rollup API
3313
+ *
3314
+ * The version of the OpenAPI document: 1.0.0
3315
+ * Contact: support@immutable.com
3316
+ *
3317
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3318
+ * https://openapi-generator.tech
3319
+ * Do not edit the class manually.
3320
+ */
3321
+
3322
+ /**
3323
+ * Request parameters for listNFTOwners operation in NftOwnersApi.
3324
+ * @export
3325
+ * @interface ListNFTOwnersRequest
3326
+ */
3327
+ interface ListNFTOwnersRequest {
3328
+ /**
3329
+ * The address of contract
3330
+ * @type {string}
3331
+ * @memberof ListNFTOwners
3332
+ */
3333
+ readonly contractAddress: string;
3334
+ /**
3335
+ * An &#x60;uint256&#x60; token id as string
3336
+ * @type {string}
3337
+ * @memberof ListNFTOwners
3338
+ */
3339
+ readonly tokenId: string;
3340
+ /**
3341
+ * The name of chain
3342
+ * @type {string}
3343
+ * @memberof ListNFTOwners
3344
+ */
3345
+ readonly chainName: string;
3346
+ /**
3347
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3348
+ * @type {string}
3349
+ * @memberof ListNFTOwners
3350
+ */
3351
+ readonly pageCursor?: string;
3352
+ /**
3353
+ * Maximum number of items to return
3354
+ * @type {number}
3355
+ * @memberof ListNFTOwners
3356
+ */
3357
+ readonly pageSize?: number;
3358
+ }
3359
+ /**
3360
+ * Request parameters for listOwnersByContractAddress operation in NftOwnersApi.
3361
+ * @export
3362
+ * @interface ListOwnersByContractAddressRequest
3363
+ */
3364
+ interface ListOwnersByContractAddressRequest {
3365
+ /**
3366
+ * The address of contract
3367
+ * @type {string}
3368
+ * @memberof ListOwnersByContractAddress
3369
+ */
3370
+ readonly contractAddress: string;
3371
+ /**
3372
+ * The name of chain
3373
+ * @type {string}
3374
+ * @memberof ListOwnersByContractAddress
3375
+ */
3376
+ readonly chainName: string;
3377
+ /**
3378
+ * Datetime to use as the oldest updated timestamp
3379
+ * @type {string}
3380
+ * @memberof ListOwnersByContractAddress
3381
+ */
3382
+ readonly fromUpdatedAt?: string;
3383
+ /**
3384
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3385
+ * @type {string}
3386
+ * @memberof ListOwnersByContractAddress
3387
+ */
3388
+ readonly pageCursor?: string;
3389
+ /**
3390
+ * Maximum number of items to return
3391
+ * @type {number}
3392
+ * @memberof ListOwnersByContractAddress
3393
+ */
3394
+ readonly pageSize?: number;
3395
+ }
3396
+
3397
+ type nftOwnersApiTypes_d_APIError400 = APIError400;
3398
+ type nftOwnersApiTypes_d_APIError404 = APIError404;
3399
+ type nftOwnersApiTypes_d_APIError500 = APIError500;
3400
+ type nftOwnersApiTypes_d_ListCollectionOwnersResult = ListCollectionOwnersResult;
3401
+ type nftOwnersApiTypes_d_ListNFTOwnersRequest = ListNFTOwnersRequest;
3402
+ type nftOwnersApiTypes_d_ListNFTOwnersResult = ListNFTOwnersResult;
3403
+ type nftOwnersApiTypes_d_ListOwnersByContractAddressRequest = ListOwnersByContractAddressRequest;
3404
+ declare namespace nftOwnersApiTypes_d {
3405
+ export {
3406
+ nftOwnersApiTypes_d_APIError400 as APIError400,
3407
+ nftOwnersApiTypes_d_APIError404 as APIError404,
3408
+ nftOwnersApiTypes_d_APIError500 as APIError500,
3409
+ nftOwnersApiTypes_d_ListCollectionOwnersResult as ListCollectionOwnersResult,
3410
+ nftOwnersApiTypes_d_ListNFTOwnersRequest as ListNFTOwnersRequest,
3411
+ nftOwnersApiTypes_d_ListNFTOwnersResult as ListNFTOwnersResult,
3412
+ nftOwnersApiTypes_d_ListOwnersByContractAddressRequest as ListOwnersByContractAddressRequest,
3413
+ };
3414
+ }
3415
+
3416
+ /**
3417
+ * Immutable zkEVM API
3418
+ * Immutable Multi Rollup API
3419
+ *
3420
+ * The version of the OpenAPI document: 1.0.0
3421
+ * Contact: support@immutable.com
3422
+ *
3423
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3424
+ * https://openapi-generator.tech
3425
+ * Do not edit the class manually.
3426
+ */
3427
+
3428
+ /**
3429
+ * Request parameters for getNFT operation in NftsApi.
3430
+ * @export
3431
+ * @interface GetNFTRequest
3432
+ */
3433
+ interface GetNFTRequest {
3434
+ /**
3435
+ * The address of NFT contract
3436
+ * @type {string}
3437
+ * @memberof GetNFT
3438
+ */
3439
+ readonly contractAddress: string;
3440
+ /**
3441
+ * An &#x60;uint256&#x60; token id as string
3442
+ * @type {string}
3443
+ * @memberof GetNFT
3444
+ */
3445
+ readonly tokenId: string;
3446
+ /**
3447
+ * The name of chain
3448
+ * @type {string}
3449
+ * @memberof GetNFT
3450
+ */
3451
+ readonly chainName: string;
3452
+ }
3453
+ /**
3454
+ * Request parameters for listAllNFTOwners operation in NftsApi.
3455
+ * @export
3456
+ * @interface ListAllNFTOwnersRequest
3457
+ */
3458
+ interface ListAllNFTOwnersRequest {
3459
+ /**
3460
+ * The name of chain
3461
+ * @type {string}
3462
+ * @memberof ListAllNFTOwners
3463
+ */
3464
+ readonly chainName: string;
3465
+ /**
3466
+ * Datetime to use as the oldest updated timestamp
3467
+ * @type {string}
3468
+ * @memberof ListAllNFTOwners
3469
+ */
3470
+ readonly fromUpdatedAt: string;
3471
+ /**
3472
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3473
+ * @type {string}
3474
+ * @memberof ListAllNFTOwners
3475
+ */
3476
+ readonly pageCursor?: string;
3477
+ /**
3478
+ * Maximum number of items to return
3479
+ * @type {number}
3480
+ * @memberof ListAllNFTOwners
3481
+ */
3482
+ readonly pageSize?: number;
3483
+ }
3484
+ /**
3485
+ * Request parameters for listAllNFTs operation in NftsApi.
3486
+ * @export
3487
+ * @interface ListAllNFTsRequest
3488
+ */
3489
+ interface ListAllNFTsRequest {
3490
+ /**
3491
+ * The name of chain
3492
+ * @type {string}
3493
+ * @memberof ListAllNFTs
3494
+ */
3495
+ readonly chainName: string;
3496
+ /**
3497
+ * Datetime to use as the oldest updated timestamp
3498
+ * @type {string}
3499
+ * @memberof ListAllNFTs
3500
+ */
3501
+ readonly fromUpdatedAt?: string;
3502
+ /**
3503
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3504
+ * @type {string}
3505
+ * @memberof ListAllNFTs
3506
+ */
3507
+ readonly pageCursor?: string;
3508
+ /**
3509
+ * Maximum number of items to return
3510
+ * @type {number}
3511
+ * @memberof ListAllNFTs
3512
+ */
3513
+ readonly pageSize?: number;
3514
+ }
3515
+ /**
3516
+ * Request parameters for listNFTs operation in NftsApi.
3517
+ * @export
3518
+ * @interface ListNFTsRequest
3519
+ */
3520
+ interface ListNFTsRequest {
3521
+ /**
3522
+ * Contract address
3523
+ * @type {string}
3524
+ * @memberof ListNFTs
3525
+ */
3526
+ readonly contractAddress: string;
3527
+ /**
3528
+ * The name of chain
3529
+ * @type {string}
3530
+ * @memberof ListNFTs
3531
+ */
3532
+ readonly chainName: string;
3533
+ /**
3534
+ * Datetime to use as the oldest updated timestamp
3535
+ * @type {string}
3536
+ * @memberof ListNFTs
3537
+ */
3538
+ readonly fromUpdatedAt?: string;
3539
+ /**
3540
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3541
+ * @type {string}
3542
+ * @memberof ListNFTs
3543
+ */
3544
+ readonly pageCursor?: string;
3545
+ /**
3546
+ * Maximum number of items to return
3547
+ * @type {number}
3548
+ * @memberof ListNFTs
3549
+ */
3550
+ readonly pageSize?: number;
3551
+ }
3552
+ /**
3553
+ * Request parameters for listNFTsByAccountAddress operation in NftsApi.
3554
+ * @export
3555
+ * @interface ListNFTsByAccountAddressRequest
3556
+ */
3557
+ interface ListNFTsByAccountAddressRequest {
3558
+ /**
3559
+ * Account address
3560
+ * @type {string}
3561
+ * @memberof ListNFTsByAccountAddress
3562
+ */
3563
+ readonly accountAddress: string;
3564
+ /**
3565
+ * The name of chain
3566
+ * @type {string}
3567
+ * @memberof ListNFTsByAccountAddress
3568
+ */
3569
+ readonly chainName: string;
3570
+ /**
3571
+ * The address of contract
3572
+ * @type {string}
3573
+ * @memberof ListNFTsByAccountAddress
3574
+ */
3575
+ readonly contractAddress?: string;
3576
+ /**
3577
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3578
+ * @type {string}
3579
+ * @memberof ListNFTsByAccountAddress
3580
+ */
3581
+ readonly pageCursor?: string;
3582
+ /**
3583
+ * Maximum number of items to return
3584
+ * @type {number}
3585
+ * @memberof ListNFTsByAccountAddress
3586
+ */
3587
+ readonly pageSize?: number;
3588
+ }
3589
+
3590
+ type nftsApiTypes_d_APIError400 = APIError400;
3591
+ type nftsApiTypes_d_APIError404 = APIError404;
3592
+ type nftsApiTypes_d_APIError500 = APIError500;
3593
+ type nftsApiTypes_d_GetNFTRequest = GetNFTRequest;
3594
+ type nftsApiTypes_d_GetNFTResult = GetNFTResult;
3595
+ type nftsApiTypes_d_ListAllNFTOwnersRequest = ListAllNFTOwnersRequest;
3596
+ type nftsApiTypes_d_ListAllNFTsRequest = ListAllNFTsRequest;
3597
+ type nftsApiTypes_d_ListNFTOwnersResult = ListNFTOwnersResult;
3598
+ type nftsApiTypes_d_ListNFTsByAccountAddressRequest = ListNFTsByAccountAddressRequest;
3599
+ type nftsApiTypes_d_ListNFTsRequest = ListNFTsRequest;
3600
+ type nftsApiTypes_d_ListNFTsResult = ListNFTsResult;
3601
+ declare namespace nftsApiTypes_d {
3602
+ export {
3603
+ nftsApiTypes_d_APIError400 as APIError400,
3604
+ nftsApiTypes_d_APIError404 as APIError404,
3605
+ nftsApiTypes_d_APIError500 as APIError500,
3606
+ nftsApiTypes_d_GetNFTRequest as GetNFTRequest,
3607
+ nftsApiTypes_d_GetNFTResult as GetNFTResult,
3608
+ nftsApiTypes_d_ListAllNFTOwnersRequest as ListAllNFTOwnersRequest,
3609
+ nftsApiTypes_d_ListAllNFTsRequest as ListAllNFTsRequest,
3610
+ nftsApiTypes_d_ListNFTOwnersResult as ListNFTOwnersResult,
3611
+ nftsApiTypes_d_ListNFTsByAccountAddressRequest as ListNFTsByAccountAddressRequest,
3612
+ nftsApiTypes_d_ListNFTsRequest as ListNFTsRequest,
3613
+ nftsApiTypes_d_ListNFTsResult as ListNFTsResult,
3614
+ };
3615
+ }
3616
+
3617
+ /**
3618
+ * Immutable zkEVM API
3619
+ * Immutable Multi Rollup API
3620
+ *
3621
+ * The version of the OpenAPI document: 1.0.0
3622
+ * Contact: support@immutable.com
3623
+ *
3624
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3625
+ * https://openapi-generator.tech
3626
+ * Do not edit the class manually.
3627
+ */
3628
+
3629
+ /**
3630
+ * Request parameters for getERC20Token operation in TokensApi.
3631
+ * @export
3632
+ * @interface GetERC20TokenRequest
3633
+ */
3634
+ interface GetERC20TokenRequest {
3635
+ /**
3636
+ * The address of contract
3637
+ * @type {string}
3638
+ * @memberof GetERC20Token
3639
+ */
3640
+ readonly contractAddress: string;
3641
+ /**
3642
+ * The name of chain
3643
+ * @type {string}
3644
+ * @memberof GetERC20Token
3645
+ */
3646
+ readonly chainName: string;
3647
+ }
3648
+ /**
3649
+ * Request parameters for listERC20Tokens operation in TokensApi.
3650
+ * @export
3651
+ * @interface ListERC20TokensRequest
3652
+ */
3653
+ interface ListERC20TokensRequest {
3654
+ /**
3655
+ * The name of chain
3656
+ * @type {string}
3657
+ * @memberof ListERC20Tokens
3658
+ */
3659
+ readonly chainName: string;
3660
+ /**
3661
+ * Datetime to use as the oldest updated timestamp
3662
+ * @type {string}
3663
+ * @memberof ListERC20Tokens
3664
+ */
3665
+ readonly fromUpdatedAt?: string;
3666
+ /**
3667
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3668
+ * @type {string}
3669
+ * @memberof ListERC20Tokens
3670
+ */
3671
+ readonly pageCursor?: string;
3672
+ /**
3673
+ * Maximum number of items to return
3674
+ * @type {number}
3675
+ * @memberof ListERC20Tokens
3676
+ */
3677
+ readonly pageSize?: number;
3678
+ }
3679
+
3680
+ type tokensApiTypes_d_APIError400 = APIError400;
3681
+ type tokensApiTypes_d_APIError404 = APIError404;
3682
+ type tokensApiTypes_d_APIError500 = APIError500;
3683
+ type tokensApiTypes_d_GetERC20TokenRequest = GetERC20TokenRequest;
3684
+ type tokensApiTypes_d_GetTokenResult = GetTokenResult;
3685
+ type tokensApiTypes_d_ListERC20TokensRequest = ListERC20TokensRequest;
3686
+ type tokensApiTypes_d_ListTokensResult = ListTokensResult;
3687
+ declare namespace tokensApiTypes_d {
3688
+ export {
3689
+ tokensApiTypes_d_APIError400 as APIError400,
3690
+ tokensApiTypes_d_APIError404 as APIError404,
3691
+ tokensApiTypes_d_APIError500 as APIError500,
3692
+ tokensApiTypes_d_GetERC20TokenRequest as GetERC20TokenRequest,
3693
+ tokensApiTypes_d_GetTokenResult as GetTokenResult,
3694
+ tokensApiTypes_d_ListERC20TokensRequest as ListERC20TokensRequest,
3695
+ tokensApiTypes_d_ListTokensResult as ListTokensResult,
3696
+ };
3697
+ }
3698
+
2788
3699
  interface OpenAPIError extends BasicAPIError {
2789
3700
  code: string;
2790
3701
  details: {
@@ -2978,9 +3889,16 @@ type blockchain_data_d_BlockchainDataModuleConfiguration = BlockchainDataModuleC
2978
3889
  declare namespace blockchain_data_d {
2979
3890
  export {
2980
3891
  APIError$1 as APIError,
3892
+ activitiesApiTypes_d as ActivitiesApi,
2981
3893
  blockchain_data_d_ActivityType as ActivityType,
2982
3894
  blockchain_data_d_BlockchainData as BlockchainData,
2983
3895
  blockchain_data_d_BlockchainDataModuleConfiguration as BlockchainDataModuleConfiguration,
3896
+ chainsApiTypes_d as ChainsApi,
3897
+ collectionsApiTypes_d as CollectionsApi,
3898
+ metadataApiTypes_d as MetadataApi,
3899
+ nftOwnersApiTypes_d as NFTOwnersApi,
3900
+ nftsApiTypes_d as NFTsApi,
3901
+ tokensApiTypes_d as TokensApi,
2984
3902
  };
2985
3903
  }
2986
3904