@imtbl/sdk 0.27.0 → 0.27.2-alpha

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.
@@ -119,6 +119,114 @@ interface BasicAPIError {
119
119
  'trace_id': string;
120
120
  }
121
121
 
122
+ /**
123
+ * Immutable zkEVM API
124
+ * Immutable Multi Rollup API
125
+ *
126
+ * The version of the OpenAPI document: 1.0.0
127
+ * Contact: support@immutable.com
128
+ *
129
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
130
+ * https://openapi-generator.tech
131
+ * Do not edit the class manually.
132
+ */
133
+
134
+ /**
135
+ * @type APIError400
136
+ * @export
137
+ */
138
+ type APIError400 = BasicAPIError;
139
+
140
+ /**
141
+ * Immutable zkEVM API
142
+ * Immutable Multi Rollup API
143
+ *
144
+ * The version of the OpenAPI document: 1.0.0
145
+ * Contact: support@immutable.com
146
+ *
147
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
148
+ * https://openapi-generator.tech
149
+ * Do not edit the class manually.
150
+ */
151
+
152
+ /**
153
+ * @type APIError401
154
+ * @export
155
+ */
156
+ type APIError401 = BasicAPIError;
157
+
158
+ /**
159
+ * Immutable zkEVM API
160
+ * Immutable Multi Rollup API
161
+ *
162
+ * The version of the OpenAPI document: 1.0.0
163
+ * Contact: support@immutable.com
164
+ *
165
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
166
+ * https://openapi-generator.tech
167
+ * Do not edit the class manually.
168
+ */
169
+
170
+ /**
171
+ * @type APIError403
172
+ * @export
173
+ */
174
+ type APIError403 = BasicAPIError;
175
+
176
+ /**
177
+ * Immutable zkEVM API
178
+ * Immutable Multi Rollup API
179
+ *
180
+ * The version of the OpenAPI document: 1.0.0
181
+ * Contact: support@immutable.com
182
+ *
183
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
184
+ * https://openapi-generator.tech
185
+ * Do not edit the class manually.
186
+ */
187
+
188
+ /**
189
+ * @type APIError404
190
+ * @export
191
+ */
192
+ type APIError404 = BasicAPIError;
193
+
194
+ /**
195
+ * Immutable zkEVM API
196
+ * Immutable Multi Rollup API
197
+ *
198
+ * The version of the OpenAPI document: 1.0.0
199
+ * Contact: support@immutable.com
200
+ *
201
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
202
+ * https://openapi-generator.tech
203
+ * Do not edit the class manually.
204
+ */
205
+
206
+ /**
207
+ * @type APIError429
208
+ * @export
209
+ */
210
+ type APIError429 = BasicAPIError;
211
+
212
+ /**
213
+ * Immutable zkEVM API
214
+ * Immutable Multi Rollup API
215
+ *
216
+ * The version of the OpenAPI document: 1.0.0
217
+ * Contact: support@immutable.com
218
+ *
219
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
220
+ * https://openapi-generator.tech
221
+ * Do not edit the class manually.
222
+ */
223
+
224
+ /**
225
+ * @type APIError500
226
+ * @export
227
+ */
228
+ type APIError500 = BasicAPIError;
229
+
122
230
  /**
123
231
  * Immutable zkEVM API
124
232
  * Immutable Multi Rollup API
@@ -800,31 +908,6 @@ interface Activity {
800
908
  'blockchain_metadata': BlockchainMetadata | null;
801
909
  }
802
910
 
803
- /**
804
- * Immutable zkEVM API
805
- * Immutable Multi Rollup API
806
- *
807
- * The version of the OpenAPI document: 1.0.0
808
- * Contact: support@immutable.com
809
- *
810
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
811
- * https://openapi-generator.tech
812
- * Do not edit the class manually.
813
- */
814
- /**
815
- *
816
- * @export
817
- * @interface ChainWithDetailsAllOf
818
- */
819
- interface ChainWithDetailsAllOf {
820
- /**
821
- * URL for RPC node
822
- * @type {string}
823
- * @memberof ChainWithDetailsAllOf
824
- */
825
- 'rpc_url': string | null;
826
- }
827
-
828
911
  /**
829
912
  * Immutable zkEVM API
830
913
  * Immutable Multi Rollup API
@@ -841,7 +924,7 @@ interface ChainWithDetailsAllOf {
841
924
  * @type ChainWithDetails
842
925
  * @export
843
926
  */
844
- type ChainWithDetails = Chain & ChainWithDetailsAllOf;
927
+ type ChainWithDetails = Chain;
845
928
 
846
929
  /**
847
930
  * Immutable zkEVM API
@@ -1607,6 +1690,94 @@ interface ListChainsResult {
1607
1690
  'page': Page;
1608
1691
  }
1609
1692
 
1693
+ /**
1694
+ * Immutable zkEVM API
1695
+ * Immutable Multi Rollup API
1696
+ *
1697
+ * The version of the OpenAPI document: 1.0.0
1698
+ * Contact: support@immutable.com
1699
+ *
1700
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1701
+ * https://openapi-generator.tech
1702
+ * Do not edit the class manually.
1703
+ */
1704
+
1705
+ /**
1706
+ *
1707
+ * @export
1708
+ * @interface NFTWithOwner
1709
+ */
1710
+ interface NFTWithOwner {
1711
+ /**
1712
+ *
1713
+ * @type {Chain}
1714
+ * @memberof NFTWithOwner
1715
+ */
1716
+ 'chain': Chain;
1717
+ /**
1718
+ * The address of NFT contract
1719
+ * @type {string}
1720
+ * @memberof NFTWithOwner
1721
+ */
1722
+ 'contract_address': string;
1723
+ /**
1724
+ * An `uint256` token id as string
1725
+ * @type {string}
1726
+ * @memberof NFTWithOwner
1727
+ */
1728
+ 'token_id': string;
1729
+ /**
1730
+ * The account address of the owner of the NFT
1731
+ * @type {string}
1732
+ * @memberof NFTWithOwner
1733
+ */
1734
+ 'account_address': string;
1735
+ /**
1736
+ * The quantity of owned tokens (uint256 as string)
1737
+ * @type {string}
1738
+ * @memberof NFTWithOwner
1739
+ */
1740
+ 'quantity': string;
1741
+ /**
1742
+ * When the owner last changed for the given NFT
1743
+ * @type {string}
1744
+ * @memberof NFTWithOwner
1745
+ */
1746
+ 'updated_at': string;
1747
+ }
1748
+
1749
+ /**
1750
+ * Immutable zkEVM API
1751
+ * Immutable Multi Rollup API
1752
+ *
1753
+ * The version of the OpenAPI document: 1.0.0
1754
+ * Contact: support@immutable.com
1755
+ *
1756
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1757
+ * https://openapi-generator.tech
1758
+ * Do not edit the class manually.
1759
+ */
1760
+
1761
+ /**
1762
+ *
1763
+ * @export
1764
+ * @interface ListCollectionOwnersResult
1765
+ */
1766
+ interface ListCollectionOwnersResult {
1767
+ /**
1768
+ * List of NFT owners
1769
+ * @type {Array<NFTWithOwner>}
1770
+ * @memberof ListCollectionOwnersResult
1771
+ */
1772
+ 'result': Array<NFTWithOwner>;
1773
+ /**
1774
+ *
1775
+ * @type {Page}
1776
+ * @memberof ListCollectionOwnersResult
1777
+ */
1778
+ 'page': Page;
1779
+ }
1780
+
1610
1781
  /**
1611
1782
  * Immutable zkEVM API
1612
1783
  * Immutable Multi Rollup API
@@ -1930,31 +2101,6 @@ interface RefreshCollectionMetadataResult {
1930
2101
  'collection_metadata': CollectionMetadata;
1931
2102
  }
1932
2103
 
1933
- /**
1934
- * Immutable zkEVM API
1935
- * Immutable Multi Rollup API
1936
- *
1937
- * The version of the OpenAPI document: 1.0.0
1938
- * Contact: support@immutable.com
1939
- *
1940
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1941
- * https://openapi-generator.tech
1942
- * Do not edit the class manually.
1943
- */
1944
- /**
1945
- *
1946
- * @export
1947
- * @interface RefreshMetadataByIDAllOf
1948
- */
1949
- interface RefreshMetadataByIDAllOf {
1950
- /**
1951
- * Metadata ID in UUIDv4 format
1952
- * @type {string}
1953
- * @memberof RefreshMetadataByIDAllOf
1954
- */
1955
- 'metadata_id': string;
1956
- }
1957
-
1958
2104
  /**
1959
2105
  * Immutable zkEVM API
1960
2106
  * Immutable Multi Rollup API
@@ -2033,7 +2179,7 @@ interface RefreshableNFTAttributes {
2033
2179
  * @type RefreshMetadataByID
2034
2180
  * @export
2035
2181
  */
2036
- type RefreshMetadataByID = RefreshMetadataByIDAllOf & RefreshableNFTAttributes;
2182
+ type RefreshMetadataByID = RefreshableNFTAttributes;
2037
2183
 
2038
2184
  /**
2039
2185
  * Immutable zkEVM API
@@ -2061,31 +2207,6 @@ interface RefreshMetadataByIDRequest {
2061
2207
  'metadata'?: Array<RefreshMetadataByID>;
2062
2208
  }
2063
2209
 
2064
- /**
2065
- * Immutable zkEVM API
2066
- * Immutable Multi Rollup API
2067
- *
2068
- * The version of the OpenAPI document: 1.0.0
2069
- * Contact: support@immutable.com
2070
- *
2071
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2072
- * https://openapi-generator.tech
2073
- * Do not edit the class manually.
2074
- */
2075
- /**
2076
- *
2077
- * @export
2078
- * @interface RefreshMetadataByTokenIDAllOf
2079
- */
2080
- interface RefreshMetadataByTokenIDAllOf {
2081
- /**
2082
- * An `uint256` token id as string
2083
- * @type {string}
2084
- * @memberof RefreshMetadataByTokenIDAllOf
2085
- */
2086
- 'token_id': string;
2087
- }
2088
-
2089
2210
  /**
2090
2211
  * Immutable zkEVM API
2091
2212
  * Immutable Multi Rollup API
@@ -2102,7 +2223,7 @@ interface RefreshMetadataByTokenIDAllOf {
2102
2223
  * @type RefreshMetadataByTokenID
2103
2224
  * @export
2104
2225
  */
2105
- type RefreshMetadataByTokenID = RefreshMetadataByTokenIDAllOf & RefreshableNFTAttributes;
2226
+ type RefreshMetadataByTokenID = RefreshableNFTAttributes;
2106
2227
 
2107
2228
  /**
2108
2229
  * Immutable zkEVM API
@@ -2268,6 +2389,12 @@ interface CollectionsApiListCollectionsRequest {
2268
2389
  * @memberof CollectionsApiListCollections
2269
2390
  */
2270
2391
  readonly chainName: string;
2392
+ /**
2393
+ * List of contract addresses to filter by
2394
+ * @type {Array<string>}
2395
+ * @memberof CollectionsApiListCollections
2396
+ */
2397
+ readonly contractAddress?: Array<string>;
2271
2398
  /**
2272
2399
  * Datetime to use as the oldest updated timestamp
2273
2400
  * @type {string}
@@ -2745,6 +2872,796 @@ interface TokensApiListERC20TokensRequest {
2745
2872
  readonly pageSize?: number;
2746
2873
  }
2747
2874
 
2875
+ /**
2876
+ * Immutable zkEVM API
2877
+ * Immutable Multi Rollup API
2878
+ *
2879
+ * The version of the OpenAPI document: 1.0.0
2880
+ * Contact: support@immutable.com
2881
+ *
2882
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2883
+ * https://openapi-generator.tech
2884
+ * Do not edit the class manually.
2885
+ */
2886
+
2887
+ /**
2888
+ * Request parameters for getActivity operation in ActivitiesApi.
2889
+ * @export
2890
+ * @interface GetActivityRequest
2891
+ */
2892
+ interface GetActivityRequest {
2893
+ /**
2894
+ * The name of chain
2895
+ * @type {string}
2896
+ * @memberof GetActivity
2897
+ */
2898
+ readonly chainName: string;
2899
+ /**
2900
+ * The id of activity
2901
+ * @type {string}
2902
+ * @memberof GetActivity
2903
+ */
2904
+ readonly activityId: string;
2905
+ }
2906
+ /**
2907
+ * Request parameters for listActivities operation in ActivitiesApi.
2908
+ * @export
2909
+ * @interface ListActivitiesRequest
2910
+ */
2911
+ interface ListActivitiesRequest {
2912
+ /**
2913
+ * The name of chain
2914
+ * @type {string}
2915
+ * @memberof ListActivities
2916
+ */
2917
+ readonly chainName: string;
2918
+ /**
2919
+ * The contract address of NFT or ERC20 Token
2920
+ * @type {string}
2921
+ * @memberof ListActivities
2922
+ */
2923
+ readonly contractAddress?: string;
2924
+ /**
2925
+ * An &#x60;uint256&#x60; token id as string
2926
+ * @type {string}
2927
+ * @memberof ListActivities
2928
+ */
2929
+ readonly tokenId?: string;
2930
+ /**
2931
+ * The account address activity contains
2932
+ * @type {string}
2933
+ * @memberof ListActivities
2934
+ */
2935
+ readonly accountAddress?: string;
2936
+ /**
2937
+ * The activity type
2938
+ * @type {ActivityType}
2939
+ * @memberof ListActivities
2940
+ */
2941
+ readonly activityType?: ActivityType$1;
2942
+ /**
2943
+ * From indexed at including given date
2944
+ * @type {string}
2945
+ * @memberof ListActivities
2946
+ */
2947
+ readonly fromIndexedAt?: string;
2948
+ /**
2949
+ * To indexed at including given date
2950
+ * @type {string}
2951
+ * @memberof ListActivities
2952
+ */
2953
+ readonly toIndexedAt?: string;
2954
+ /**
2955
+ * The transaction hash of activity
2956
+ * @type {string}
2957
+ * @memberof ListActivities
2958
+ */
2959
+ readonly transactionHash?: string;
2960
+ /**
2961
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2962
+ * @type {string}
2963
+ * @memberof ListActivities
2964
+ */
2965
+ readonly pageCursor?: string;
2966
+ /**
2967
+ * Maximum number of items to return
2968
+ * @type {number}
2969
+ * @memberof ListActivities
2970
+ */
2971
+ readonly pageSize?: number;
2972
+ }
2973
+
2974
+ type activitiesApiTypes_d_APIError400 = APIError400;
2975
+ type activitiesApiTypes_d_APIError404 = APIError404;
2976
+ type activitiesApiTypes_d_APIError500 = APIError500;
2977
+ type activitiesApiTypes_d_GetActivityRequest = GetActivityRequest;
2978
+ type activitiesApiTypes_d_GetActivityResult = GetActivityResult;
2979
+ type activitiesApiTypes_d_ListActivitiesRequest = ListActivitiesRequest;
2980
+ type activitiesApiTypes_d_ListActivitiesResult = ListActivitiesResult;
2981
+ declare namespace activitiesApiTypes_d {
2982
+ export {
2983
+ activitiesApiTypes_d_APIError400 as APIError400,
2984
+ activitiesApiTypes_d_APIError404 as APIError404,
2985
+ activitiesApiTypes_d_APIError500 as APIError500,
2986
+ ActivityType$1 as ActivityType,
2987
+ activitiesApiTypes_d_GetActivityRequest as GetActivityRequest,
2988
+ activitiesApiTypes_d_GetActivityResult as GetActivityResult,
2989
+ activitiesApiTypes_d_ListActivitiesRequest as ListActivitiesRequest,
2990
+ activitiesApiTypes_d_ListActivitiesResult as ListActivitiesResult,
2991
+ };
2992
+ }
2993
+
2994
+ /**
2995
+ * Immutable zkEVM API
2996
+ * Immutable Multi Rollup API
2997
+ *
2998
+ * The version of the OpenAPI document: 1.0.0
2999
+ * Contact: support@immutable.com
3000
+ *
3001
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3002
+ * https://openapi-generator.tech
3003
+ * Do not edit the class manually.
3004
+ */
3005
+
3006
+ /**
3007
+ * Request parameters for listChains operation in ChainsApi.
3008
+ * @export
3009
+ * @interface ListChainsRequest
3010
+ */
3011
+ interface ListChainsRequest {
3012
+ /**
3013
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3014
+ * @type {string}
3015
+ * @memberof ListChains
3016
+ */
3017
+ readonly pageCursor?: string;
3018
+ /**
3019
+ * Maximum number of items to return
3020
+ * @type {number}
3021
+ * @memberof ListChains
3022
+ */
3023
+ readonly pageSize?: number;
3024
+ }
3025
+
3026
+ type chainsApiTypes_d_APIError400 = APIError400;
3027
+ type chainsApiTypes_d_APIError404 = APIError404;
3028
+ type chainsApiTypes_d_APIError500 = APIError500;
3029
+ type chainsApiTypes_d_ListChainsRequest = ListChainsRequest;
3030
+ type chainsApiTypes_d_ListChainsResult = ListChainsResult;
3031
+ declare namespace chainsApiTypes_d {
3032
+ export {
3033
+ chainsApiTypes_d_APIError400 as APIError400,
3034
+ chainsApiTypes_d_APIError404 as APIError404,
3035
+ chainsApiTypes_d_APIError500 as APIError500,
3036
+ chainsApiTypes_d_ListChainsRequest as ListChainsRequest,
3037
+ chainsApiTypes_d_ListChainsResult as ListChainsResult,
3038
+ };
3039
+ }
3040
+
3041
+ /**
3042
+ * Immutable zkEVM API
3043
+ * Immutable Multi Rollup API
3044
+ *
3045
+ * The version of the OpenAPI document: 1.0.0
3046
+ * Contact: support@immutable.com
3047
+ *
3048
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3049
+ * https://openapi-generator.tech
3050
+ * Do not edit the class manually.
3051
+ */
3052
+
3053
+ /**
3054
+ * Request parameters for getCollection operation in CollectionsApi.
3055
+ * @export
3056
+ * @interface GetCollectionRequest
3057
+ */
3058
+ interface GetCollectionRequest {
3059
+ /**
3060
+ * The address contract
3061
+ * @type {string}
3062
+ * @memberof GetCollection
3063
+ */
3064
+ readonly contractAddress: string;
3065
+ /**
3066
+ * The name of chain
3067
+ * @type {string}
3068
+ * @memberof GetCollection
3069
+ */
3070
+ readonly chainName: string;
3071
+ }
3072
+ /**
3073
+ * Request parameters for listCollections operation in CollectionsApi.
3074
+ * @export
3075
+ * @interface ListCollectionsRequest
3076
+ */
3077
+ interface ListCollectionsRequest {
3078
+ /**
3079
+ * The name of chain
3080
+ * @type {string}
3081
+ * @memberof ListCollections
3082
+ */
3083
+ readonly chainName: string;
3084
+ /**
3085
+ * List of contract addresses to filter by
3086
+ * @type {Array<string>}
3087
+ * @memberof ListCollections
3088
+ */
3089
+ readonly contractAddress?: Array<string>;
3090
+ /**
3091
+ * Datetime to use as the oldest updated timestamp
3092
+ * @type {string}
3093
+ * @memberof ListCollections
3094
+ */
3095
+ readonly fromUpdatedAt?: string;
3096
+ /**
3097
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3098
+ * @type {string}
3099
+ * @memberof ListCollections
3100
+ */
3101
+ readonly pageCursor?: string;
3102
+ /**
3103
+ * Maximum number of items to return
3104
+ * @type {number}
3105
+ * @memberof ListCollections
3106
+ */
3107
+ readonly pageSize?: number;
3108
+ }
3109
+ /**
3110
+ * Request parameters for listCollectionsByNFTOwner operation in CollectionsApi.
3111
+ * @export
3112
+ * @interface ListCollectionsByNFTOwnerRequest
3113
+ */
3114
+ interface ListCollectionsByNFTOwnerRequest {
3115
+ /**
3116
+ * Account address
3117
+ * @type {string}
3118
+ * @memberof ListCollectionsByNFTOwner
3119
+ */
3120
+ readonly accountAddress: string;
3121
+ /**
3122
+ * The name of chain
3123
+ * @type {string}
3124
+ * @memberof ListCollectionsByNFTOwner
3125
+ */
3126
+ readonly chainName: string;
3127
+ /**
3128
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3129
+ * @type {string}
3130
+ * @memberof ListCollectionsByNFTOwner
3131
+ */
3132
+ readonly pageCursor?: string;
3133
+ /**
3134
+ * Maximum number of items to return
3135
+ * @type {number}
3136
+ * @memberof ListCollectionsByNFTOwner
3137
+ */
3138
+ readonly pageSize?: number;
3139
+ }
3140
+
3141
+ type collectionsApiTypes_d_APIError400 = APIError400;
3142
+ type collectionsApiTypes_d_APIError401 = APIError401;
3143
+ type collectionsApiTypes_d_APIError403 = APIError403;
3144
+ type collectionsApiTypes_d_APIError404 = APIError404;
3145
+ type collectionsApiTypes_d_APIError500 = APIError500;
3146
+ type collectionsApiTypes_d_GetCollectionRequest = GetCollectionRequest;
3147
+ type collectionsApiTypes_d_GetCollectionResult = GetCollectionResult;
3148
+ type collectionsApiTypes_d_ListCollectionsByNFTOwnerRequest = ListCollectionsByNFTOwnerRequest;
3149
+ type collectionsApiTypes_d_ListCollectionsRequest = ListCollectionsRequest;
3150
+ type collectionsApiTypes_d_ListCollectionsResult = ListCollectionsResult;
3151
+ type collectionsApiTypes_d_RefreshCollectionMetadataRequest = RefreshCollectionMetadataRequest;
3152
+ type collectionsApiTypes_d_RefreshCollectionMetadataResult = RefreshCollectionMetadataResult;
3153
+ declare namespace collectionsApiTypes_d {
3154
+ export {
3155
+ collectionsApiTypes_d_APIError400 as APIError400,
3156
+ collectionsApiTypes_d_APIError401 as APIError401,
3157
+ collectionsApiTypes_d_APIError403 as APIError403,
3158
+ collectionsApiTypes_d_APIError404 as APIError404,
3159
+ collectionsApiTypes_d_APIError500 as APIError500,
3160
+ collectionsApiTypes_d_GetCollectionRequest as GetCollectionRequest,
3161
+ collectionsApiTypes_d_GetCollectionResult as GetCollectionResult,
3162
+ collectionsApiTypes_d_ListCollectionsByNFTOwnerRequest as ListCollectionsByNFTOwnerRequest,
3163
+ collectionsApiTypes_d_ListCollectionsRequest as ListCollectionsRequest,
3164
+ collectionsApiTypes_d_ListCollectionsResult as ListCollectionsResult,
3165
+ collectionsApiTypes_d_RefreshCollectionMetadataRequest as RefreshCollectionMetadataRequest,
3166
+ collectionsApiTypes_d_RefreshCollectionMetadataResult as RefreshCollectionMetadataResult,
3167
+ };
3168
+ }
3169
+
3170
+ /**
3171
+ * Immutable zkEVM API
3172
+ * Immutable Multi Rollup API
3173
+ *
3174
+ * The version of the OpenAPI document: 1.0.0
3175
+ * Contact: support@immutable.com
3176
+ *
3177
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3178
+ * https://openapi-generator.tech
3179
+ * Do not edit the class manually.
3180
+ */
3181
+
3182
+ /**
3183
+ * Request parameters for getMetadata operation in MetadataApi.
3184
+ * @export
3185
+ * @interface GetMetadataRequest
3186
+ */
3187
+ interface GetMetadataRequest {
3188
+ /**
3189
+ * The name of chain
3190
+ * @type {string}
3191
+ * @memberof GetMetadata
3192
+ */
3193
+ readonly chainName: string;
3194
+ /**
3195
+ * The address of metadata contract
3196
+ * @type {string}
3197
+ * @memberof GetMetadata
3198
+ */
3199
+ readonly contractAddress: string;
3200
+ /**
3201
+ * The id of the metadata
3202
+ * @type {string}
3203
+ * @memberof GetMetadata
3204
+ */
3205
+ readonly metadataId: string;
3206
+ }
3207
+ /**
3208
+ * Request parameters for listMetadata operation in MetadataApi.
3209
+ * @export
3210
+ * @interface ListMetadataRequest
3211
+ */
3212
+ interface ListMetadataRequest {
3213
+ /**
3214
+ * The name of chain
3215
+ * @type {string}
3216
+ * @memberof ListMetadata
3217
+ */
3218
+ readonly chainName: string;
3219
+ /**
3220
+ * The address of metadata contract
3221
+ * @type {string}
3222
+ * @memberof ListMetadata
3223
+ */
3224
+ readonly contractAddress: string;
3225
+ /**
3226
+ * Datetime to use as the oldest updated timestamp
3227
+ * @type {string}
3228
+ * @memberof ListMetadata
3229
+ */
3230
+ readonly fromUpdatedAt?: string;
3231
+ /**
3232
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3233
+ * @type {string}
3234
+ * @memberof ListMetadata
3235
+ */
3236
+ readonly pageCursor?: string;
3237
+ /**
3238
+ * Maximum number of items to return
3239
+ * @type {number}
3240
+ * @memberof ListMetadata
3241
+ */
3242
+ readonly pageSize?: number;
3243
+ }
3244
+
3245
+ type metadataApiTypes_d_APIError400 = APIError400;
3246
+ type metadataApiTypes_d_APIError401 = APIError401;
3247
+ type metadataApiTypes_d_APIError403 = APIError403;
3248
+ type metadataApiTypes_d_APIError404 = APIError404;
3249
+ type metadataApiTypes_d_APIError429 = APIError429;
3250
+ type metadataApiTypes_d_APIError500 = APIError500;
3251
+ type metadataApiTypes_d_GetMetadataRequest = GetMetadataRequest;
3252
+ type metadataApiTypes_d_GetMetadataResult = GetMetadataResult;
3253
+ type metadataApiTypes_d_ListMetadataRequest = ListMetadataRequest;
3254
+ type metadataApiTypes_d_ListMetadataResult = ListMetadataResult;
3255
+ type metadataApiTypes_d_MetadataRefreshRateLimitResult = MetadataRefreshRateLimitResult;
3256
+ type metadataApiTypes_d_RefreshMetadataByIDRequest = RefreshMetadataByIDRequest;
3257
+ type metadataApiTypes_d_RefreshNFTMetadataByTokenIDRequest = RefreshNFTMetadataByTokenIDRequest;
3258
+ declare namespace metadataApiTypes_d {
3259
+ export {
3260
+ metadataApiTypes_d_APIError400 as APIError400,
3261
+ metadataApiTypes_d_APIError401 as APIError401,
3262
+ metadataApiTypes_d_APIError403 as APIError403,
3263
+ metadataApiTypes_d_APIError404 as APIError404,
3264
+ metadataApiTypes_d_APIError429 as APIError429,
3265
+ metadataApiTypes_d_APIError500 as APIError500,
3266
+ metadataApiTypes_d_GetMetadataRequest as GetMetadataRequest,
3267
+ metadataApiTypes_d_GetMetadataResult as GetMetadataResult,
3268
+ metadataApiTypes_d_ListMetadataRequest as ListMetadataRequest,
3269
+ metadataApiTypes_d_ListMetadataResult as ListMetadataResult,
3270
+ metadataApiTypes_d_MetadataRefreshRateLimitResult as MetadataRefreshRateLimitResult,
3271
+ metadataApiTypes_d_RefreshMetadataByIDRequest as RefreshMetadataByIDRequest,
3272
+ metadataApiTypes_d_RefreshNFTMetadataByTokenIDRequest as RefreshNFTMetadataByTokenIDRequest,
3273
+ };
3274
+ }
3275
+
3276
+ /**
3277
+ * Immutable zkEVM API
3278
+ * Immutable Multi Rollup API
3279
+ *
3280
+ * The version of the OpenAPI document: 1.0.0
3281
+ * Contact: support@immutable.com
3282
+ *
3283
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3284
+ * https://openapi-generator.tech
3285
+ * Do not edit the class manually.
3286
+ */
3287
+
3288
+ /**
3289
+ * Request parameters for listNFTOwners operation in NftOwnersApi.
3290
+ * @export
3291
+ * @interface ListNFTOwnersRequest
3292
+ */
3293
+ interface ListNFTOwnersRequest {
3294
+ /**
3295
+ * The address of contract
3296
+ * @type {string}
3297
+ * @memberof ListNFTOwners
3298
+ */
3299
+ readonly contractAddress: string;
3300
+ /**
3301
+ * An &#x60;uint256&#x60; token id as string
3302
+ * @type {string}
3303
+ * @memberof ListNFTOwners
3304
+ */
3305
+ readonly tokenId: string;
3306
+ /**
3307
+ * The name of chain
3308
+ * @type {string}
3309
+ * @memberof ListNFTOwners
3310
+ */
3311
+ readonly chainName: string;
3312
+ /**
3313
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3314
+ * @type {string}
3315
+ * @memberof ListNFTOwners
3316
+ */
3317
+ readonly pageCursor?: string;
3318
+ /**
3319
+ * Maximum number of items to return
3320
+ * @type {number}
3321
+ * @memberof ListNFTOwners
3322
+ */
3323
+ readonly pageSize?: number;
3324
+ }
3325
+ /**
3326
+ * Request parameters for listOwnersByContractAddress operation in NftOwnersApi.
3327
+ * @export
3328
+ * @interface ListOwnersByContractAddressRequest
3329
+ */
3330
+ interface ListOwnersByContractAddressRequest {
3331
+ /**
3332
+ * The address of contract
3333
+ * @type {string}
3334
+ * @memberof ListOwnersByContractAddress
3335
+ */
3336
+ readonly contractAddress: string;
3337
+ /**
3338
+ * The name of chain
3339
+ * @type {string}
3340
+ * @memberof ListOwnersByContractAddress
3341
+ */
3342
+ readonly chainName: string;
3343
+ /**
3344
+ * Datetime to use as the oldest updated timestamp
3345
+ * @type {string}
3346
+ * @memberof ListOwnersByContractAddress
3347
+ */
3348
+ readonly fromUpdatedAt?: string;
3349
+ /**
3350
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3351
+ * @type {string}
3352
+ * @memberof ListOwnersByContractAddress
3353
+ */
3354
+ readonly pageCursor?: string;
3355
+ /**
3356
+ * Maximum number of items to return
3357
+ * @type {number}
3358
+ * @memberof ListOwnersByContractAddress
3359
+ */
3360
+ readonly pageSize?: number;
3361
+ }
3362
+
3363
+ type nftOwnersApiTypes_d_APIError400 = APIError400;
3364
+ type nftOwnersApiTypes_d_APIError404 = APIError404;
3365
+ type nftOwnersApiTypes_d_APIError500 = APIError500;
3366
+ type nftOwnersApiTypes_d_ListCollectionOwnersResult = ListCollectionOwnersResult;
3367
+ type nftOwnersApiTypes_d_ListNFTOwnersRequest = ListNFTOwnersRequest;
3368
+ type nftOwnersApiTypes_d_ListNFTOwnersResult = ListNFTOwnersResult;
3369
+ type nftOwnersApiTypes_d_ListOwnersByContractAddressRequest = ListOwnersByContractAddressRequest;
3370
+ declare namespace nftOwnersApiTypes_d {
3371
+ export {
3372
+ nftOwnersApiTypes_d_APIError400 as APIError400,
3373
+ nftOwnersApiTypes_d_APIError404 as APIError404,
3374
+ nftOwnersApiTypes_d_APIError500 as APIError500,
3375
+ nftOwnersApiTypes_d_ListCollectionOwnersResult as ListCollectionOwnersResult,
3376
+ nftOwnersApiTypes_d_ListNFTOwnersRequest as ListNFTOwnersRequest,
3377
+ nftOwnersApiTypes_d_ListNFTOwnersResult as ListNFTOwnersResult,
3378
+ nftOwnersApiTypes_d_ListOwnersByContractAddressRequest as ListOwnersByContractAddressRequest,
3379
+ };
3380
+ }
3381
+
3382
+ /**
3383
+ * Immutable zkEVM API
3384
+ * Immutable Multi Rollup API
3385
+ *
3386
+ * The version of the OpenAPI document: 1.0.0
3387
+ * Contact: support@immutable.com
3388
+ *
3389
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3390
+ * https://openapi-generator.tech
3391
+ * Do not edit the class manually.
3392
+ */
3393
+
3394
+ /**
3395
+ * Request parameters for getNFT operation in NftsApi.
3396
+ * @export
3397
+ * @interface GetNFTRequest
3398
+ */
3399
+ interface GetNFTRequest {
3400
+ /**
3401
+ * The address of NFT contract
3402
+ * @type {string}
3403
+ * @memberof GetNFT
3404
+ */
3405
+ readonly contractAddress: string;
3406
+ /**
3407
+ * An &#x60;uint256&#x60; token id as string
3408
+ * @type {string}
3409
+ * @memberof GetNFT
3410
+ */
3411
+ readonly tokenId: string;
3412
+ /**
3413
+ * The name of chain
3414
+ * @type {string}
3415
+ * @memberof GetNFT
3416
+ */
3417
+ readonly chainName: string;
3418
+ }
3419
+ /**
3420
+ * Request parameters for listAllNFTOwners operation in NftsApi.
3421
+ * @export
3422
+ * @interface ListAllNFTOwnersRequest
3423
+ */
3424
+ interface ListAllNFTOwnersRequest {
3425
+ /**
3426
+ * The name of chain
3427
+ * @type {string}
3428
+ * @memberof ListAllNFTOwners
3429
+ */
3430
+ readonly chainName: string;
3431
+ /**
3432
+ * Datetime to use as the oldest updated timestamp
3433
+ * @type {string}
3434
+ * @memberof ListAllNFTOwners
3435
+ */
3436
+ readonly fromUpdatedAt: string;
3437
+ /**
3438
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3439
+ * @type {string}
3440
+ * @memberof ListAllNFTOwners
3441
+ */
3442
+ readonly pageCursor?: string;
3443
+ /**
3444
+ * Maximum number of items to return
3445
+ * @type {number}
3446
+ * @memberof ListAllNFTOwners
3447
+ */
3448
+ readonly pageSize?: number;
3449
+ }
3450
+ /**
3451
+ * Request parameters for listAllNFTs operation in NftsApi.
3452
+ * @export
3453
+ * @interface ListAllNFTsRequest
3454
+ */
3455
+ interface ListAllNFTsRequest {
3456
+ /**
3457
+ * The name of chain
3458
+ * @type {string}
3459
+ * @memberof ListAllNFTs
3460
+ */
3461
+ readonly chainName: string;
3462
+ /**
3463
+ * Datetime to use as the oldest updated timestamp
3464
+ * @type {string}
3465
+ * @memberof ListAllNFTs
3466
+ */
3467
+ readonly fromUpdatedAt?: string;
3468
+ /**
3469
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3470
+ * @type {string}
3471
+ * @memberof ListAllNFTs
3472
+ */
3473
+ readonly pageCursor?: string;
3474
+ /**
3475
+ * Maximum number of items to return
3476
+ * @type {number}
3477
+ * @memberof ListAllNFTs
3478
+ */
3479
+ readonly pageSize?: number;
3480
+ }
3481
+ /**
3482
+ * Request parameters for listNFTs operation in NftsApi.
3483
+ * @export
3484
+ * @interface ListNFTsRequest
3485
+ */
3486
+ interface ListNFTsRequest {
3487
+ /**
3488
+ * Contract address
3489
+ * @type {string}
3490
+ * @memberof ListNFTs
3491
+ */
3492
+ readonly contractAddress: string;
3493
+ /**
3494
+ * The name of chain
3495
+ * @type {string}
3496
+ * @memberof ListNFTs
3497
+ */
3498
+ readonly chainName: string;
3499
+ /**
3500
+ * Datetime to use as the oldest updated timestamp
3501
+ * @type {string}
3502
+ * @memberof ListNFTs
3503
+ */
3504
+ readonly fromUpdatedAt?: string;
3505
+ /**
3506
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3507
+ * @type {string}
3508
+ * @memberof ListNFTs
3509
+ */
3510
+ readonly pageCursor?: string;
3511
+ /**
3512
+ * Maximum number of items to return
3513
+ * @type {number}
3514
+ * @memberof ListNFTs
3515
+ */
3516
+ readonly pageSize?: number;
3517
+ }
3518
+ /**
3519
+ * Request parameters for listNFTsByAccountAddress operation in NftsApi.
3520
+ * @export
3521
+ * @interface ListNFTsByAccountAddressRequest
3522
+ */
3523
+ interface ListNFTsByAccountAddressRequest {
3524
+ /**
3525
+ * Account address
3526
+ * @type {string}
3527
+ * @memberof ListNFTsByAccountAddress
3528
+ */
3529
+ readonly accountAddress: string;
3530
+ /**
3531
+ * The name of chain
3532
+ * @type {string}
3533
+ * @memberof ListNFTsByAccountAddress
3534
+ */
3535
+ readonly chainName: string;
3536
+ /**
3537
+ * The address of contract
3538
+ * @type {string}
3539
+ * @memberof ListNFTsByAccountAddress
3540
+ */
3541
+ readonly contractAddress?: string;
3542
+ /**
3543
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3544
+ * @type {string}
3545
+ * @memberof ListNFTsByAccountAddress
3546
+ */
3547
+ readonly pageCursor?: string;
3548
+ /**
3549
+ * Maximum number of items to return
3550
+ * @type {number}
3551
+ * @memberof ListNFTsByAccountAddress
3552
+ */
3553
+ readonly pageSize?: number;
3554
+ }
3555
+
3556
+ type nftsApiTypes_d_APIError400 = APIError400;
3557
+ type nftsApiTypes_d_APIError404 = APIError404;
3558
+ type nftsApiTypes_d_APIError500 = APIError500;
3559
+ type nftsApiTypes_d_GetNFTRequest = GetNFTRequest;
3560
+ type nftsApiTypes_d_GetNFTResult = GetNFTResult;
3561
+ type nftsApiTypes_d_ListAllNFTOwnersRequest = ListAllNFTOwnersRequest;
3562
+ type nftsApiTypes_d_ListAllNFTsRequest = ListAllNFTsRequest;
3563
+ type nftsApiTypes_d_ListNFTOwnersResult = ListNFTOwnersResult;
3564
+ type nftsApiTypes_d_ListNFTsByAccountAddressRequest = ListNFTsByAccountAddressRequest;
3565
+ type nftsApiTypes_d_ListNFTsRequest = ListNFTsRequest;
3566
+ type nftsApiTypes_d_ListNFTsResult = ListNFTsResult;
3567
+ declare namespace nftsApiTypes_d {
3568
+ export {
3569
+ nftsApiTypes_d_APIError400 as APIError400,
3570
+ nftsApiTypes_d_APIError404 as APIError404,
3571
+ nftsApiTypes_d_APIError500 as APIError500,
3572
+ nftsApiTypes_d_GetNFTRequest as GetNFTRequest,
3573
+ nftsApiTypes_d_GetNFTResult as GetNFTResult,
3574
+ nftsApiTypes_d_ListAllNFTOwnersRequest as ListAllNFTOwnersRequest,
3575
+ nftsApiTypes_d_ListAllNFTsRequest as ListAllNFTsRequest,
3576
+ nftsApiTypes_d_ListNFTOwnersResult as ListNFTOwnersResult,
3577
+ nftsApiTypes_d_ListNFTsByAccountAddressRequest as ListNFTsByAccountAddressRequest,
3578
+ nftsApiTypes_d_ListNFTsRequest as ListNFTsRequest,
3579
+ nftsApiTypes_d_ListNFTsResult as ListNFTsResult,
3580
+ };
3581
+ }
3582
+
3583
+ /**
3584
+ * Immutable zkEVM API
3585
+ * Immutable Multi Rollup API
3586
+ *
3587
+ * The version of the OpenAPI document: 1.0.0
3588
+ * Contact: support@immutable.com
3589
+ *
3590
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3591
+ * https://openapi-generator.tech
3592
+ * Do not edit the class manually.
3593
+ */
3594
+
3595
+ /**
3596
+ * Request parameters for getERC20Token operation in TokensApi.
3597
+ * @export
3598
+ * @interface GetERC20TokenRequest
3599
+ */
3600
+ interface GetERC20TokenRequest {
3601
+ /**
3602
+ * The address of contract
3603
+ * @type {string}
3604
+ * @memberof GetERC20Token
3605
+ */
3606
+ readonly contractAddress: string;
3607
+ /**
3608
+ * The name of chain
3609
+ * @type {string}
3610
+ * @memberof GetERC20Token
3611
+ */
3612
+ readonly chainName: string;
3613
+ }
3614
+ /**
3615
+ * Request parameters for listERC20Tokens operation in TokensApi.
3616
+ * @export
3617
+ * @interface ListERC20TokensRequest
3618
+ */
3619
+ interface ListERC20TokensRequest {
3620
+ /**
3621
+ * The name of chain
3622
+ * @type {string}
3623
+ * @memberof ListERC20Tokens
3624
+ */
3625
+ readonly chainName: string;
3626
+ /**
3627
+ * Datetime to use as the oldest updated timestamp
3628
+ * @type {string}
3629
+ * @memberof ListERC20Tokens
3630
+ */
3631
+ readonly fromUpdatedAt?: string;
3632
+ /**
3633
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3634
+ * @type {string}
3635
+ * @memberof ListERC20Tokens
3636
+ */
3637
+ readonly pageCursor?: string;
3638
+ /**
3639
+ * Maximum number of items to return
3640
+ * @type {number}
3641
+ * @memberof ListERC20Tokens
3642
+ */
3643
+ readonly pageSize?: number;
3644
+ }
3645
+
3646
+ type tokensApiTypes_d_APIError400 = APIError400;
3647
+ type tokensApiTypes_d_APIError404 = APIError404;
3648
+ type tokensApiTypes_d_APIError500 = APIError500;
3649
+ type tokensApiTypes_d_GetERC20TokenRequest = GetERC20TokenRequest;
3650
+ type tokensApiTypes_d_GetTokenResult = GetTokenResult;
3651
+ type tokensApiTypes_d_ListERC20TokensRequest = ListERC20TokensRequest;
3652
+ type tokensApiTypes_d_ListTokensResult = ListTokensResult;
3653
+ declare namespace tokensApiTypes_d {
3654
+ export {
3655
+ tokensApiTypes_d_APIError400 as APIError400,
3656
+ tokensApiTypes_d_APIError404 as APIError404,
3657
+ tokensApiTypes_d_APIError500 as APIError500,
3658
+ tokensApiTypes_d_GetERC20TokenRequest as GetERC20TokenRequest,
3659
+ tokensApiTypes_d_GetTokenResult as GetTokenResult,
3660
+ tokensApiTypes_d_ListERC20TokensRequest as ListERC20TokensRequest,
3661
+ tokensApiTypes_d_ListTokensResult as ListTokensResult,
3662
+ };
3663
+ }
3664
+
2748
3665
  interface OpenAPIError extends BasicAPIError {
2749
3666
  code: string;
2750
3667
  details: {
@@ -2948,4 +3865,4 @@ declare class BlockchainData {
2948
3865
 
2949
3866
  type ActivityType = ActivityType$1;
2950
3867
 
2951
- export { APIError, ActivityType, BlockchainData, BlockchainDataModuleConfiguration };
3868
+ export { APIError, activitiesApiTypes_d as ActivitiesApi, ActivityType, BlockchainData, BlockchainDataModuleConfiguration, chainsApiTypes_d as ChainsApi, collectionsApiTypes_d as CollectionsApi, metadataApiTypes_d as MetadataApi, nftOwnersApiTypes_d as NFTOwnersApi, nftsApiTypes_d as NFTsApi, tokensApiTypes_d as TokensApi };