@imtbl/sdk 0.35.7 → 0.35.8

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.
@@ -82,6 +82,41 @@ declare class Configuration {
82
82
  isJsonMime(mime: string): boolean;
83
83
  }
84
84
 
85
+ /**
86
+ * Immutable zkEVM API
87
+ * Immutable Multi Rollup API
88
+ *
89
+ * The version of the OpenAPI document: 1.0.0
90
+ * Contact: support@immutable.com
91
+ *
92
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
93
+ * https://openapi-generator.tech
94
+ * Do not edit the class manually.
95
+ */
96
+ /**
97
+ *
98
+ * @export
99
+ * @interface APIError400AllOf
100
+ */
101
+ interface APIError400AllOf {
102
+ /**
103
+ * Error Code
104
+ * @type {string}
105
+ * @memberof APIError400AllOf
106
+ */
107
+ 'code': APIError400AllOfCodeEnum;
108
+ /**
109
+ * Additional details to help resolve the error
110
+ * @type {object}
111
+ * @memberof APIError400AllOf
112
+ */
113
+ 'details': object | null;
114
+ }
115
+ declare const APIError400AllOfCodeEnum: {
116
+ readonly ValidationError: "VALIDATION_ERROR";
117
+ };
118
+ type APIError400AllOfCodeEnum = typeof APIError400AllOfCodeEnum[keyof typeof APIError400AllOfCodeEnum];
119
+
85
120
  /**
86
121
  * Immutable zkEVM API
87
122
  * Immutable Multi Rollup API
@@ -135,7 +170,42 @@ interface BasicAPIError {
135
170
  * @type APIError400
136
171
  * @export
137
172
  */
138
- type APIError400 = BasicAPIError;
173
+ type APIError400 = APIError400AllOf & BasicAPIError;
174
+
175
+ /**
176
+ * Immutable zkEVM API
177
+ * Immutable Multi Rollup API
178
+ *
179
+ * The version of the OpenAPI document: 1.0.0
180
+ * Contact: support@immutable.com
181
+ *
182
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
183
+ * https://openapi-generator.tech
184
+ * Do not edit the class manually.
185
+ */
186
+ /**
187
+ *
188
+ * @export
189
+ * @interface APIError401AllOf
190
+ */
191
+ interface APIError401AllOf {
192
+ /**
193
+ * Error Code
194
+ * @type {string}
195
+ * @memberof APIError401AllOf
196
+ */
197
+ 'code': APIError401AllOfCodeEnum;
198
+ /**
199
+ * Additional details to help resolve the error
200
+ * @type {object}
201
+ * @memberof APIError401AllOf
202
+ */
203
+ 'details': object | null;
204
+ }
205
+ declare const APIError401AllOfCodeEnum: {
206
+ readonly UnauthorisedRequest: "UNAUTHORISED_REQUEST";
207
+ };
208
+ type APIError401AllOfCodeEnum = typeof APIError401AllOfCodeEnum[keyof typeof APIError401AllOfCodeEnum];
139
209
 
140
210
  /**
141
211
  * Immutable zkEVM API
@@ -153,7 +223,42 @@ type APIError400 = BasicAPIError;
153
223
  * @type APIError401
154
224
  * @export
155
225
  */
156
- type APIError401 = BasicAPIError;
226
+ type APIError401 = APIError401AllOf & 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
+ * @export
242
+ * @interface APIError403AllOf
243
+ */
244
+ interface APIError403AllOf {
245
+ /**
246
+ * Error Code
247
+ * @type {string}
248
+ * @memberof APIError403AllOf
249
+ */
250
+ 'code': APIError403AllOfCodeEnum;
251
+ /**
252
+ * Additional details to help resolve the error
253
+ * @type {object}
254
+ * @memberof APIError403AllOf
255
+ */
256
+ 'details': object | null;
257
+ }
258
+ declare const APIError403AllOfCodeEnum: {
259
+ readonly AuthenticationError: "AUTHENTICATION_ERROR";
260
+ };
261
+ type APIError403AllOfCodeEnum = typeof APIError403AllOfCodeEnum[keyof typeof APIError403AllOfCodeEnum];
157
262
 
158
263
  /**
159
264
  * Immutable zkEVM API
@@ -171,7 +276,42 @@ type APIError401 = BasicAPIError;
171
276
  * @type APIError403
172
277
  * @export
173
278
  */
174
- type APIError403 = BasicAPIError;
279
+ type APIError403 = APIError403AllOf & BasicAPIError;
280
+
281
+ /**
282
+ * Immutable zkEVM API
283
+ * Immutable Multi Rollup API
284
+ *
285
+ * The version of the OpenAPI document: 1.0.0
286
+ * Contact: support@immutable.com
287
+ *
288
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
289
+ * https://openapi-generator.tech
290
+ * Do not edit the class manually.
291
+ */
292
+ /**
293
+ *
294
+ * @export
295
+ * @interface APIError404AllOf
296
+ */
297
+ interface APIError404AllOf {
298
+ /**
299
+ * Error Code
300
+ * @type {string}
301
+ * @memberof APIError404AllOf
302
+ */
303
+ 'code': APIError404AllOfCodeEnum;
304
+ /**
305
+ * Additional details to help resolve the error
306
+ * @type {object}
307
+ * @memberof APIError404AllOf
308
+ */
309
+ 'details': object | null;
310
+ }
311
+ declare const APIError404AllOfCodeEnum: {
312
+ readonly ResourceNotFound: "RESOURCE_NOT_FOUND";
313
+ };
314
+ type APIError404AllOfCodeEnum = typeof APIError404AllOfCodeEnum[keyof typeof APIError404AllOfCodeEnum];
175
315
 
176
316
  /**
177
317
  * Immutable zkEVM API
@@ -189,7 +329,42 @@ type APIError403 = BasicAPIError;
189
329
  * @type APIError404
190
330
  * @export
191
331
  */
192
- type APIError404 = BasicAPIError;
332
+ type APIError404 = APIError404AllOf & BasicAPIError;
333
+
334
+ /**
335
+ * Immutable zkEVM API
336
+ * Immutable Multi Rollup API
337
+ *
338
+ * The version of the OpenAPI document: 1.0.0
339
+ * Contact: support@immutable.com
340
+ *
341
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
342
+ * https://openapi-generator.tech
343
+ * Do not edit the class manually.
344
+ */
345
+ /**
346
+ *
347
+ * @export
348
+ * @interface APIError429AllOf
349
+ */
350
+ interface APIError429AllOf {
351
+ /**
352
+ * Error Code
353
+ * @type {string}
354
+ * @memberof APIError429AllOf
355
+ */
356
+ 'code': APIError429AllOfCodeEnum;
357
+ /**
358
+ * Additional details to help resolve the error
359
+ * @type {object}
360
+ * @memberof APIError429AllOf
361
+ */
362
+ 'details': object | null;
363
+ }
364
+ declare const APIError429AllOfCodeEnum: {
365
+ readonly TooManyRequestsError: "TOO_MANY_REQUESTS_ERROR";
366
+ };
367
+ type APIError429AllOfCodeEnum = typeof APIError429AllOfCodeEnum[keyof typeof APIError429AllOfCodeEnum];
193
368
 
194
369
  /**
195
370
  * Immutable zkEVM API
@@ -207,7 +382,42 @@ type APIError404 = BasicAPIError;
207
382
  * @type APIError429
208
383
  * @export
209
384
  */
210
- type APIError429 = BasicAPIError;
385
+ type APIError429 = APIError429AllOf & BasicAPIError;
386
+
387
+ /**
388
+ * Immutable zkEVM API
389
+ * Immutable Multi Rollup API
390
+ *
391
+ * The version of the OpenAPI document: 1.0.0
392
+ * Contact: support@immutable.com
393
+ *
394
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
395
+ * https://openapi-generator.tech
396
+ * Do not edit the class manually.
397
+ */
398
+ /**
399
+ *
400
+ * @export
401
+ * @interface APIError500AllOf
402
+ */
403
+ interface APIError500AllOf {
404
+ /**
405
+ * Error Code
406
+ * @type {string}
407
+ * @memberof APIError500AllOf
408
+ */
409
+ 'code': APIError500AllOfCodeEnum;
410
+ /**
411
+ * Additional details to help resolve the error
412
+ * @type {object}
413
+ * @memberof APIError500AllOf
414
+ */
415
+ 'details': object | null;
416
+ }
417
+ declare const APIError500AllOfCodeEnum: {
418
+ readonly InternalServerError: "INTERNAL_SERVER_ERROR";
419
+ };
420
+ type APIError500AllOfCodeEnum = typeof APIError500AllOfCodeEnum[keyof typeof APIError500AllOfCodeEnum];
211
421
 
212
422
  /**
213
423
  * Immutable zkEVM API
@@ -225,7 +435,7 @@ type APIError429 = BasicAPIError;
225
435
  * @type APIError500
226
436
  * @export
227
437
  */
228
- type APIError500 = BasicAPIError;
438
+ type APIError500 = APIError500AllOf & BasicAPIError;
229
439
 
230
440
  /**
231
441
  * Immutable zkEVM API
@@ -894,6 +1104,12 @@ interface Activity {
894
1104
  * @memberof Activity
895
1105
  */
896
1106
  'details': ActivityDetails;
1107
+ /**
1108
+ * The time activity was updated at
1109
+ * @type {string}
1110
+ * @memberof Activity
1111
+ */
1112
+ 'updated_at': string;
897
1113
  /**
898
1114
  * The time activity was indexed
899
1115
  * @type {string}
@@ -908,6 +1124,31 @@ interface Activity {
908
1124
  'blockchain_metadata': BlockchainMetadata | null;
909
1125
  }
910
1126
 
1127
+ /**
1128
+ * Immutable zkEVM API
1129
+ * Immutable Multi Rollup API
1130
+ *
1131
+ * The version of the OpenAPI document: 1.0.0
1132
+ * Contact: support@immutable.com
1133
+ *
1134
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1135
+ * https://openapi-generator.tech
1136
+ * Do not edit the class manually.
1137
+ */
1138
+ /**
1139
+ *
1140
+ * @export
1141
+ * @interface ChainWithDetailsAllOf
1142
+ */
1143
+ interface ChainWithDetailsAllOf {
1144
+ /**
1145
+ * URL for RPC node
1146
+ * @type {string}
1147
+ * @memberof ChainWithDetailsAllOf
1148
+ */
1149
+ 'rpc_url': string | null;
1150
+ }
1151
+
911
1152
  /**
912
1153
  * Immutable zkEVM API
913
1154
  * Immutable Multi Rollup API
@@ -924,7 +1165,7 @@ interface Activity {
924
1165
  * @type ChainWithDetails
925
1166
  * @export
926
1167
  */
927
- type ChainWithDetails = Chain;
1168
+ type ChainWithDetails = Chain & ChainWithDetailsAllOf;
928
1169
 
929
1170
  /**
930
1171
  * Immutable zkEVM API
@@ -944,6 +1185,7 @@ type ChainWithDetails = Chain;
944
1185
  */
945
1186
  declare const CollectionContractType: {
946
1187
  readonly Erc721: "ERC721";
1188
+ readonly Erc1155: "ERC1155";
947
1189
  };
948
1190
  type CollectionContractType = typeof CollectionContractType[keyof typeof CollectionContractType];
949
1191
 
@@ -1422,12 +1664,6 @@ interface NFT {
1422
1664
  * @memberof NFT
1423
1665
  */
1424
1666
  'youtube_url': string | null;
1425
- /**
1426
- * The id of mint activity of this NFT
1427
- * @type {string}
1428
- * @memberof NFT
1429
- */
1430
- 'mint_activity_id': string | null;
1431
1667
  }
1432
1668
 
1433
1669
  /**
@@ -1945,21 +2181,99 @@ interface ListNFTOwnersResult {
1945
2181
  /**
1946
2182
  *
1947
2183
  * @export
1948
- * @interface ListNFTsResult
2184
+ * @interface NFTWithBalance
1949
2185
  */
1950
- interface ListNFTsResult {
2186
+ interface NFTWithBalance {
1951
2187
  /**
1952
- * List of nfts
1953
- * @type {Array<NFT>}
1954
- * @memberof ListNFTsResult
2188
+ *
2189
+ * @type {Chain}
2190
+ * @memberof NFTWithBalance
1955
2191
  */
1956
- 'result': Array<NFT>;
2192
+ 'chain': Chain;
1957
2193
  /**
1958
- *
1959
- * @type {Page}
1960
- * @memberof ListNFTsResult
2194
+ * An `uint256` token id as string
2195
+ * @type {string}
2196
+ * @memberof NFTWithBalance
1961
2197
  */
1962
- 'page': Page;
2198
+ 'token_id': string;
2199
+ /**
2200
+ * The contract address of the NFT
2201
+ * @type {string}
2202
+ * @memberof NFTWithBalance
2203
+ */
2204
+ 'contract_address': string;
2205
+ /**
2206
+ * The contract type of the NFT
2207
+ * @type {string}
2208
+ * @memberof NFTWithBalance
2209
+ */
2210
+ 'contract_type': string;
2211
+ /**
2212
+ * When the NFT was first indexed
2213
+ * @type {string}
2214
+ * @memberof NFTWithBalance
2215
+ */
2216
+ 'indexed_at': string;
2217
+ /**
2218
+ * When the NFT owner was last updated
2219
+ * @type {string}
2220
+ * @memberof NFTWithBalance
2221
+ */
2222
+ 'updated_at': string;
2223
+ /**
2224
+ * When NFT metadata was last synced
2225
+ * @type {string}
2226
+ * @memberof NFTWithBalance
2227
+ */
2228
+ 'metadata_synced_at': string | null;
2229
+ /**
2230
+ * The id of the metadata of this NFT
2231
+ * @type {string}
2232
+ * @memberof NFTWithBalance
2233
+ */
2234
+ 'metadata_id'?: string | null;
2235
+ /**
2236
+ * The name of the NFT
2237
+ * @type {string}
2238
+ * @memberof NFTWithBalance
2239
+ */
2240
+ 'name': string | null;
2241
+ /**
2242
+ * The description of the NFT
2243
+ * @type {string}
2244
+ * @memberof NFTWithBalance
2245
+ */
2246
+ 'description': string | null;
2247
+ /**
2248
+ * The image url of the NFT
2249
+ * @type {string}
2250
+ * @memberof NFTWithBalance
2251
+ */
2252
+ 'image': string | null;
2253
+ /**
2254
+ * The external website link of NFT
2255
+ * @type {string}
2256
+ * @memberof NFTWithBalance
2257
+ */
2258
+ 'external_link': string | null;
2259
+ /**
2260
+ * The animation url of the NFT
2261
+ * @type {string}
2262
+ * @memberof NFTWithBalance
2263
+ */
2264
+ 'animation_url': string | null;
2265
+ /**
2266
+ * The youtube URL of NFT
2267
+ * @type {string}
2268
+ * @memberof NFTWithBalance
2269
+ */
2270
+ 'youtube_url': string | null;
2271
+ /**
2272
+ * The balance of NFT in the account
2273
+ * @type {string}
2274
+ * @memberof NFTWithBalance
2275
+ */
2276
+ 'balance': string;
1963
2277
  }
1964
2278
 
1965
2279
  /**
@@ -1977,19 +2291,19 @@ interface ListNFTsResult {
1977
2291
  /**
1978
2292
  *
1979
2293
  * @export
1980
- * @interface ListTokensResult
2294
+ * @interface ListNFTsByOwnerResult
1981
2295
  */
1982
- interface ListTokensResult {
2296
+ interface ListNFTsByOwnerResult {
1983
2297
  /**
1984
- * List of tokens
1985
- * @type {Array<Token>}
1986
- * @memberof ListTokensResult
2298
+ * List of nfts by owner
2299
+ * @type {Array<NFTWithBalance>}
2300
+ * @memberof ListNFTsByOwnerResult
1987
2301
  */
1988
- 'result': Array<Token>;
2302
+ 'result': Array<NFTWithBalance>;
1989
2303
  /**
1990
2304
  *
1991
2305
  * @type {Page}
1992
- * @memberof ListTokensResult
2306
+ * @memberof ListNFTsByOwnerResult
1993
2307
  */
1994
2308
  'page': Page;
1995
2309
  }
@@ -2005,36 +2319,25 @@ interface ListTokensResult {
2005
2319
  * https://openapi-generator.tech
2006
2320
  * Do not edit the class manually.
2007
2321
  */
2322
+
2008
2323
  /**
2009
2324
  *
2010
2325
  * @export
2011
- * @interface MetadataRefreshRateLimitResult
2326
+ * @interface ListNFTsResult
2012
2327
  */
2013
- interface MetadataRefreshRateLimitResult {
2328
+ interface ListNFTsResult {
2014
2329
  /**
2015
- *
2016
- * @type {string}
2017
- * @memberof MetadataRefreshRateLimitResult
2018
- */
2019
- 'imx_refreshes_limit': string;
2020
- /**
2021
- *
2022
- * @type {string}
2023
- * @memberof MetadataRefreshRateLimitResult
2024
- */
2025
- 'imx_refresh_limit_reset': string;
2026
- /**
2027
- *
2028
- * @type {string}
2029
- * @memberof MetadataRefreshRateLimitResult
2330
+ * List of nfts
2331
+ * @type {Array<NFT>}
2332
+ * @memberof ListNFTsResult
2030
2333
  */
2031
- 'imx_remaining_refreshes': string;
2334
+ 'result': Array<NFT>;
2032
2335
  /**
2033
2336
  *
2034
- * @type {string}
2035
- * @memberof MetadataRefreshRateLimitResult
2337
+ * @type {Page}
2338
+ * @memberof ListNFTsResult
2036
2339
  */
2037
- 'retry_after': string;
2340
+ 'page': Page;
2038
2341
  }
2039
2342
 
2040
2343
  /**
@@ -2052,15 +2355,21 @@ interface MetadataRefreshRateLimitResult {
2052
2355
  /**
2053
2356
  *
2054
2357
  * @export
2055
- * @interface RefreshCollectionMetadataRequest
2358
+ * @interface ListTokensResult
2056
2359
  */
2057
- interface RefreshCollectionMetadataRequest {
2360
+ interface ListTokensResult {
2361
+ /**
2362
+ * List of tokens
2363
+ * @type {Array<Token>}
2364
+ * @memberof ListTokensResult
2365
+ */
2366
+ 'result': Array<Token>;
2058
2367
  /**
2059
2368
  *
2060
- * @type {CollectionMetadata}
2061
- * @memberof RefreshCollectionMetadataRequest
2369
+ * @type {Page}
2370
+ * @memberof ListTokensResult
2062
2371
  */
2063
- 'collection_metadata': CollectionMetadata;
2372
+ 'page': Page;
2064
2373
  }
2065
2374
 
2066
2375
  /**
@@ -2074,31 +2383,36 @@ interface RefreshCollectionMetadataRequest {
2074
2383
  * https://openapi-generator.tech
2075
2384
  * Do not edit the class manually.
2076
2385
  */
2077
-
2078
2386
  /**
2079
2387
  *
2080
2388
  * @export
2081
- * @interface RefreshCollectionMetadataResult
2389
+ * @interface MetadataRefreshRateLimitResult
2082
2390
  */
2083
- interface RefreshCollectionMetadataResult {
2391
+ interface MetadataRefreshRateLimitResult {
2084
2392
  /**
2085
2393
  *
2086
2394
  * @type {string}
2087
- * @memberof RefreshCollectionMetadataResult
2395
+ * @memberof MetadataRefreshRateLimitResult
2088
2396
  */
2089
- 'contract_address': string;
2397
+ 'imx_refreshes_limit': string;
2090
2398
  /**
2091
2399
  *
2092
- * @type {Chain}
2093
- * @memberof RefreshCollectionMetadataResult
2400
+ * @type {string}
2401
+ * @memberof MetadataRefreshRateLimitResult
2094
2402
  */
2095
- 'chain': Chain;
2403
+ 'imx_refresh_limit_reset': string;
2096
2404
  /**
2097
2405
  *
2098
- * @type {CollectionMetadata}
2099
- * @memberof RefreshCollectionMetadataResult
2406
+ * @type {string}
2407
+ * @memberof MetadataRefreshRateLimitResult
2100
2408
  */
2101
- 'collection_metadata': CollectionMetadata;
2409
+ 'imx_remaining_refreshes': string;
2410
+ /**
2411
+ *
2412
+ * @type {string}
2413
+ * @memberof MetadataRefreshRateLimitResult
2414
+ */
2415
+ 'retry_after': string;
2102
2416
  }
2103
2417
 
2104
2418
  /**
@@ -2163,6 +2477,95 @@ interface RefreshableNFTAttributes {
2163
2477
  'attributes': Array<NFTMetadataAttribute> | null;
2164
2478
  }
2165
2479
 
2480
+ /**
2481
+ * Immutable zkEVM API
2482
+ * Immutable Multi Rollup API
2483
+ *
2484
+ * The version of the OpenAPI document: 1.0.0
2485
+ * Contact: support@immutable.com
2486
+ *
2487
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2488
+ * https://openapi-generator.tech
2489
+ * Do not edit the class manually.
2490
+ */
2491
+
2492
+ /**
2493
+ *
2494
+ * @export
2495
+ * @interface RefreshCollectionMetadataRequest
2496
+ */
2497
+ interface RefreshCollectionMetadataRequest {
2498
+ /**
2499
+ *
2500
+ * @type {CollectionMetadata}
2501
+ * @memberof RefreshCollectionMetadataRequest
2502
+ */
2503
+ 'collection_metadata': CollectionMetadata;
2504
+ }
2505
+
2506
+ /**
2507
+ * Immutable zkEVM API
2508
+ * Immutable Multi Rollup API
2509
+ *
2510
+ * The version of the OpenAPI document: 1.0.0
2511
+ * Contact: support@immutable.com
2512
+ *
2513
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2514
+ * https://openapi-generator.tech
2515
+ * Do not edit the class manually.
2516
+ */
2517
+
2518
+ /**
2519
+ *
2520
+ * @export
2521
+ * @interface RefreshCollectionMetadataResult
2522
+ */
2523
+ interface RefreshCollectionMetadataResult {
2524
+ /**
2525
+ *
2526
+ * @type {string}
2527
+ * @memberof RefreshCollectionMetadataResult
2528
+ */
2529
+ 'contract_address': string;
2530
+ /**
2531
+ *
2532
+ * @type {Chain}
2533
+ * @memberof RefreshCollectionMetadataResult
2534
+ */
2535
+ 'chain': Chain;
2536
+ /**
2537
+ *
2538
+ * @type {CollectionMetadata}
2539
+ * @memberof RefreshCollectionMetadataResult
2540
+ */
2541
+ 'collection_metadata': CollectionMetadata;
2542
+ }
2543
+
2544
+ /**
2545
+ * Immutable zkEVM API
2546
+ * Immutable Multi Rollup API
2547
+ *
2548
+ * The version of the OpenAPI document: 1.0.0
2549
+ * Contact: support@immutable.com
2550
+ *
2551
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2552
+ * https://openapi-generator.tech
2553
+ * Do not edit the class manually.
2554
+ */
2555
+ /**
2556
+ *
2557
+ * @export
2558
+ * @interface RefreshMetadataByIDAllOf
2559
+ */
2560
+ interface RefreshMetadataByIDAllOf {
2561
+ /**
2562
+ * Metadata ID in UUIDv4 format
2563
+ * @type {string}
2564
+ * @memberof RefreshMetadataByIDAllOf
2565
+ */
2566
+ 'metadata_id': string;
2567
+ }
2568
+
2166
2569
  /**
2167
2570
  * Immutable zkEVM API
2168
2571
  * Immutable Multi Rollup API
@@ -2179,7 +2582,7 @@ interface RefreshableNFTAttributes {
2179
2582
  * @type RefreshMetadataByID
2180
2583
  * @export
2181
2584
  */
2182
- type RefreshMetadataByID = RefreshableNFTAttributes;
2585
+ type RefreshMetadataByID = RefreshMetadataByIDAllOf & RefreshableNFTAttributes;
2183
2586
 
2184
2587
  /**
2185
2588
  * Immutable zkEVM API
@@ -2207,6 +2610,31 @@ interface RefreshMetadataByIDRequest {
2207
2610
  'metadata'?: Array<RefreshMetadataByID>;
2208
2611
  }
2209
2612
 
2613
+ /**
2614
+ * Immutable zkEVM API
2615
+ * Immutable Multi Rollup API
2616
+ *
2617
+ * The version of the OpenAPI document: 1.0.0
2618
+ * Contact: support@immutable.com
2619
+ *
2620
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2621
+ * https://openapi-generator.tech
2622
+ * Do not edit the class manually.
2623
+ */
2624
+ /**
2625
+ *
2626
+ * @export
2627
+ * @interface RefreshMetadataByTokenIDAllOf
2628
+ */
2629
+ interface RefreshMetadataByTokenIDAllOf {
2630
+ /**
2631
+ * An `uint256` token id as string
2632
+ * @type {string}
2633
+ * @memberof RefreshMetadataByTokenIDAllOf
2634
+ */
2635
+ 'token_id': string;
2636
+ }
2637
+
2210
2638
  /**
2211
2639
  * Immutable zkEVM API
2212
2640
  * Immutable Multi Rollup API
@@ -2223,7 +2651,7 @@ interface RefreshMetadataByIDRequest {
2223
2651
  * @type RefreshMetadataByTokenID
2224
2652
  * @export
2225
2653
  */
2226
- type RefreshMetadataByTokenID = RefreshableNFTAttributes;
2654
+ type RefreshMetadataByTokenID = RefreshMetadataByTokenIDAllOf & RefreshableNFTAttributes;
2227
2655
 
2228
2656
  /**
2229
2657
  * Immutable zkEVM API
@@ -2307,33 +2735,64 @@ interface ActivitiesApiListActivitiesRequest {
2307
2735
  */
2308
2736
  readonly activityType?: ActivityType$1;
2309
2737
  /**
2310
- * From indexed at including given date
2738
+ * The transaction hash of activity
2311
2739
  * @type {string}
2312
2740
  * @memberof ActivitiesApiListActivities
2313
2741
  */
2314
- readonly fromIndexedAt?: string;
2742
+ readonly transactionHash?: string;
2315
2743
  /**
2316
- * To indexed at including given date
2744
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2317
2745
  * @type {string}
2318
2746
  * @memberof ActivitiesApiListActivities
2319
2747
  */
2320
- readonly toIndexedAt?: string;
2748
+ readonly pageCursor?: string;
2321
2749
  /**
2322
- * The transaction hash of activity
2323
- * @type {string}
2750
+ * Maximum number of items to return
2751
+ * @type {number}
2324
2752
  * @memberof ActivitiesApiListActivities
2325
2753
  */
2326
- readonly transactionHash?: string;
2754
+ readonly pageSize?: number;
2755
+ }
2756
+ /**
2757
+ * Request parameters for listActivityHistory operation in ActivitiesApi.
2758
+ * @export
2759
+ * @interface ActivitiesApiListActivityHistoryRequest
2760
+ */
2761
+ interface ActivitiesApiListActivityHistoryRequest {
2762
+ /**
2763
+ * The name of chain
2764
+ * @type {string}
2765
+ * @memberof ActivitiesApiListActivityHistory
2766
+ */
2767
+ readonly chainName: string;
2768
+ /**
2769
+ * From indexed at including given date
2770
+ * @type {string}
2771
+ * @memberof ActivitiesApiListActivityHistory
2772
+ */
2773
+ readonly fromUpdatedAt: string;
2774
+ /**
2775
+ * To indexed at including given date
2776
+ * @type {string}
2777
+ * @memberof ActivitiesApiListActivityHistory
2778
+ */
2779
+ readonly toUpdatedAt?: string;
2780
+ /**
2781
+ * The contract address of the collection
2782
+ * @type {string}
2783
+ * @memberof ActivitiesApiListActivityHistory
2784
+ */
2785
+ readonly contractAddress?: string;
2327
2786
  /**
2328
2787
  * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2329
2788
  * @type {string}
2330
- * @memberof ActivitiesApiListActivities
2789
+ * @memberof ActivitiesApiListActivityHistory
2331
2790
  */
2332
2791
  readonly pageCursor?: string;
2333
2792
  /**
2334
2793
  * Maximum number of items to return
2335
2794
  * @type {number}
2336
- * @memberof ActivitiesApiListActivities
2795
+ * @memberof ActivitiesApiListActivityHistory
2337
2796
  */
2338
2797
  readonly pageSize?: number;
2339
2798
  }
@@ -2533,6 +2992,37 @@ interface MetadataApiListMetadataRequest {
2533
2992
  */
2534
2993
  readonly pageSize?: number;
2535
2994
  }
2995
+ /**
2996
+ * Request parameters for listMetadataForChain operation in MetadataApi.
2997
+ * @export
2998
+ * @interface MetadataApiListMetadataForChainRequest
2999
+ */
3000
+ interface MetadataApiListMetadataForChainRequest {
3001
+ /**
3002
+ * The name of chain
3003
+ * @type {string}
3004
+ * @memberof MetadataApiListMetadataForChain
3005
+ */
3006
+ readonly chainName: string;
3007
+ /**
3008
+ * Datetime to use as the oldest updated timestamp
3009
+ * @type {string}
3010
+ * @memberof MetadataApiListMetadataForChain
3011
+ */
3012
+ readonly fromUpdatedAt?: string;
3013
+ /**
3014
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3015
+ * @type {string}
3016
+ * @memberof MetadataApiListMetadataForChain
3017
+ */
3018
+ readonly pageCursor?: string;
3019
+ /**
3020
+ * Maximum number of items to return
3021
+ * @type {number}
3022
+ * @memberof MetadataApiListMetadataForChain
3023
+ */
3024
+ readonly pageSize?: number;
3025
+ }
2536
3026
  /**
2537
3027
  * Request parameters for refreshMetadataByID operation in MetadataApi.
2538
3028
  * @export
@@ -2684,37 +3174,6 @@ interface NftsApiGetNFTRequest {
2684
3174
  */
2685
3175
  readonly chainName: string;
2686
3176
  }
2687
- /**
2688
- * Request parameters for listAllNFTOwners operation in NftsApi.
2689
- * @export
2690
- * @interface NftsApiListAllNFTOwnersRequest
2691
- */
2692
- interface NftsApiListAllNFTOwnersRequest {
2693
- /**
2694
- * The name of chain
2695
- * @type {string}
2696
- * @memberof NftsApiListAllNFTOwners
2697
- */
2698
- readonly chainName: string;
2699
- /**
2700
- * Datetime to use as the oldest updated timestamp
2701
- * @type {string}
2702
- * @memberof NftsApiListAllNFTOwners
2703
- */
2704
- readonly fromUpdatedAt: string;
2705
- /**
2706
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2707
- * @type {string}
2708
- * @memberof NftsApiListAllNFTOwners
2709
- */
2710
- readonly pageCursor?: string;
2711
- /**
2712
- * Maximum number of items to return
2713
- * @type {number}
2714
- * @memberof NftsApiListAllNFTOwners
2715
- */
2716
- readonly pageSize?: number;
2717
- }
2718
3177
  /**
2719
3178
  * Request parameters for listAllNFTs operation in NftsApi.
2720
3179
  * @export
@@ -2940,33 +3399,64 @@ interface ListActivitiesRequest {
2940
3399
  */
2941
3400
  readonly activityType?: ActivityType$1;
2942
3401
  /**
2943
- * From indexed at including given date
3402
+ * The transaction hash of activity
2944
3403
  * @type {string}
2945
3404
  * @memberof ListActivities
2946
3405
  */
2947
- readonly fromIndexedAt?: string;
3406
+ readonly transactionHash?: string;
2948
3407
  /**
2949
- * To indexed at including given date
3408
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2950
3409
  * @type {string}
2951
3410
  * @memberof ListActivities
2952
3411
  */
2953
- readonly toIndexedAt?: string;
3412
+ readonly pageCursor?: string;
2954
3413
  /**
2955
- * The transaction hash of activity
2956
- * @type {string}
3414
+ * Maximum number of items to return
3415
+ * @type {number}
2957
3416
  * @memberof ListActivities
2958
3417
  */
2959
- readonly transactionHash?: string;
3418
+ readonly pageSize?: number;
3419
+ }
3420
+ /**
3421
+ * Request parameters for listActivityHistory operation in ActivitiesApi.
3422
+ * @export
3423
+ * @interface ListActivityHistoryRequest
3424
+ */
3425
+ interface ListActivityHistoryRequest {
3426
+ /**
3427
+ * The name of chain
3428
+ * @type {string}
3429
+ * @memberof ListActivityHistory
3430
+ */
3431
+ readonly chainName: string;
3432
+ /**
3433
+ * From indexed at including given date
3434
+ * @type {string}
3435
+ * @memberof ListActivityHistory
3436
+ */
3437
+ readonly fromUpdatedAt: string;
3438
+ /**
3439
+ * To indexed at including given date
3440
+ * @type {string}
3441
+ * @memberof ListActivityHistory
3442
+ */
3443
+ readonly toUpdatedAt?: string;
3444
+ /**
3445
+ * The contract address of the collection
3446
+ * @type {string}
3447
+ * @memberof ListActivityHistory
3448
+ */
3449
+ readonly contractAddress?: string;
2960
3450
  /**
2961
3451
  * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2962
3452
  * @type {string}
2963
- * @memberof ListActivities
3453
+ * @memberof ListActivityHistory
2964
3454
  */
2965
3455
  readonly pageCursor?: string;
2966
3456
  /**
2967
3457
  * Maximum number of items to return
2968
3458
  * @type {number}
2969
- * @memberof ListActivities
3459
+ * @memberof ListActivityHistory
2970
3460
  */
2971
3461
  readonly pageSize?: number;
2972
3462
  }
@@ -2978,6 +3468,7 @@ type activitiesApiTypes_d_GetActivityRequest = GetActivityRequest;
2978
3468
  type activitiesApiTypes_d_GetActivityResult = GetActivityResult;
2979
3469
  type activitiesApiTypes_d_ListActivitiesRequest = ListActivitiesRequest;
2980
3470
  type activitiesApiTypes_d_ListActivitiesResult = ListActivitiesResult;
3471
+ type activitiesApiTypes_d_ListActivityHistoryRequest = ListActivityHistoryRequest;
2981
3472
  declare namespace activitiesApiTypes_d {
2982
3473
  export {
2983
3474
  activitiesApiTypes_d_APIError400 as APIError400,
@@ -2988,6 +3479,7 @@ declare namespace activitiesApiTypes_d {
2988
3479
  activitiesApiTypes_d_GetActivityResult as GetActivityResult,
2989
3480
  activitiesApiTypes_d_ListActivitiesRequest as ListActivitiesRequest,
2990
3481
  activitiesApiTypes_d_ListActivitiesResult as ListActivitiesResult,
3482
+ activitiesApiTypes_d_ListActivityHistoryRequest as ListActivityHistoryRequest,
2991
3483
  };
2992
3484
  }
2993
3485
 
@@ -3241,6 +3733,37 @@ interface ListMetadataRequest {
3241
3733
  */
3242
3734
  readonly pageSize?: number;
3243
3735
  }
3736
+ /**
3737
+ * Request parameters for listMetadataForChain operation in MetadataApi.
3738
+ * @export
3739
+ * @interface ListMetadataForChainRequest
3740
+ */
3741
+ interface ListMetadataForChainRequest {
3742
+ /**
3743
+ * The name of chain
3744
+ * @type {string}
3745
+ * @memberof ListMetadataForChain
3746
+ */
3747
+ readonly chainName: string;
3748
+ /**
3749
+ * Datetime to use as the oldest updated timestamp
3750
+ * @type {string}
3751
+ * @memberof ListMetadataForChain
3752
+ */
3753
+ readonly fromUpdatedAt?: string;
3754
+ /**
3755
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3756
+ * @type {string}
3757
+ * @memberof ListMetadataForChain
3758
+ */
3759
+ readonly pageCursor?: string;
3760
+ /**
3761
+ * Maximum number of items to return
3762
+ * @type {number}
3763
+ * @memberof ListMetadataForChain
3764
+ */
3765
+ readonly pageSize?: number;
3766
+ }
3244
3767
 
3245
3768
  type metadataApiTypes_d_APIError400 = APIError400;
3246
3769
  type metadataApiTypes_d_APIError401 = APIError401;
@@ -3250,6 +3773,7 @@ type metadataApiTypes_d_APIError429 = APIError429;
3250
3773
  type metadataApiTypes_d_APIError500 = APIError500;
3251
3774
  type metadataApiTypes_d_GetMetadataRequest = GetMetadataRequest;
3252
3775
  type metadataApiTypes_d_GetMetadataResult = GetMetadataResult;
3776
+ type metadataApiTypes_d_ListMetadataForChainRequest = ListMetadataForChainRequest;
3253
3777
  type metadataApiTypes_d_ListMetadataRequest = ListMetadataRequest;
3254
3778
  type metadataApiTypes_d_ListMetadataResult = ListMetadataResult;
3255
3779
  type metadataApiTypes_d_MetadataRefreshRateLimitResult = MetadataRefreshRateLimitResult;
@@ -3265,6 +3789,7 @@ declare namespace metadataApiTypes_d {
3265
3789
  metadataApiTypes_d_APIError500 as APIError500,
3266
3790
  metadataApiTypes_d_GetMetadataRequest as GetMetadataRequest,
3267
3791
  metadataApiTypes_d_GetMetadataResult as GetMetadataResult,
3792
+ metadataApiTypes_d_ListMetadataForChainRequest as ListMetadataForChainRequest,
3268
3793
  metadataApiTypes_d_ListMetadataRequest as ListMetadataRequest,
3269
3794
  metadataApiTypes_d_ListMetadataResult as ListMetadataResult,
3270
3795
  metadataApiTypes_d_MetadataRefreshRateLimitResult as MetadataRefreshRateLimitResult,
@@ -3285,6 +3810,37 @@ declare namespace metadataApiTypes_d {
3285
3810
  * Do not edit the class manually.
3286
3811
  */
3287
3812
 
3813
+ /**
3814
+ * Request parameters for listAllNFTOwners operation in NftOwnersApi.
3815
+ * @export
3816
+ * @interface ListAllNFTOwnersRequest
3817
+ */
3818
+ interface ListAllNFTOwnersRequest {
3819
+ /**
3820
+ * The name of chain
3821
+ * @type {string}
3822
+ * @memberof ListAllNFTOwners
3823
+ */
3824
+ readonly chainName: string;
3825
+ /**
3826
+ * Datetime to use as the oldest updated timestamp
3827
+ * @type {string}
3828
+ * @memberof ListAllNFTOwners
3829
+ */
3830
+ readonly fromUpdatedAt?: string;
3831
+ /**
3832
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3833
+ * @type {string}
3834
+ * @memberof ListAllNFTOwners
3835
+ */
3836
+ readonly pageCursor?: string;
3837
+ /**
3838
+ * Maximum number of items to return
3839
+ * @type {number}
3840
+ * @memberof ListAllNFTOwners
3841
+ */
3842
+ readonly pageSize?: number;
3843
+ }
3288
3844
  /**
3289
3845
  * Request parameters for listNFTOwners operation in NftOwnersApi.
3290
3846
  * @export
@@ -3363,6 +3919,7 @@ interface ListOwnersByContractAddressRequest {
3363
3919
  type nftOwnersApiTypes_d_APIError400 = APIError400;
3364
3920
  type nftOwnersApiTypes_d_APIError404 = APIError404;
3365
3921
  type nftOwnersApiTypes_d_APIError500 = APIError500;
3922
+ type nftOwnersApiTypes_d_ListAllNFTOwnersRequest = ListAllNFTOwnersRequest;
3366
3923
  type nftOwnersApiTypes_d_ListCollectionOwnersResult = ListCollectionOwnersResult;
3367
3924
  type nftOwnersApiTypes_d_ListNFTOwnersRequest = ListNFTOwnersRequest;
3368
3925
  type nftOwnersApiTypes_d_ListNFTOwnersResult = ListNFTOwnersResult;
@@ -3372,6 +3929,7 @@ declare namespace nftOwnersApiTypes_d {
3372
3929
  nftOwnersApiTypes_d_APIError400 as APIError400,
3373
3930
  nftOwnersApiTypes_d_APIError404 as APIError404,
3374
3931
  nftOwnersApiTypes_d_APIError500 as APIError500,
3932
+ nftOwnersApiTypes_d_ListAllNFTOwnersRequest as ListAllNFTOwnersRequest,
3375
3933
  nftOwnersApiTypes_d_ListCollectionOwnersResult as ListCollectionOwnersResult,
3376
3934
  nftOwnersApiTypes_d_ListNFTOwnersRequest as ListNFTOwnersRequest,
3377
3935
  nftOwnersApiTypes_d_ListNFTOwnersResult as ListNFTOwnersResult,
@@ -3416,37 +3974,6 @@ interface GetNFTRequest {
3416
3974
  */
3417
3975
  readonly chainName: string;
3418
3976
  }
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
3977
  /**
3451
3978
  * Request parameters for listAllNFTs operation in NftsApi.
3452
3979
  * @export
@@ -3558,10 +4085,9 @@ type nftsApiTypes_d_APIError404 = APIError404;
3558
4085
  type nftsApiTypes_d_APIError500 = APIError500;
3559
4086
  type nftsApiTypes_d_GetNFTRequest = GetNFTRequest;
3560
4087
  type nftsApiTypes_d_GetNFTResult = GetNFTResult;
3561
- type nftsApiTypes_d_ListAllNFTOwnersRequest = ListAllNFTOwnersRequest;
3562
4088
  type nftsApiTypes_d_ListAllNFTsRequest = ListAllNFTsRequest;
3563
- type nftsApiTypes_d_ListNFTOwnersResult = ListNFTOwnersResult;
3564
4089
  type nftsApiTypes_d_ListNFTsByAccountAddressRequest = ListNFTsByAccountAddressRequest;
4090
+ type nftsApiTypes_d_ListNFTsByOwnerResult = ListNFTsByOwnerResult;
3565
4091
  type nftsApiTypes_d_ListNFTsRequest = ListNFTsRequest;
3566
4092
  type nftsApiTypes_d_ListNFTsResult = ListNFTsResult;
3567
4093
  declare namespace nftsApiTypes_d {
@@ -3571,10 +4097,9 @@ declare namespace nftsApiTypes_d {
3571
4097
  nftsApiTypes_d_APIError500 as APIError500,
3572
4098
  nftsApiTypes_d_GetNFTRequest as GetNFTRequest,
3573
4099
  nftsApiTypes_d_GetNFTResult as GetNFTResult,
3574
- nftsApiTypes_d_ListAllNFTOwnersRequest as ListAllNFTOwnersRequest,
3575
4100
  nftsApiTypes_d_ListAllNFTsRequest as ListAllNFTsRequest,
3576
- nftsApiTypes_d_ListNFTOwnersResult as ListNFTOwnersResult,
3577
4101
  nftsApiTypes_d_ListNFTsByAccountAddressRequest as ListNFTsByAccountAddressRequest,
4102
+ nftsApiTypes_d_ListNFTsByOwnerResult as ListNFTsByOwnerResult,
3578
4103
  nftsApiTypes_d_ListNFTsRequest as ListNFTsRequest,
3579
4104
  nftsApiTypes_d_ListNFTsResult as ListNFTsResult,
3580
4105
  };
@@ -3741,6 +4266,13 @@ declare class BlockchainData {
3741
4266
  * @throws {@link index.APIError}
3742
4267
  */
3743
4268
  listActivities(request: ActivitiesApiListActivitiesRequest): Promise<ListActivitiesResult>;
4269
+ /**
4270
+ * List activities sorted by updated_at timestamp ascending, useful for time based data replication
4271
+ * @param request - the request object containing the parameters to be provided in the API request
4272
+ * @returns a promise that resolves with a list of activities
4273
+ * @throws {@link index.APIError}
4274
+ */
4275
+ listActivityHistory(request: ActivitiesApiListActivityHistoryRequest): Promise<ListActivitiesResult>;
3744
4276
  /**
3745
4277
  * Get a single activity by ID
3746
4278
  * @param request - the request object containing the parameters to be provided in the API request
@@ -3770,7 +4302,7 @@ declare class BlockchainData {
3770
4302
  */
3771
4303
  listCollectionsByNFTOwner(request: CollectionsApiListCollectionsByNFTOwnerRequest): Promise<ListCollectionsResult>;
3772
4304
  /**
3773
- * Get collection by contract address
4305
+ * Get a collection by contract address
3774
4306
  * @param request - the request object containing the parameters to be provided in the API request
3775
4307
  * @returns a promise that resolves with a single collection
3776
4308
  * @throws {@link index.APIError}
@@ -3824,7 +4356,7 @@ declare class BlockchainData {
3824
4356
  * @returns a promise that resolves with a list of NFT owners
3825
4357
  * @throws {@link index.APIError}
3826
4358
  */
3827
- listAllNFTOwners(request: NftsApiListAllNFTOwnersRequest): Promise<ListNFTOwnersResult>;
4359
+ listAllNFTOwners(request: NftOwnersApiListNFTOwnersRequest): Promise<ListNFTOwnersResult>;
3828
4360
  /**
3829
4361
  * List ERC20 Token contracts
3830
4362
  * @param request - the request object containing the parameters to be provided in the API request
@@ -3853,6 +4385,13 @@ declare class BlockchainData {
3853
4385
  * @throws {@link index.APIError}
3854
4386
  */
3855
4387
  listNFTMetadataByContractAddress(request: MetadataApiListMetadataRequest): Promise<ListMetadataResult>;
4388
+ /**
4389
+ * List NFT Metadata by chain
4390
+ * @param request - the request object containing the parameters to be provided in the API request
4391
+ * @returns a promise that resolves with a list of Metadata
4392
+ * @throws {@link index.APIError}
4393
+ */
4394
+ listNFTMetadataByChain(request: MetadataApiListMetadataForChainRequest): Promise<ListMetadataResult>;
3856
4395
  /**
3857
4396
  * Refresh collection metadata
3858
4397
  * @param request - the request object containing the parameters to be provided in the API request