@imtbl/sdk 0.35.7-alpha → 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.
package/dist/index.d.ts CHANGED
@@ -135,6 +135,41 @@ declare class Configuration$1 {
135
135
  isJsonMime(mime: string): boolean;
136
136
  }
137
137
 
138
+ /**
139
+ * Immutable zkEVM API
140
+ * Immutable Multi Rollup API
141
+ *
142
+ * The version of the OpenAPI document: 1.0.0
143
+ * Contact: support@immutable.com
144
+ *
145
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
146
+ * https://openapi-generator.tech
147
+ * Do not edit the class manually.
148
+ */
149
+ /**
150
+ *
151
+ * @export
152
+ * @interface APIError400AllOf
153
+ */
154
+ interface APIError400AllOf {
155
+ /**
156
+ * Error Code
157
+ * @type {string}
158
+ * @memberof APIError400AllOf
159
+ */
160
+ 'code': APIError400AllOfCodeEnum;
161
+ /**
162
+ * Additional details to help resolve the error
163
+ * @type {object}
164
+ * @memberof APIError400AllOf
165
+ */
166
+ 'details': object | null;
167
+ }
168
+ declare const APIError400AllOfCodeEnum: {
169
+ readonly ValidationError: "VALIDATION_ERROR";
170
+ };
171
+ type APIError400AllOfCodeEnum = typeof APIError400AllOfCodeEnum[keyof typeof APIError400AllOfCodeEnum];
172
+
138
173
  /**
139
174
  * Immutable zkEVM API
140
175
  * Immutable Multi Rollup API
@@ -188,7 +223,42 @@ interface BasicAPIError {
188
223
  * @type APIError400
189
224
  * @export
190
225
  */
191
- type APIError400 = BasicAPIError;
226
+ type APIError400 = APIError400AllOf & 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 APIError401AllOf
243
+ */
244
+ interface APIError401AllOf {
245
+ /**
246
+ * Error Code
247
+ * @type {string}
248
+ * @memberof APIError401AllOf
249
+ */
250
+ 'code': APIError401AllOfCodeEnum;
251
+ /**
252
+ * Additional details to help resolve the error
253
+ * @type {object}
254
+ * @memberof APIError401AllOf
255
+ */
256
+ 'details': object | null;
257
+ }
258
+ declare const APIError401AllOfCodeEnum: {
259
+ readonly UnauthorisedRequest: "UNAUTHORISED_REQUEST";
260
+ };
261
+ type APIError401AllOfCodeEnum = typeof APIError401AllOfCodeEnum[keyof typeof APIError401AllOfCodeEnum];
192
262
 
193
263
  /**
194
264
  * Immutable zkEVM API
@@ -206,7 +276,42 @@ type APIError400 = BasicAPIError;
206
276
  * @type APIError401
207
277
  * @export
208
278
  */
209
- type APIError401 = BasicAPIError;
279
+ type APIError401 = APIError401AllOf & 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 APIError403AllOf
296
+ */
297
+ interface APIError403AllOf {
298
+ /**
299
+ * Error Code
300
+ * @type {string}
301
+ * @memberof APIError403AllOf
302
+ */
303
+ 'code': APIError403AllOfCodeEnum;
304
+ /**
305
+ * Additional details to help resolve the error
306
+ * @type {object}
307
+ * @memberof APIError403AllOf
308
+ */
309
+ 'details': object | null;
310
+ }
311
+ declare const APIError403AllOfCodeEnum: {
312
+ readonly AuthenticationError: "AUTHENTICATION_ERROR";
313
+ };
314
+ type APIError403AllOfCodeEnum = typeof APIError403AllOfCodeEnum[keyof typeof APIError403AllOfCodeEnum];
210
315
 
211
316
  /**
212
317
  * Immutable zkEVM API
@@ -224,7 +329,42 @@ type APIError401 = BasicAPIError;
224
329
  * @type APIError403
225
330
  * @export
226
331
  */
227
- type APIError403 = BasicAPIError;
332
+ type APIError403 = APIError403AllOf & 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 APIError404AllOf
349
+ */
350
+ interface APIError404AllOf {
351
+ /**
352
+ * Error Code
353
+ * @type {string}
354
+ * @memberof APIError404AllOf
355
+ */
356
+ 'code': APIError404AllOfCodeEnum;
357
+ /**
358
+ * Additional details to help resolve the error
359
+ * @type {object}
360
+ * @memberof APIError404AllOf
361
+ */
362
+ 'details': object | null;
363
+ }
364
+ declare const APIError404AllOfCodeEnum: {
365
+ readonly ResourceNotFound: "RESOURCE_NOT_FOUND";
366
+ };
367
+ type APIError404AllOfCodeEnum = typeof APIError404AllOfCodeEnum[keyof typeof APIError404AllOfCodeEnum];
228
368
 
229
369
  /**
230
370
  * Immutable zkEVM API
@@ -242,7 +382,42 @@ type APIError403 = BasicAPIError;
242
382
  * @type APIError404
243
383
  * @export
244
384
  */
245
- type APIError404 = BasicAPIError;
385
+ type APIError404 = APIError404AllOf & 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 APIError429AllOf
402
+ */
403
+ interface APIError429AllOf {
404
+ /**
405
+ * Error Code
406
+ * @type {string}
407
+ * @memberof APIError429AllOf
408
+ */
409
+ 'code': APIError429AllOfCodeEnum;
410
+ /**
411
+ * Additional details to help resolve the error
412
+ * @type {object}
413
+ * @memberof APIError429AllOf
414
+ */
415
+ 'details': object | null;
416
+ }
417
+ declare const APIError429AllOfCodeEnum: {
418
+ readonly TooManyRequestsError: "TOO_MANY_REQUESTS_ERROR";
419
+ };
420
+ type APIError429AllOfCodeEnum = typeof APIError429AllOfCodeEnum[keyof typeof APIError429AllOfCodeEnum];
246
421
 
247
422
  /**
248
423
  * Immutable zkEVM API
@@ -260,7 +435,42 @@ type APIError404 = BasicAPIError;
260
435
  * @type APIError429
261
436
  * @export
262
437
  */
263
- type APIError429 = BasicAPIError;
438
+ type APIError429 = APIError429AllOf & BasicAPIError;
439
+
440
+ /**
441
+ * Immutable zkEVM API
442
+ * Immutable Multi Rollup API
443
+ *
444
+ * The version of the OpenAPI document: 1.0.0
445
+ * Contact: support@immutable.com
446
+ *
447
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
448
+ * https://openapi-generator.tech
449
+ * Do not edit the class manually.
450
+ */
451
+ /**
452
+ *
453
+ * @export
454
+ * @interface APIError500AllOf
455
+ */
456
+ interface APIError500AllOf {
457
+ /**
458
+ * Error Code
459
+ * @type {string}
460
+ * @memberof APIError500AllOf
461
+ */
462
+ 'code': APIError500AllOfCodeEnum;
463
+ /**
464
+ * Additional details to help resolve the error
465
+ * @type {object}
466
+ * @memberof APIError500AllOf
467
+ */
468
+ 'details': object | null;
469
+ }
470
+ declare const APIError500AllOfCodeEnum: {
471
+ readonly InternalServerError: "INTERNAL_SERVER_ERROR";
472
+ };
473
+ type APIError500AllOfCodeEnum = typeof APIError500AllOfCodeEnum[keyof typeof APIError500AllOfCodeEnum];
264
474
 
265
475
  /**
266
476
  * Immutable zkEVM API
@@ -278,7 +488,7 @@ type APIError429 = BasicAPIError;
278
488
  * @type APIError500
279
489
  * @export
280
490
  */
281
- type APIError500 = BasicAPIError;
491
+ type APIError500 = APIError500AllOf & BasicAPIError;
282
492
 
283
493
  /**
284
494
  * Immutable zkEVM API
@@ -947,6 +1157,12 @@ interface Activity {
947
1157
  * @memberof Activity
948
1158
  */
949
1159
  'details': ActivityDetails;
1160
+ /**
1161
+ * The time activity was updated at
1162
+ * @type {string}
1163
+ * @memberof Activity
1164
+ */
1165
+ 'updated_at': string;
950
1166
  /**
951
1167
  * The time activity was indexed
952
1168
  * @type {string}
@@ -961,6 +1177,31 @@ interface Activity {
961
1177
  'blockchain_metadata': BlockchainMetadata | null;
962
1178
  }
963
1179
 
1180
+ /**
1181
+ * Immutable zkEVM API
1182
+ * Immutable Multi Rollup API
1183
+ *
1184
+ * The version of the OpenAPI document: 1.0.0
1185
+ * Contact: support@immutable.com
1186
+ *
1187
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1188
+ * https://openapi-generator.tech
1189
+ * Do not edit the class manually.
1190
+ */
1191
+ /**
1192
+ *
1193
+ * @export
1194
+ * @interface ChainWithDetailsAllOf
1195
+ */
1196
+ interface ChainWithDetailsAllOf {
1197
+ /**
1198
+ * URL for RPC node
1199
+ * @type {string}
1200
+ * @memberof ChainWithDetailsAllOf
1201
+ */
1202
+ 'rpc_url': string | null;
1203
+ }
1204
+
964
1205
  /**
965
1206
  * Immutable zkEVM API
966
1207
  * Immutable Multi Rollup API
@@ -977,7 +1218,7 @@ interface Activity {
977
1218
  * @type ChainWithDetails
978
1219
  * @export
979
1220
  */
980
- type ChainWithDetails = Chain$1;
1221
+ type ChainWithDetails = Chain$1 & ChainWithDetailsAllOf;
981
1222
 
982
1223
  /**
983
1224
  * Immutable zkEVM API
@@ -997,6 +1238,7 @@ type ChainWithDetails = Chain$1;
997
1238
  */
998
1239
  declare const CollectionContractType: {
999
1240
  readonly Erc721: "ERC721";
1241
+ readonly Erc1155: "ERC1155";
1000
1242
  };
1001
1243
  type CollectionContractType = typeof CollectionContractType[keyof typeof CollectionContractType];
1002
1244
 
@@ -1475,12 +1717,6 @@ interface NFT {
1475
1717
  * @memberof NFT
1476
1718
  */
1477
1719
  'youtube_url': string | null;
1478
- /**
1479
- * The id of mint activity of this NFT
1480
- * @type {string}
1481
- * @memberof NFT
1482
- */
1483
- 'mint_activity_id': string | null;
1484
1720
  }
1485
1721
 
1486
1722
  /**
@@ -1998,21 +2234,99 @@ interface ListNFTOwnersResult {
1998
2234
  /**
1999
2235
  *
2000
2236
  * @export
2001
- * @interface ListNFTsResult
2237
+ * @interface NFTWithBalance
2002
2238
  */
2003
- interface ListNFTsResult {
2239
+ interface NFTWithBalance {
2004
2240
  /**
2005
- * List of nfts
2006
- * @type {Array<NFT>}
2007
- * @memberof ListNFTsResult
2241
+ *
2242
+ * @type {Chain}
2243
+ * @memberof NFTWithBalance
2008
2244
  */
2009
- 'result': Array<NFT>;
2245
+ 'chain': Chain$1;
2010
2246
  /**
2011
- *
2012
- * @type {Page}
2013
- * @memberof ListNFTsResult
2247
+ * An `uint256` token id as string
2248
+ * @type {string}
2249
+ * @memberof NFTWithBalance
2014
2250
  */
2015
- 'page': Page$2;
2251
+ 'token_id': string;
2252
+ /**
2253
+ * The contract address of the NFT
2254
+ * @type {string}
2255
+ * @memberof NFTWithBalance
2256
+ */
2257
+ 'contract_address': string;
2258
+ /**
2259
+ * The contract type of the NFT
2260
+ * @type {string}
2261
+ * @memberof NFTWithBalance
2262
+ */
2263
+ 'contract_type': string;
2264
+ /**
2265
+ * When the NFT was first indexed
2266
+ * @type {string}
2267
+ * @memberof NFTWithBalance
2268
+ */
2269
+ 'indexed_at': string;
2270
+ /**
2271
+ * When the NFT owner was last updated
2272
+ * @type {string}
2273
+ * @memberof NFTWithBalance
2274
+ */
2275
+ 'updated_at': string;
2276
+ /**
2277
+ * When NFT metadata was last synced
2278
+ * @type {string}
2279
+ * @memberof NFTWithBalance
2280
+ */
2281
+ 'metadata_synced_at': string | null;
2282
+ /**
2283
+ * The id of the metadata of this NFT
2284
+ * @type {string}
2285
+ * @memberof NFTWithBalance
2286
+ */
2287
+ 'metadata_id'?: string | null;
2288
+ /**
2289
+ * The name of the NFT
2290
+ * @type {string}
2291
+ * @memberof NFTWithBalance
2292
+ */
2293
+ 'name': string | null;
2294
+ /**
2295
+ * The description of the NFT
2296
+ * @type {string}
2297
+ * @memberof NFTWithBalance
2298
+ */
2299
+ 'description': string | null;
2300
+ /**
2301
+ * The image url of the NFT
2302
+ * @type {string}
2303
+ * @memberof NFTWithBalance
2304
+ */
2305
+ 'image': string | null;
2306
+ /**
2307
+ * The external website link of NFT
2308
+ * @type {string}
2309
+ * @memberof NFTWithBalance
2310
+ */
2311
+ 'external_link': string | null;
2312
+ /**
2313
+ * The animation url of the NFT
2314
+ * @type {string}
2315
+ * @memberof NFTWithBalance
2316
+ */
2317
+ 'animation_url': string | null;
2318
+ /**
2319
+ * The youtube URL of NFT
2320
+ * @type {string}
2321
+ * @memberof NFTWithBalance
2322
+ */
2323
+ 'youtube_url': string | null;
2324
+ /**
2325
+ * The balance of NFT in the account
2326
+ * @type {string}
2327
+ * @memberof NFTWithBalance
2328
+ */
2329
+ 'balance': string;
2016
2330
  }
2017
2331
 
2018
2332
  /**
@@ -2030,19 +2344,19 @@ interface ListNFTsResult {
2030
2344
  /**
2031
2345
  *
2032
2346
  * @export
2033
- * @interface ListTokensResult
2347
+ * @interface ListNFTsByOwnerResult
2034
2348
  */
2035
- interface ListTokensResult {
2349
+ interface ListNFTsByOwnerResult {
2036
2350
  /**
2037
- * List of tokens
2038
- * @type {Array<Token>}
2039
- * @memberof ListTokensResult
2351
+ * List of nfts by owner
2352
+ * @type {Array<NFTWithBalance>}
2353
+ * @memberof ListNFTsByOwnerResult
2040
2354
  */
2041
- 'result': Array<Token$1>;
2355
+ 'result': Array<NFTWithBalance>;
2042
2356
  /**
2043
2357
  *
2044
2358
  * @type {Page}
2045
- * @memberof ListTokensResult
2359
+ * @memberof ListNFTsByOwnerResult
2046
2360
  */
2047
2361
  'page': Page$2;
2048
2362
  }
@@ -2058,36 +2372,25 @@ interface ListTokensResult {
2058
2372
  * https://openapi-generator.tech
2059
2373
  * Do not edit the class manually.
2060
2374
  */
2375
+
2061
2376
  /**
2062
2377
  *
2063
2378
  * @export
2064
- * @interface MetadataRefreshRateLimitResult
2379
+ * @interface ListNFTsResult
2065
2380
  */
2066
- interface MetadataRefreshRateLimitResult {
2067
- /**
2068
- *
2069
- * @type {string}
2070
- * @memberof MetadataRefreshRateLimitResult
2071
- */
2072
- 'imx_refreshes_limit': string;
2073
- /**
2074
- *
2075
- * @type {string}
2076
- * @memberof MetadataRefreshRateLimitResult
2077
- */
2078
- 'imx_refresh_limit_reset': string;
2381
+ interface ListNFTsResult {
2079
2382
  /**
2080
- *
2081
- * @type {string}
2082
- * @memberof MetadataRefreshRateLimitResult
2383
+ * List of nfts
2384
+ * @type {Array<NFT>}
2385
+ * @memberof ListNFTsResult
2083
2386
  */
2084
- 'imx_remaining_refreshes': string;
2387
+ 'result': Array<NFT>;
2085
2388
  /**
2086
2389
  *
2087
- * @type {string}
2088
- * @memberof MetadataRefreshRateLimitResult
2390
+ * @type {Page}
2391
+ * @memberof ListNFTsResult
2089
2392
  */
2090
- 'retry_after': string;
2393
+ 'page': Page$2;
2091
2394
  }
2092
2395
 
2093
2396
  /**
@@ -2105,15 +2408,21 @@ interface MetadataRefreshRateLimitResult {
2105
2408
  /**
2106
2409
  *
2107
2410
  * @export
2108
- * @interface RefreshCollectionMetadataRequest
2411
+ * @interface ListTokensResult
2109
2412
  */
2110
- interface RefreshCollectionMetadataRequest {
2413
+ interface ListTokensResult {
2414
+ /**
2415
+ * List of tokens
2416
+ * @type {Array<Token>}
2417
+ * @memberof ListTokensResult
2418
+ */
2419
+ 'result': Array<Token$1>;
2111
2420
  /**
2112
2421
  *
2113
- * @type {CollectionMetadata}
2114
- * @memberof RefreshCollectionMetadataRequest
2422
+ * @type {Page}
2423
+ * @memberof ListTokensResult
2115
2424
  */
2116
- 'collection_metadata': CollectionMetadata;
2425
+ 'page': Page$2;
2117
2426
  }
2118
2427
 
2119
2428
  /**
@@ -2127,31 +2436,36 @@ interface RefreshCollectionMetadataRequest {
2127
2436
  * https://openapi-generator.tech
2128
2437
  * Do not edit the class manually.
2129
2438
  */
2130
-
2131
2439
  /**
2132
2440
  *
2133
2441
  * @export
2134
- * @interface RefreshCollectionMetadataResult
2442
+ * @interface MetadataRefreshRateLimitResult
2135
2443
  */
2136
- interface RefreshCollectionMetadataResult {
2444
+ interface MetadataRefreshRateLimitResult {
2137
2445
  /**
2138
2446
  *
2139
2447
  * @type {string}
2140
- * @memberof RefreshCollectionMetadataResult
2448
+ * @memberof MetadataRefreshRateLimitResult
2141
2449
  */
2142
- 'contract_address': string;
2450
+ 'imx_refreshes_limit': string;
2143
2451
  /**
2144
2452
  *
2145
- * @type {Chain}
2146
- * @memberof RefreshCollectionMetadataResult
2453
+ * @type {string}
2454
+ * @memberof MetadataRefreshRateLimitResult
2147
2455
  */
2148
- 'chain': Chain$1;
2456
+ 'imx_refresh_limit_reset': string;
2149
2457
  /**
2150
2458
  *
2151
- * @type {CollectionMetadata}
2152
- * @memberof RefreshCollectionMetadataResult
2459
+ * @type {string}
2460
+ * @memberof MetadataRefreshRateLimitResult
2153
2461
  */
2154
- 'collection_metadata': CollectionMetadata;
2462
+ 'imx_remaining_refreshes': string;
2463
+ /**
2464
+ *
2465
+ * @type {string}
2466
+ * @memberof MetadataRefreshRateLimitResult
2467
+ */
2468
+ 'retry_after': string;
2155
2469
  }
2156
2470
 
2157
2471
  /**
@@ -2216,6 +2530,95 @@ interface RefreshableNFTAttributes {
2216
2530
  'attributes': Array<NFTMetadataAttribute> | null;
2217
2531
  }
2218
2532
 
2533
+ /**
2534
+ * Immutable zkEVM API
2535
+ * Immutable Multi Rollup API
2536
+ *
2537
+ * The version of the OpenAPI document: 1.0.0
2538
+ * Contact: support@immutable.com
2539
+ *
2540
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2541
+ * https://openapi-generator.tech
2542
+ * Do not edit the class manually.
2543
+ */
2544
+
2545
+ /**
2546
+ *
2547
+ * @export
2548
+ * @interface RefreshCollectionMetadataRequest
2549
+ */
2550
+ interface RefreshCollectionMetadataRequest {
2551
+ /**
2552
+ *
2553
+ * @type {CollectionMetadata}
2554
+ * @memberof RefreshCollectionMetadataRequest
2555
+ */
2556
+ 'collection_metadata': CollectionMetadata;
2557
+ }
2558
+
2559
+ /**
2560
+ * Immutable zkEVM API
2561
+ * Immutable Multi Rollup API
2562
+ *
2563
+ * The version of the OpenAPI document: 1.0.0
2564
+ * Contact: support@immutable.com
2565
+ *
2566
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2567
+ * https://openapi-generator.tech
2568
+ * Do not edit the class manually.
2569
+ */
2570
+
2571
+ /**
2572
+ *
2573
+ * @export
2574
+ * @interface RefreshCollectionMetadataResult
2575
+ */
2576
+ interface RefreshCollectionMetadataResult {
2577
+ /**
2578
+ *
2579
+ * @type {string}
2580
+ * @memberof RefreshCollectionMetadataResult
2581
+ */
2582
+ 'contract_address': string;
2583
+ /**
2584
+ *
2585
+ * @type {Chain}
2586
+ * @memberof RefreshCollectionMetadataResult
2587
+ */
2588
+ 'chain': Chain$1;
2589
+ /**
2590
+ *
2591
+ * @type {CollectionMetadata}
2592
+ * @memberof RefreshCollectionMetadataResult
2593
+ */
2594
+ 'collection_metadata': CollectionMetadata;
2595
+ }
2596
+
2597
+ /**
2598
+ * Immutable zkEVM API
2599
+ * Immutable Multi Rollup API
2600
+ *
2601
+ * The version of the OpenAPI document: 1.0.0
2602
+ * Contact: support@immutable.com
2603
+ *
2604
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2605
+ * https://openapi-generator.tech
2606
+ * Do not edit the class manually.
2607
+ */
2608
+ /**
2609
+ *
2610
+ * @export
2611
+ * @interface RefreshMetadataByIDAllOf
2612
+ */
2613
+ interface RefreshMetadataByIDAllOf {
2614
+ /**
2615
+ * Metadata ID in UUIDv4 format
2616
+ * @type {string}
2617
+ * @memberof RefreshMetadataByIDAllOf
2618
+ */
2619
+ 'metadata_id': string;
2620
+ }
2621
+
2219
2622
  /**
2220
2623
  * Immutable zkEVM API
2221
2624
  * Immutable Multi Rollup API
@@ -2232,7 +2635,7 @@ interface RefreshableNFTAttributes {
2232
2635
  * @type RefreshMetadataByID
2233
2636
  * @export
2234
2637
  */
2235
- type RefreshMetadataByID = RefreshableNFTAttributes;
2638
+ type RefreshMetadataByID = RefreshMetadataByIDAllOf & RefreshableNFTAttributes;
2236
2639
 
2237
2640
  /**
2238
2641
  * Immutable zkEVM API
@@ -2260,6 +2663,31 @@ interface RefreshMetadataByIDRequest {
2260
2663
  'metadata'?: Array<RefreshMetadataByID>;
2261
2664
  }
2262
2665
 
2666
+ /**
2667
+ * Immutable zkEVM API
2668
+ * Immutable Multi Rollup API
2669
+ *
2670
+ * The version of the OpenAPI document: 1.0.0
2671
+ * Contact: support@immutable.com
2672
+ *
2673
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2674
+ * https://openapi-generator.tech
2675
+ * Do not edit the class manually.
2676
+ */
2677
+ /**
2678
+ *
2679
+ * @export
2680
+ * @interface RefreshMetadataByTokenIDAllOf
2681
+ */
2682
+ interface RefreshMetadataByTokenIDAllOf {
2683
+ /**
2684
+ * An `uint256` token id as string
2685
+ * @type {string}
2686
+ * @memberof RefreshMetadataByTokenIDAllOf
2687
+ */
2688
+ 'token_id': string;
2689
+ }
2690
+
2263
2691
  /**
2264
2692
  * Immutable zkEVM API
2265
2693
  * Immutable Multi Rollup API
@@ -2276,7 +2704,7 @@ interface RefreshMetadataByIDRequest {
2276
2704
  * @type RefreshMetadataByTokenID
2277
2705
  * @export
2278
2706
  */
2279
- type RefreshMetadataByTokenID = RefreshableNFTAttributes;
2707
+ type RefreshMetadataByTokenID = RefreshMetadataByTokenIDAllOf & RefreshableNFTAttributes;
2280
2708
 
2281
2709
  /**
2282
2710
  * Immutable zkEVM API
@@ -2360,33 +2788,64 @@ interface ActivitiesApiListActivitiesRequest {
2360
2788
  */
2361
2789
  readonly activityType?: ActivityType$1;
2362
2790
  /**
2363
- * From indexed at including given date
2791
+ * The transaction hash of activity
2364
2792
  * @type {string}
2365
2793
  * @memberof ActivitiesApiListActivities
2366
2794
  */
2367
- readonly fromIndexedAt?: string;
2795
+ readonly transactionHash?: string;
2368
2796
  /**
2369
- * To indexed at including given date
2797
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2370
2798
  * @type {string}
2371
2799
  * @memberof ActivitiesApiListActivities
2372
2800
  */
2373
- readonly toIndexedAt?: string;
2801
+ readonly pageCursor?: string;
2374
2802
  /**
2375
- * The transaction hash of activity
2376
- * @type {string}
2803
+ * Maximum number of items to return
2804
+ * @type {number}
2377
2805
  * @memberof ActivitiesApiListActivities
2378
2806
  */
2379
- readonly transactionHash?: string;
2807
+ readonly pageSize?: number;
2808
+ }
2809
+ /**
2810
+ * Request parameters for listActivityHistory operation in ActivitiesApi.
2811
+ * @export
2812
+ * @interface ActivitiesApiListActivityHistoryRequest
2813
+ */
2814
+ interface ActivitiesApiListActivityHistoryRequest {
2815
+ /**
2816
+ * The name of chain
2817
+ * @type {string}
2818
+ * @memberof ActivitiesApiListActivityHistory
2819
+ */
2820
+ readonly chainName: string;
2821
+ /**
2822
+ * From indexed at including given date
2823
+ * @type {string}
2824
+ * @memberof ActivitiesApiListActivityHistory
2825
+ */
2826
+ readonly fromUpdatedAt: string;
2827
+ /**
2828
+ * To indexed at including given date
2829
+ * @type {string}
2830
+ * @memberof ActivitiesApiListActivityHistory
2831
+ */
2832
+ readonly toUpdatedAt?: string;
2833
+ /**
2834
+ * The contract address of the collection
2835
+ * @type {string}
2836
+ * @memberof ActivitiesApiListActivityHistory
2837
+ */
2838
+ readonly contractAddress?: string;
2380
2839
  /**
2381
2840
  * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2382
2841
  * @type {string}
2383
- * @memberof ActivitiesApiListActivities
2842
+ * @memberof ActivitiesApiListActivityHistory
2384
2843
  */
2385
2844
  readonly pageCursor?: string;
2386
2845
  /**
2387
2846
  * Maximum number of items to return
2388
2847
  * @type {number}
2389
- * @memberof ActivitiesApiListActivities
2848
+ * @memberof ActivitiesApiListActivityHistory
2390
2849
  */
2391
2850
  readonly pageSize?: number;
2392
2851
  }
@@ -2586,6 +3045,37 @@ interface MetadataApiListMetadataRequest {
2586
3045
  */
2587
3046
  readonly pageSize?: number;
2588
3047
  }
3048
+ /**
3049
+ * Request parameters for listMetadataForChain operation in MetadataApi.
3050
+ * @export
3051
+ * @interface MetadataApiListMetadataForChainRequest
3052
+ */
3053
+ interface MetadataApiListMetadataForChainRequest {
3054
+ /**
3055
+ * The name of chain
3056
+ * @type {string}
3057
+ * @memberof MetadataApiListMetadataForChain
3058
+ */
3059
+ readonly chainName: string;
3060
+ /**
3061
+ * Datetime to use as the oldest updated timestamp
3062
+ * @type {string}
3063
+ * @memberof MetadataApiListMetadataForChain
3064
+ */
3065
+ readonly fromUpdatedAt?: string;
3066
+ /**
3067
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3068
+ * @type {string}
3069
+ * @memberof MetadataApiListMetadataForChain
3070
+ */
3071
+ readonly pageCursor?: string;
3072
+ /**
3073
+ * Maximum number of items to return
3074
+ * @type {number}
3075
+ * @memberof MetadataApiListMetadataForChain
3076
+ */
3077
+ readonly pageSize?: number;
3078
+ }
2589
3079
  /**
2590
3080
  * Request parameters for refreshMetadataByID operation in MetadataApi.
2591
3081
  * @export
@@ -2737,37 +3227,6 @@ interface NftsApiGetNFTRequest {
2737
3227
  */
2738
3228
  readonly chainName: string;
2739
3229
  }
2740
- /**
2741
- * Request parameters for listAllNFTOwners operation in NftsApi.
2742
- * @export
2743
- * @interface NftsApiListAllNFTOwnersRequest
2744
- */
2745
- interface NftsApiListAllNFTOwnersRequest {
2746
- /**
2747
- * The name of chain
2748
- * @type {string}
2749
- * @memberof NftsApiListAllNFTOwners
2750
- */
2751
- readonly chainName: string;
2752
- /**
2753
- * Datetime to use as the oldest updated timestamp
2754
- * @type {string}
2755
- * @memberof NftsApiListAllNFTOwners
2756
- */
2757
- readonly fromUpdatedAt: string;
2758
- /**
2759
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
2760
- * @type {string}
2761
- * @memberof NftsApiListAllNFTOwners
2762
- */
2763
- readonly pageCursor?: string;
2764
- /**
2765
- * Maximum number of items to return
2766
- * @type {number}
2767
- * @memberof NftsApiListAllNFTOwners
2768
- */
2769
- readonly pageSize?: number;
2770
- }
2771
3230
  /**
2772
3231
  * Request parameters for listAllNFTs operation in NftsApi.
2773
3232
  * @export
@@ -2993,33 +3452,64 @@ interface ListActivitiesRequest {
2993
3452
  */
2994
3453
  readonly activityType?: ActivityType$1;
2995
3454
  /**
2996
- * From indexed at including given date
3455
+ * The transaction hash of activity
2997
3456
  * @type {string}
2998
3457
  * @memberof ListActivities
2999
3458
  */
3000
- readonly fromIndexedAt?: string;
3459
+ readonly transactionHash?: string;
3001
3460
  /**
3002
- * To indexed at including given date
3461
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3003
3462
  * @type {string}
3004
3463
  * @memberof ListActivities
3005
3464
  */
3006
- readonly toIndexedAt?: string;
3465
+ readonly pageCursor?: string;
3007
3466
  /**
3008
- * The transaction hash of activity
3009
- * @type {string}
3467
+ * Maximum number of items to return
3468
+ * @type {number}
3010
3469
  * @memberof ListActivities
3011
3470
  */
3012
- readonly transactionHash?: string;
3471
+ readonly pageSize?: number;
3472
+ }
3473
+ /**
3474
+ * Request parameters for listActivityHistory operation in ActivitiesApi.
3475
+ * @export
3476
+ * @interface ListActivityHistoryRequest
3477
+ */
3478
+ interface ListActivityHistoryRequest {
3479
+ /**
3480
+ * The name of chain
3481
+ * @type {string}
3482
+ * @memberof ListActivityHistory
3483
+ */
3484
+ readonly chainName: string;
3485
+ /**
3486
+ * From indexed at including given date
3487
+ * @type {string}
3488
+ * @memberof ListActivityHistory
3489
+ */
3490
+ readonly fromUpdatedAt: string;
3491
+ /**
3492
+ * To indexed at including given date
3493
+ * @type {string}
3494
+ * @memberof ListActivityHistory
3495
+ */
3496
+ readonly toUpdatedAt?: string;
3497
+ /**
3498
+ * The contract address of the collection
3499
+ * @type {string}
3500
+ * @memberof ListActivityHistory
3501
+ */
3502
+ readonly contractAddress?: string;
3013
3503
  /**
3014
3504
  * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3015
3505
  * @type {string}
3016
- * @memberof ListActivities
3506
+ * @memberof ListActivityHistory
3017
3507
  */
3018
3508
  readonly pageCursor?: string;
3019
3509
  /**
3020
3510
  * Maximum number of items to return
3021
3511
  * @type {number}
3022
- * @memberof ListActivities
3512
+ * @memberof ListActivityHistory
3023
3513
  */
3024
3514
  readonly pageSize?: number;
3025
3515
  }
@@ -3031,6 +3521,7 @@ type activitiesApiTypes_d_GetActivityRequest = GetActivityRequest;
3031
3521
  type activitiesApiTypes_d_GetActivityResult = GetActivityResult;
3032
3522
  type activitiesApiTypes_d_ListActivitiesRequest = ListActivitiesRequest;
3033
3523
  type activitiesApiTypes_d_ListActivitiesResult = ListActivitiesResult;
3524
+ type activitiesApiTypes_d_ListActivityHistoryRequest = ListActivityHistoryRequest;
3034
3525
  declare namespace activitiesApiTypes_d {
3035
3526
  export {
3036
3527
  activitiesApiTypes_d_APIError400 as APIError400,
@@ -3041,6 +3532,7 @@ declare namespace activitiesApiTypes_d {
3041
3532
  activitiesApiTypes_d_GetActivityResult as GetActivityResult,
3042
3533
  activitiesApiTypes_d_ListActivitiesRequest as ListActivitiesRequest,
3043
3534
  activitiesApiTypes_d_ListActivitiesResult as ListActivitiesResult,
3535
+ activitiesApiTypes_d_ListActivityHistoryRequest as ListActivityHistoryRequest,
3044
3536
  };
3045
3537
  }
3046
3538
 
@@ -3294,6 +3786,37 @@ interface ListMetadataRequest {
3294
3786
  */
3295
3787
  readonly pageSize?: number;
3296
3788
  }
3789
+ /**
3790
+ * Request parameters for listMetadataForChain operation in MetadataApi.
3791
+ * @export
3792
+ * @interface ListMetadataForChainRequest
3793
+ */
3794
+ interface ListMetadataForChainRequest {
3795
+ /**
3796
+ * The name of chain
3797
+ * @type {string}
3798
+ * @memberof ListMetadataForChain
3799
+ */
3800
+ readonly chainName: string;
3801
+ /**
3802
+ * Datetime to use as the oldest updated timestamp
3803
+ * @type {string}
3804
+ * @memberof ListMetadataForChain
3805
+ */
3806
+ readonly fromUpdatedAt?: string;
3807
+ /**
3808
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3809
+ * @type {string}
3810
+ * @memberof ListMetadataForChain
3811
+ */
3812
+ readonly pageCursor?: string;
3813
+ /**
3814
+ * Maximum number of items to return
3815
+ * @type {number}
3816
+ * @memberof ListMetadataForChain
3817
+ */
3818
+ readonly pageSize?: number;
3819
+ }
3297
3820
 
3298
3821
  type metadataApiTypes_d_APIError400 = APIError400;
3299
3822
  type metadataApiTypes_d_APIError401 = APIError401;
@@ -3303,6 +3826,7 @@ type metadataApiTypes_d_APIError429 = APIError429;
3303
3826
  type metadataApiTypes_d_APIError500 = APIError500;
3304
3827
  type metadataApiTypes_d_GetMetadataRequest = GetMetadataRequest;
3305
3828
  type metadataApiTypes_d_GetMetadataResult = GetMetadataResult;
3829
+ type metadataApiTypes_d_ListMetadataForChainRequest = ListMetadataForChainRequest;
3306
3830
  type metadataApiTypes_d_ListMetadataRequest = ListMetadataRequest;
3307
3831
  type metadataApiTypes_d_ListMetadataResult = ListMetadataResult;
3308
3832
  type metadataApiTypes_d_MetadataRefreshRateLimitResult = MetadataRefreshRateLimitResult;
@@ -3318,6 +3842,7 @@ declare namespace metadataApiTypes_d {
3318
3842
  metadataApiTypes_d_APIError500 as APIError500,
3319
3843
  metadataApiTypes_d_GetMetadataRequest as GetMetadataRequest,
3320
3844
  metadataApiTypes_d_GetMetadataResult as GetMetadataResult,
3845
+ metadataApiTypes_d_ListMetadataForChainRequest as ListMetadataForChainRequest,
3321
3846
  metadataApiTypes_d_ListMetadataRequest as ListMetadataRequest,
3322
3847
  metadataApiTypes_d_ListMetadataResult as ListMetadataResult,
3323
3848
  metadataApiTypes_d_MetadataRefreshRateLimitResult as MetadataRefreshRateLimitResult,
@@ -3338,6 +3863,37 @@ declare namespace metadataApiTypes_d {
3338
3863
  * Do not edit the class manually.
3339
3864
  */
3340
3865
 
3866
+ /**
3867
+ * Request parameters for listAllNFTOwners operation in NftOwnersApi.
3868
+ * @export
3869
+ * @interface ListAllNFTOwnersRequest
3870
+ */
3871
+ interface ListAllNFTOwnersRequest {
3872
+ /**
3873
+ * The name of chain
3874
+ * @type {string}
3875
+ * @memberof ListAllNFTOwners
3876
+ */
3877
+ readonly chainName: string;
3878
+ /**
3879
+ * Datetime to use as the oldest updated timestamp
3880
+ * @type {string}
3881
+ * @memberof ListAllNFTOwners
3882
+ */
3883
+ readonly fromUpdatedAt?: string;
3884
+ /**
3885
+ * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3886
+ * @type {string}
3887
+ * @memberof ListAllNFTOwners
3888
+ */
3889
+ readonly pageCursor?: string;
3890
+ /**
3891
+ * Maximum number of items to return
3892
+ * @type {number}
3893
+ * @memberof ListAllNFTOwners
3894
+ */
3895
+ readonly pageSize?: number;
3896
+ }
3341
3897
  /**
3342
3898
  * Request parameters for listNFTOwners operation in NftOwnersApi.
3343
3899
  * @export
@@ -3416,6 +3972,7 @@ interface ListOwnersByContractAddressRequest {
3416
3972
  type nftOwnersApiTypes_d_APIError400 = APIError400;
3417
3973
  type nftOwnersApiTypes_d_APIError404 = APIError404;
3418
3974
  type nftOwnersApiTypes_d_APIError500 = APIError500;
3975
+ type nftOwnersApiTypes_d_ListAllNFTOwnersRequest = ListAllNFTOwnersRequest;
3419
3976
  type nftOwnersApiTypes_d_ListCollectionOwnersResult = ListCollectionOwnersResult;
3420
3977
  type nftOwnersApiTypes_d_ListNFTOwnersRequest = ListNFTOwnersRequest;
3421
3978
  type nftOwnersApiTypes_d_ListNFTOwnersResult = ListNFTOwnersResult;
@@ -3425,6 +3982,7 @@ declare namespace nftOwnersApiTypes_d {
3425
3982
  nftOwnersApiTypes_d_APIError400 as APIError400,
3426
3983
  nftOwnersApiTypes_d_APIError404 as APIError404,
3427
3984
  nftOwnersApiTypes_d_APIError500 as APIError500,
3985
+ nftOwnersApiTypes_d_ListAllNFTOwnersRequest as ListAllNFTOwnersRequest,
3428
3986
  nftOwnersApiTypes_d_ListCollectionOwnersResult as ListCollectionOwnersResult,
3429
3987
  nftOwnersApiTypes_d_ListNFTOwnersRequest as ListNFTOwnersRequest,
3430
3988
  nftOwnersApiTypes_d_ListNFTOwnersResult as ListNFTOwnersResult,
@@ -3469,37 +4027,6 @@ interface GetNFTRequest {
3469
4027
  */
3470
4028
  readonly chainName: string;
3471
4029
  }
3472
- /**
3473
- * Request parameters for listAllNFTOwners operation in NftsApi.
3474
- * @export
3475
- * @interface ListAllNFTOwnersRequest
3476
- */
3477
- interface ListAllNFTOwnersRequest {
3478
- /**
3479
- * The name of chain
3480
- * @type {string}
3481
- * @memberof ListAllNFTOwners
3482
- */
3483
- readonly chainName: string;
3484
- /**
3485
- * Datetime to use as the oldest updated timestamp
3486
- * @type {string}
3487
- * @memberof ListAllNFTOwners
3488
- */
3489
- readonly fromUpdatedAt: string;
3490
- /**
3491
- * Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
3492
- * @type {string}
3493
- * @memberof ListAllNFTOwners
3494
- */
3495
- readonly pageCursor?: string;
3496
- /**
3497
- * Maximum number of items to return
3498
- * @type {number}
3499
- * @memberof ListAllNFTOwners
3500
- */
3501
- readonly pageSize?: number;
3502
- }
3503
4030
  /**
3504
4031
  * Request parameters for listAllNFTs operation in NftsApi.
3505
4032
  * @export
@@ -3611,10 +4138,9 @@ type nftsApiTypes_d_APIError404 = APIError404;
3611
4138
  type nftsApiTypes_d_APIError500 = APIError500;
3612
4139
  type nftsApiTypes_d_GetNFTRequest = GetNFTRequest;
3613
4140
  type nftsApiTypes_d_GetNFTResult = GetNFTResult;
3614
- type nftsApiTypes_d_ListAllNFTOwnersRequest = ListAllNFTOwnersRequest;
3615
4141
  type nftsApiTypes_d_ListAllNFTsRequest = ListAllNFTsRequest;
3616
- type nftsApiTypes_d_ListNFTOwnersResult = ListNFTOwnersResult;
3617
4142
  type nftsApiTypes_d_ListNFTsByAccountAddressRequest = ListNFTsByAccountAddressRequest;
4143
+ type nftsApiTypes_d_ListNFTsByOwnerResult = ListNFTsByOwnerResult;
3618
4144
  type nftsApiTypes_d_ListNFTsRequest = ListNFTsRequest;
3619
4145
  type nftsApiTypes_d_ListNFTsResult = ListNFTsResult;
3620
4146
  declare namespace nftsApiTypes_d {
@@ -3624,10 +4150,9 @@ declare namespace nftsApiTypes_d {
3624
4150
  nftsApiTypes_d_APIError500 as APIError500,
3625
4151
  nftsApiTypes_d_GetNFTRequest as GetNFTRequest,
3626
4152
  nftsApiTypes_d_GetNFTResult as GetNFTResult,
3627
- nftsApiTypes_d_ListAllNFTOwnersRequest as ListAllNFTOwnersRequest,
3628
4153
  nftsApiTypes_d_ListAllNFTsRequest as ListAllNFTsRequest,
3629
- nftsApiTypes_d_ListNFTOwnersResult as ListNFTOwnersResult,
3630
4154
  nftsApiTypes_d_ListNFTsByAccountAddressRequest as ListNFTsByAccountAddressRequest,
4155
+ nftsApiTypes_d_ListNFTsByOwnerResult as ListNFTsByOwnerResult,
3631
4156
  nftsApiTypes_d_ListNFTsRequest as ListNFTsRequest,
3632
4157
  nftsApiTypes_d_ListNFTsResult as ListNFTsResult,
3633
4158
  };
@@ -3764,6 +4289,13 @@ declare class BlockchainData {
3764
4289
  * @throws {@link index.APIError}
3765
4290
  */
3766
4291
  listActivities(request: ActivitiesApiListActivitiesRequest): Promise<ListActivitiesResult>;
4292
+ /**
4293
+ * List activities sorted by updated_at timestamp ascending, useful for time based data replication
4294
+ * @param request - the request object containing the parameters to be provided in the API request
4295
+ * @returns a promise that resolves with a list of activities
4296
+ * @throws {@link index.APIError}
4297
+ */
4298
+ listActivityHistory(request: ActivitiesApiListActivityHistoryRequest): Promise<ListActivitiesResult>;
3767
4299
  /**
3768
4300
  * Get a single activity by ID
3769
4301
  * @param request - the request object containing the parameters to be provided in the API request
@@ -3793,7 +4325,7 @@ declare class BlockchainData {
3793
4325
  */
3794
4326
  listCollectionsByNFTOwner(request: CollectionsApiListCollectionsByNFTOwnerRequest): Promise<ListCollectionsResult>;
3795
4327
  /**
3796
- * Get collection by contract address
4328
+ * Get a collection by contract address
3797
4329
  * @param request - the request object containing the parameters to be provided in the API request
3798
4330
  * @returns a promise that resolves with a single collection
3799
4331
  * @throws {@link index.APIError}
@@ -3847,7 +4379,7 @@ declare class BlockchainData {
3847
4379
  * @returns a promise that resolves with a list of NFT owners
3848
4380
  * @throws {@link index.APIError}
3849
4381
  */
3850
- listAllNFTOwners(request: NftsApiListAllNFTOwnersRequest): Promise<ListNFTOwnersResult>;
4382
+ listAllNFTOwners(request: NftOwnersApiListNFTOwnersRequest): Promise<ListNFTOwnersResult>;
3851
4383
  /**
3852
4384
  * List ERC20 Token contracts
3853
4385
  * @param request - the request object containing the parameters to be provided in the API request
@@ -3876,6 +4408,13 @@ declare class BlockchainData {
3876
4408
  * @throws {@link index.APIError}
3877
4409
  */
3878
4410
  listNFTMetadataByContractAddress(request: MetadataApiListMetadataRequest): Promise<ListMetadataResult>;
4411
+ /**
4412
+ * List NFT Metadata by chain
4413
+ * @param request - the request object containing the parameters to be provided in the API request
4414
+ * @returns a promise that resolves with a list of Metadata
4415
+ * @throws {@link index.APIError}
4416
+ */
4417
+ listNFTMetadataByChain(request: MetadataApiListMetadataForChainRequest): Promise<ListMetadataResult>;
3879
4418
  /**
3880
4419
  * Refresh collection metadata
3881
4420
  * @param request - the request object containing the parameters to be provided in the API request