@highlightxyz/sdk 0.2.0 → 0.3.0

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.
@@ -1,6 +1,13 @@
1
1
  export type ClientOptions = {
2
2
  baseUrl: `${string}://${string}` | (string & {});
3
3
  };
4
+ export type ApiErrorResponse = {
5
+ name: string;
6
+ message: string;
7
+ data: {
8
+ [key: string]: unknown;
9
+ };
10
+ };
4
11
  export declare enum MediaKind {
5
12
  File = "File",
6
13
  Directory = "Directory"
@@ -391,6 +398,13 @@ export type TokenOwner = {
391
398
  export type TokenOwnersResponse = {
392
399
  owners: Array<TokenOwner>;
393
400
  };
401
+ export type TokenRedriveSummary = {
402
+ candidates: number;
403
+ scheduled: number;
404
+ indexOnly: number;
405
+ skippedRecent: number;
406
+ failed: number;
407
+ };
394
408
  export declare enum GateMatchMode {
395
409
  All = "ALL",
396
410
  Any = "ANY"
@@ -489,6 +503,7 @@ export declare enum TxUnitStatus {
489
503
  export type TxUnit = {
490
504
  id: string;
491
505
  ref?: string;
506
+ detail?: string;
492
507
  status: TxUnitStatus;
493
508
  };
494
509
  export type TxMilestone = {
@@ -504,6 +519,25 @@ export type TxStatusSnapshot = {
504
519
  overall: TxOverallStatus;
505
520
  milestones: Array<TxMilestone>;
506
521
  };
522
+ export type UserProfile = {
523
+ id: string;
524
+ email: string | null;
525
+ displayName: string | null;
526
+ primaryAddress: string | null;
527
+ walletAddresses: Array<string>;
528
+ bio: string | null;
529
+ website: string | null;
530
+ avatarMediaId: string | null;
531
+ avatarMedia: MediaAsset | null;
532
+ };
533
+ export type PublicUserProfile = {
534
+ primaryAddress: string;
535
+ walletAddresses: Array<string>;
536
+ displayName: string | null;
537
+ bio: string | null;
538
+ website: string | null;
539
+ avatarMedia: MediaAsset | null;
540
+ };
507
541
  export type ApiKey = {
508
542
  id: string;
509
543
  accountId: string;
@@ -540,8 +574,9 @@ export type CollectionListErrors = {
540
574
  /**
541
575
  * Unauthorized
542
576
  */
543
- 401: unknown;
577
+ 401: ApiErrorResponse;
544
578
  };
579
+ export type CollectionListError = CollectionListErrors[keyof CollectionListErrors];
545
580
  export type CollectionListResponses = {
546
581
  /**
547
582
  * List of collections
@@ -696,20 +731,21 @@ export type CollectionCreateErrors = {
696
731
  /**
697
732
  * Invalid request
698
733
  */
699
- 400: unknown;
734
+ 400: ApiErrorResponse;
700
735
  /**
701
736
  * Unauthorized
702
737
  */
703
- 401: unknown;
738
+ 401: ApiErrorResponse;
704
739
  /**
705
740
  * Forbidden
706
741
  */
707
- 403: unknown;
742
+ 403: ApiErrorResponse;
708
743
  /**
709
744
  * Not found
710
745
  */
711
- 404: unknown;
746
+ 404: ApiErrorResponse;
712
747
  };
748
+ export type CollectionCreateError = CollectionCreateErrors[keyof CollectionCreateErrors];
713
749
  export type CollectionCreateResponses = {
714
750
  /**
715
751
  * Created collection
@@ -840,8 +876,9 @@ export type CollectionTrendingErrors = {
840
876
  /**
841
877
  * Invalid request
842
878
  */
843
- 400: unknown;
879
+ 400: ApiErrorResponse;
844
880
  };
881
+ export type CollectionTrendingError = CollectionTrendingErrors[keyof CollectionTrendingErrors];
845
882
  export type CollectionTrendingResponses = {
846
883
  /**
847
884
  * Ranked trending collections
@@ -862,8 +899,9 @@ export type CollectionFeaturedErrors = {
862
899
  /**
863
900
  * Invalid request
864
901
  */
865
- 400: unknown;
902
+ 400: ApiErrorResponse;
866
903
  };
904
+ export type CollectionFeaturedError = CollectionFeaturedErrors[keyof CollectionFeaturedErrors];
867
905
  export type CollectionFeaturedResponses = {
868
906
  /**
869
907
  * Curated featured collections
@@ -883,12 +921,13 @@ export type CollectionGetErrors = {
883
921
  /**
884
922
  * Forbidden
885
923
  */
886
- 403: unknown;
924
+ 403: ApiErrorResponse;
887
925
  /**
888
926
  * Not found
889
927
  */
890
- 404: unknown;
928
+ 404: ApiErrorResponse;
891
929
  };
930
+ export type CollectionGetError = CollectionGetErrors[keyof CollectionGetErrors];
892
931
  export type CollectionGetResponses = {
893
932
  /**
894
933
  * Collection details
@@ -1019,12 +1058,13 @@ export type CollectionListPreviewsErrors = {
1019
1058
  /**
1020
1059
  * Forbidden
1021
1060
  */
1022
- 403: unknown;
1061
+ 403: ApiErrorResponse;
1023
1062
  /**
1024
1063
  * Not found
1025
1064
  */
1026
- 404: unknown;
1065
+ 404: ApiErrorResponse;
1027
1066
  };
1067
+ export type CollectionListPreviewsError = CollectionListPreviewsErrors[keyof CollectionListPreviewsErrors];
1028
1068
  export type CollectionListPreviewsResponses = {
1029
1069
  /**
1030
1070
  * Series previews
@@ -1044,24 +1084,25 @@ export type CollectionFinalizeBaseUriErrors = {
1044
1084
  /**
1045
1085
  * Base URI not set or directory empty
1046
1086
  */
1047
- 400: unknown;
1087
+ 400: ApiErrorResponse;
1048
1088
  /**
1049
1089
  * Unauthorized
1050
1090
  */
1051
- 401: unknown;
1091
+ 401: ApiErrorResponse;
1052
1092
  /**
1053
1093
  * Not the owner
1054
1094
  */
1055
- 403: unknown;
1095
+ 403: ApiErrorResponse;
1056
1096
  /**
1057
1097
  * Collection not found
1058
1098
  */
1059
- 404: unknown;
1099
+ 404: ApiErrorResponse;
1060
1100
  /**
1061
1101
  * Archive provider unavailable
1062
1102
  */
1063
- 503: unknown;
1103
+ 503: ApiErrorResponse;
1064
1104
  };
1105
+ export type CollectionFinalizeBaseUriError = CollectionFinalizeBaseUriErrors[keyof CollectionFinalizeBaseUriErrors];
1065
1106
  export type CollectionFinalizeBaseUriResponses = {
1066
1107
  /**
1067
1108
  * Collection with Archive location on base URI
@@ -1208,20 +1249,21 @@ export type CollectionUpdateGenerativeDetailsErrors = {
1208
1249
  /**
1209
1250
  * Invalid request
1210
1251
  */
1211
- 400: unknown;
1252
+ 400: ApiErrorResponse;
1212
1253
  /**
1213
1254
  * Unauthorized
1214
1255
  */
1215
- 401: unknown;
1256
+ 401: ApiErrorResponse;
1216
1257
  /**
1217
1258
  * Forbidden
1218
1259
  */
1219
- 403: unknown;
1260
+ 403: ApiErrorResponse;
1220
1261
  /**
1221
1262
  * Not found
1222
1263
  */
1223
- 404: unknown;
1264
+ 404: ApiErrorResponse;
1224
1265
  };
1266
+ export type CollectionUpdateGenerativeDetailsError = CollectionUpdateGenerativeDetailsErrors[keyof CollectionUpdateGenerativeDetailsErrors];
1225
1267
  export type CollectionUpdateGenerativeDetailsResponses = {
1226
1268
  /**
1227
1269
  * Updated generative draft details
@@ -1356,20 +1398,21 @@ export type CollectionUpdateSeriesDetailsErrors = {
1356
1398
  /**
1357
1399
  * Invalid request
1358
1400
  */
1359
- 400: unknown;
1401
+ 400: ApiErrorResponse;
1360
1402
  /**
1361
1403
  * Unauthorized
1362
1404
  */
1363
- 401: unknown;
1405
+ 401: ApiErrorResponse;
1364
1406
  /**
1365
1407
  * Forbidden
1366
1408
  */
1367
- 403: unknown;
1409
+ 403: ApiErrorResponse;
1368
1410
  /**
1369
1411
  * Not found
1370
1412
  */
1371
- 404: unknown;
1413
+ 404: ApiErrorResponse;
1372
1414
  };
1415
+ export type CollectionUpdateSeriesDetailsError = CollectionUpdateSeriesDetailsErrors[keyof CollectionUpdateSeriesDetailsErrors];
1373
1416
  export type CollectionUpdateSeriesDetailsResponses = {
1374
1417
  /**
1375
1418
  * Updated series draft details
@@ -1510,24 +1553,25 @@ export type CollectionUpdateEditionDetailsErrors = {
1510
1553
  /**
1511
1554
  * Invalid request
1512
1555
  */
1513
- 400: unknown;
1556
+ 400: ApiErrorResponse;
1514
1557
  /**
1515
1558
  * Unauthorized
1516
1559
  */
1517
- 401: unknown;
1560
+ 401: ApiErrorResponse;
1518
1561
  /**
1519
1562
  * Forbidden
1520
1563
  */
1521
- 403: unknown;
1564
+ 403: ApiErrorResponse;
1522
1565
  /**
1523
1566
  * Not found
1524
1567
  */
1525
- 404: unknown;
1568
+ 404: ApiErrorResponse;
1526
1569
  /**
1527
1570
  * Metadata archive provider unavailable
1528
1571
  */
1529
- 503: unknown;
1572
+ 503: ApiErrorResponse;
1530
1573
  };
1574
+ export type CollectionUpdateEditionDetailsError = CollectionUpdateEditionDetailsErrors[keyof CollectionUpdateEditionDetailsErrors];
1531
1575
  export type CollectionUpdateEditionDetailsResponses = {
1532
1576
  /**
1533
1577
  * Updated edition details (draft) or a transaction to sign (live)
@@ -1547,16 +1591,17 @@ export type CollectionGetSalesErrors = {
1547
1591
  /**
1548
1592
  * Unauthorized
1549
1593
  */
1550
- 401: unknown;
1594
+ 401: ApiErrorResponse;
1551
1595
  /**
1552
1596
  * Forbidden
1553
1597
  */
1554
- 403: unknown;
1598
+ 403: ApiErrorResponse;
1555
1599
  /**
1556
1600
  * Not found
1557
1601
  */
1558
- 404: unknown;
1602
+ 404: ApiErrorResponse;
1559
1603
  };
1604
+ export type CollectionGetSalesError = CollectionGetSalesErrors[keyof CollectionGetSalesErrors];
1560
1605
  export type CollectionGetSalesResponses = {
1561
1606
  /**
1562
1607
  * Collection sales
@@ -1621,24 +1666,25 @@ export type CollectionAddSaleErrors = {
1621
1666
  /**
1622
1667
  * Invalid request
1623
1668
  */
1624
- 400: unknown;
1669
+ 400: ApiErrorResponse;
1625
1670
  /**
1626
1671
  * Unauthorized
1627
1672
  */
1628
- 401: unknown;
1673
+ 401: ApiErrorResponse;
1629
1674
  /**
1630
1675
  * Forbidden
1631
1676
  */
1632
- 403: unknown;
1677
+ 403: ApiErrorResponse;
1633
1678
  /**
1634
1679
  * Not found
1635
1680
  */
1636
- 404: unknown;
1681
+ 404: ApiErrorResponse;
1637
1682
  /**
1638
1683
  * Sale already exists
1639
1684
  */
1640
- 409: unknown;
1685
+ 409: ApiErrorResponse;
1641
1686
  };
1687
+ export type CollectionAddSaleError = CollectionAddSaleErrors[keyof CollectionAddSaleErrors];
1642
1688
  export type CollectionAddSaleResponses = {
1643
1689
  /**
1644
1690
  * Sale added
@@ -1668,20 +1714,21 @@ export type CollectionDeleteSaleErrors = {
1668
1714
  /**
1669
1715
  * Invalid request
1670
1716
  */
1671
- 400: unknown;
1717
+ 400: ApiErrorResponse;
1672
1718
  /**
1673
1719
  * Unauthorized
1674
1720
  */
1675
- 401: unknown;
1721
+ 401: ApiErrorResponse;
1676
1722
  /**
1677
1723
  * Forbidden
1678
1724
  */
1679
- 403: unknown;
1725
+ 403: ApiErrorResponse;
1680
1726
  /**
1681
1727
  * Not found
1682
1728
  */
1683
- 404: unknown;
1729
+ 404: ApiErrorResponse;
1684
1730
  };
1731
+ export type CollectionDeleteSaleError = CollectionDeleteSaleErrors[keyof CollectionDeleteSaleErrors];
1685
1732
  export type CollectionDeleteSaleResponses = {
1686
1733
  /**
1687
1734
  * Sale deleted
@@ -1715,20 +1762,21 @@ export type CollectionUpdateSaleErrors = {
1715
1762
  /**
1716
1763
  * Invalid request
1717
1764
  */
1718
- 400: unknown;
1765
+ 400: ApiErrorResponse;
1719
1766
  /**
1720
1767
  * Unauthorized
1721
1768
  */
1722
- 401: unknown;
1769
+ 401: ApiErrorResponse;
1723
1770
  /**
1724
1771
  * Forbidden
1725
1772
  */
1726
- 403: unknown;
1773
+ 403: ApiErrorResponse;
1727
1774
  /**
1728
1775
  * Not found
1729
1776
  */
1730
- 404: unknown;
1777
+ 404: ApiErrorResponse;
1731
1778
  };
1779
+ export type CollectionUpdateSaleError = CollectionUpdateSaleErrors[keyof CollectionUpdateSaleErrors];
1732
1780
  export type CollectionUpdateSaleResponses = {
1733
1781
  /**
1734
1782
  * Sale updated
@@ -1761,20 +1809,21 @@ export type CollectionClaimSaleErrors = {
1761
1809
  /**
1762
1810
  * Invalid request
1763
1811
  */
1764
- 400: unknown;
1812
+ 400: ApiErrorResponse;
1765
1813
  /**
1766
1814
  * Unauthorized
1767
1815
  */
1768
- 401: unknown;
1816
+ 401: ApiErrorResponse;
1769
1817
  /**
1770
1818
  * Not found
1771
1819
  */
1772
- 404: unknown;
1820
+ 404: ApiErrorResponse;
1773
1821
  /**
1774
1822
  * Internal server error
1775
1823
  */
1776
- 500: unknown;
1824
+ 500: ApiErrorResponse;
1777
1825
  };
1826
+ export type CollectionClaimSaleError = CollectionClaimSaleErrors[keyof CollectionClaimSaleErrors];
1778
1827
  export type CollectionClaimSaleResponses = {
1779
1828
  /**
1780
1829
  * Claim transaction configuration
@@ -1804,16 +1853,17 @@ export type CollectionBidSaleErrors = {
1804
1853
  /**
1805
1854
  * Invalid request
1806
1855
  */
1807
- 400: unknown;
1856
+ 400: ApiErrorResponse;
1808
1857
  /**
1809
1858
  * Unauthorized
1810
1859
  */
1811
- 401: unknown;
1860
+ 401: ApiErrorResponse;
1812
1861
  /**
1813
1862
  * Not found
1814
1863
  */
1815
- 404: unknown;
1864
+ 404: ApiErrorResponse;
1816
1865
  };
1866
+ export type CollectionBidSaleError = CollectionBidSaleErrors[keyof CollectionBidSaleErrors];
1817
1867
  export type CollectionBidSaleResponses = {
1818
1868
  /**
1819
1869
  * Bid transaction configuration
@@ -1841,20 +1891,21 @@ export type CollectionReclaimBidErrors = {
1841
1891
  /**
1842
1892
  * Invalid request
1843
1893
  */
1844
- 400: unknown;
1894
+ 400: ApiErrorResponse;
1845
1895
  /**
1846
1896
  * Unauthorized
1847
1897
  */
1848
- 401: unknown;
1898
+ 401: ApiErrorResponse;
1849
1899
  /**
1850
1900
  * Not found
1851
1901
  */
1852
- 404: unknown;
1902
+ 404: ApiErrorResponse;
1853
1903
  /**
1854
1904
  * Internal server error
1855
1905
  */
1856
- 500: unknown;
1906
+ 500: ApiErrorResponse;
1857
1907
  };
1908
+ export type CollectionReclaimBidError = CollectionReclaimBidErrors[keyof CollectionReclaimBidErrors];
1858
1909
  export type CollectionReclaimBidResponses = {
1859
1910
  /**
1860
1911
  * Reclaim transaction configuration
@@ -1881,24 +1932,25 @@ export type CollectionClaimAuctionEarningsErrors = {
1881
1932
  /**
1882
1933
  * Invalid request
1883
1934
  */
1884
- 400: unknown;
1935
+ 400: ApiErrorResponse;
1885
1936
  /**
1886
1937
  * Unauthorized
1887
1938
  */
1888
- 401: unknown;
1939
+ 401: ApiErrorResponse;
1889
1940
  /**
1890
1941
  * Not found
1891
1942
  */
1892
- 404: unknown;
1943
+ 404: ApiErrorResponse;
1893
1944
  /**
1894
1945
  * Already claimed
1895
1946
  */
1896
- 409: unknown;
1947
+ 409: ApiErrorResponse;
1897
1948
  /**
1898
1949
  * Internal server error
1899
1950
  */
1900
- 500: unknown;
1951
+ 500: ApiErrorResponse;
1901
1952
  };
1953
+ export type CollectionClaimAuctionEarningsError = CollectionClaimAuctionEarningsErrors[keyof CollectionClaimAuctionEarningsErrors];
1902
1954
  export type CollectionClaimAuctionEarningsResponses = {
1903
1955
  /**
1904
1956
  * Earnings withdrawal transaction configuration
@@ -1924,12 +1976,13 @@ export type CollectionRankedAuctionStandingsErrors = {
1924
1976
  /**
1925
1977
  * Invalid request
1926
1978
  */
1927
- 400: unknown;
1979
+ 400: ApiErrorResponse;
1928
1980
  /**
1929
1981
  * Not found
1930
1982
  */
1931
- 404: unknown;
1983
+ 404: ApiErrorResponse;
1932
1984
  };
1985
+ export type CollectionRankedAuctionStandingsError = CollectionRankedAuctionStandingsErrors[keyof CollectionRankedAuctionStandingsErrors];
1933
1986
  export type CollectionRankedAuctionStandingsResponses = {
1934
1987
  /**
1935
1988
  * Ranked auction standings
@@ -1951,20 +2004,21 @@ export type CollectionFulfillEnglishAuctionErrors = {
1951
2004
  /**
1952
2005
  * Invalid request
1953
2006
  */
1954
- 400: unknown;
2007
+ 400: ApiErrorResponse;
1955
2008
  /**
1956
2009
  * Unauthorized
1957
2010
  */
1958
- 401: unknown;
2011
+ 401: ApiErrorResponse;
1959
2012
  /**
1960
2013
  * Not found
1961
2014
  */
1962
- 404: unknown;
2015
+ 404: ApiErrorResponse;
1963
2016
  /**
1964
2017
  * Internal server error
1965
2018
  */
1966
- 500: unknown;
2019
+ 500: ApiErrorResponse;
1967
2020
  };
2021
+ export type CollectionFulfillEnglishAuctionError = CollectionFulfillEnglishAuctionErrors[keyof CollectionFulfillEnglishAuctionErrors];
1968
2022
  export type CollectionFulfillEnglishAuctionResponses = {
1969
2023
  /**
1970
2024
  * Fulfill transaction configuration
@@ -1991,24 +2045,25 @@ export type CollectionCancelEnglishAuctionErrors = {
1991
2045
  /**
1992
2046
  * Invalid request
1993
2047
  */
1994
- 400: unknown;
2048
+ 400: ApiErrorResponse;
1995
2049
  /**
1996
2050
  * Unauthorized
1997
2051
  */
1998
- 401: unknown;
2052
+ 401: ApiErrorResponse;
1999
2053
  /**
2000
2054
  * Forbidden
2001
2055
  */
2002
- 403: unknown;
2056
+ 403: ApiErrorResponse;
2003
2057
  /**
2004
2058
  * Not found
2005
2059
  */
2006
- 404: unknown;
2060
+ 404: ApiErrorResponse;
2007
2061
  /**
2008
2062
  * Internal server error
2009
2063
  */
2010
- 500: unknown;
2064
+ 500: ApiErrorResponse;
2011
2065
  };
2066
+ export type CollectionCancelEnglishAuctionError = CollectionCancelEnglishAuctionErrors[keyof CollectionCancelEnglishAuctionErrors];
2012
2067
  export type CollectionCancelEnglishAuctionResponses = {
2013
2068
  /**
2014
2069
  * Cancel transaction configuration
@@ -2034,12 +2089,13 @@ export type CollectionEnglishAuctionStandingErrors = {
2034
2089
  /**
2035
2090
  * Invalid request
2036
2091
  */
2037
- 400: unknown;
2092
+ 400: ApiErrorResponse;
2038
2093
  /**
2039
2094
  * Not found
2040
2095
  */
2041
- 404: unknown;
2096
+ 404: ApiErrorResponse;
2042
2097
  };
2098
+ export type CollectionEnglishAuctionStandingError = CollectionEnglishAuctionStandingErrors[keyof CollectionEnglishAuctionStandingErrors];
2043
2099
  export type CollectionEnglishAuctionStandingResponses = {
2044
2100
  /**
2045
2101
  * English auction standing
@@ -2060,12 +2116,13 @@ export type CollectionEnglishAuctionBidsErrors = {
2060
2116
  /**
2061
2117
  * Invalid request
2062
2118
  */
2063
- 400: unknown;
2119
+ 400: ApiErrorResponse;
2064
2120
  /**
2065
2121
  * Not found
2066
2122
  */
2067
- 404: unknown;
2123
+ 404: ApiErrorResponse;
2068
2124
  };
2125
+ export type CollectionEnglishAuctionBidsError = CollectionEnglishAuctionBidsErrors[keyof CollectionEnglishAuctionBidsErrors];
2069
2126
  export type CollectionEnglishAuctionBidsResponses = {
2070
2127
  /**
2071
2128
  * English auction bid history
@@ -2085,20 +2142,21 @@ export type CollectionDeployErrors = {
2085
2142
  /**
2086
2143
  * Invalid request
2087
2144
  */
2088
- 400: unknown;
2145
+ 400: ApiErrorResponse;
2089
2146
  /**
2090
2147
  * Unauthorized
2091
2148
  */
2092
- 401: unknown;
2149
+ 401: ApiErrorResponse;
2093
2150
  /**
2094
2151
  * Forbidden
2095
2152
  */
2096
- 403: unknown;
2153
+ 403: ApiErrorResponse;
2097
2154
  /**
2098
2155
  * Not found
2099
2156
  */
2100
- 404: unknown;
2157
+ 404: ApiErrorResponse;
2101
2158
  };
2159
+ export type CollectionDeployError = CollectionDeployErrors[keyof CollectionDeployErrors];
2102
2160
  export type CollectionDeployResponses = {
2103
2161
  /**
2104
2162
  * Deployment initiated
@@ -2136,16 +2194,17 @@ export type CollectionDeployStatusErrors = {
2136
2194
  /**
2137
2195
  * Unauthorized
2138
2196
  */
2139
- 401: unknown;
2197
+ 401: ApiErrorResponse;
2140
2198
  /**
2141
2199
  * Forbidden
2142
2200
  */
2143
- 403: unknown;
2201
+ 403: ApiErrorResponse;
2144
2202
  /**
2145
2203
  * Not found
2146
2204
  */
2147
- 404: unknown;
2205
+ 404: ApiErrorResponse;
2148
2206
  };
2207
+ export type CollectionDeployStatusError = CollectionDeployStatusErrors[keyof CollectionDeployStatusErrors];
2149
2208
  export type CollectionDeployStatusResponses = {
2150
2209
  /**
2151
2210
  * Deployment status
@@ -2183,20 +2242,21 @@ export type CollectionDeployCancelErrors = {
2183
2242
  /**
2184
2243
  * Deployment cannot be cancelled from its current state
2185
2244
  */
2186
- 400: unknown;
2245
+ 400: ApiErrorResponse;
2187
2246
  /**
2188
2247
  * Unauthorized
2189
2248
  */
2190
- 401: unknown;
2249
+ 401: ApiErrorResponse;
2191
2250
  /**
2192
2251
  * Forbidden
2193
2252
  */
2194
- 403: unknown;
2253
+ 403: ApiErrorResponse;
2195
2254
  /**
2196
2255
  * Not found
2197
2256
  */
2198
- 404: unknown;
2257
+ 404: ApiErrorResponse;
2199
2258
  };
2259
+ export type CollectionDeployCancelError = CollectionDeployCancelErrors[keyof CollectionDeployCancelErrors];
2200
2260
  export type CollectionDeployCancelResponses = {
2201
2261
  /**
2202
2262
  * Deployment cancelled
@@ -2230,12 +2290,13 @@ export type TokenListErrors = {
2230
2290
  /**
2231
2291
  * Malformed attributes filter
2232
2292
  */
2233
- 400: unknown;
2293
+ 400: ApiErrorResponse;
2234
2294
  /**
2235
2295
  * Collection not found or not public
2236
2296
  */
2237
- 404: unknown;
2297
+ 404: ApiErrorResponse;
2238
2298
  };
2299
+ export type TokenListError = TokenListErrors[keyof TokenListErrors];
2239
2300
  export type TokenListResponses = {
2240
2301
  /**
2241
2302
  * List of tokens
@@ -2288,8 +2349,9 @@ export type TokenAttributeFacetsErrors = {
2288
2349
  /**
2289
2350
  * Collection not found or not public
2290
2351
  */
2291
- 404: unknown;
2352
+ 404: ApiErrorResponse;
2292
2353
  };
2354
+ export type TokenAttributeFacetsError = TokenAttributeFacetsErrors[keyof TokenAttributeFacetsErrors];
2293
2355
  export type TokenAttributeFacetsResponses = {
2294
2356
  /**
2295
2357
  * Attribute facets
@@ -2312,8 +2374,9 @@ export type TokenGetErrors = {
2312
2374
  /**
2313
2375
  * Token or collection not found
2314
2376
  */
2315
- 404: unknown;
2377
+ 404: ApiErrorResponse;
2316
2378
  };
2379
+ export type TokenGetError = TokenGetErrors[keyof TokenGetErrors];
2317
2380
  export type TokenGetResponses = {
2318
2381
  /**
2319
2382
  * Token details
@@ -2357,8 +2420,9 @@ export type TokenListOwnersErrors = {
2357
2420
  /**
2358
2421
  * Token or collection not found
2359
2422
  */
2360
- 404: unknown;
2423
+ 404: ApiErrorResponse;
2361
2424
  };
2425
+ export type TokenListOwnersError = TokenListOwnersErrors[keyof TokenListOwnersErrors];
2362
2426
  export type TokenListOwnersResponses = {
2363
2427
  /**
2364
2428
  * Token owners
@@ -2366,6 +2430,32 @@ export type TokenListOwnersResponses = {
2366
2430
  200: TokenOwnersResponse;
2367
2431
  };
2368
2432
  export type TokenListOwnersResponse = TokenListOwnersResponses[keyof TokenListOwnersResponses];
2433
+ export type TokenRedriveRevealsData = {
2434
+ body?: never;
2435
+ path: {
2436
+ highlightId: string;
2437
+ };
2438
+ query?: never;
2439
+ url: "/collection/{highlightId}/tokens/redrive-reveals";
2440
+ };
2441
+ export type TokenRedriveRevealsErrors = {
2442
+ /**
2443
+ * Authentication required
2444
+ */
2445
+ 401: ApiErrorResponse;
2446
+ /**
2447
+ * Collection not found
2448
+ */
2449
+ 404: ApiErrorResponse;
2450
+ };
2451
+ export type TokenRedriveRevealsError = TokenRedriveRevealsErrors[keyof TokenRedriveRevealsErrors];
2452
+ export type TokenRedriveRevealsResponses = {
2453
+ /**
2454
+ * Re-drive summary
2455
+ */
2456
+ 200: TokenRedriveSummary;
2457
+ };
2458
+ export type TokenRedriveRevealsResponse = TokenRedriveRevealsResponses[keyof TokenRedriveRevealsResponses];
2369
2459
  export type ConfigChainsData = {
2370
2460
  body?: never;
2371
2461
  path?: never;
@@ -2409,12 +2499,13 @@ export type ConfigSystemContractErrors = {
2409
2499
  /**
2410
2500
  * Invalid request
2411
2501
  */
2412
- 400: unknown;
2502
+ 400: ApiErrorResponse;
2413
2503
  /**
2414
2504
  * Configuration error
2415
2505
  */
2416
- 500: unknown;
2506
+ 500: ApiErrorResponse;
2417
2507
  };
2508
+ export type ConfigSystemContractError = ConfigSystemContractErrors[keyof ConfigSystemContractErrors];
2418
2509
  export type ConfigSystemContractResponses = {
2419
2510
  /**
2420
2511
  * System contract address
@@ -2439,8 +2530,9 @@ export type ContractListErrors = {
2439
2530
  /**
2440
2531
  * Unauthorized
2441
2532
  */
2442
- 401: unknown;
2533
+ 401: ApiErrorResponse;
2443
2534
  };
2535
+ export type ContractListError = ContractListErrors[keyof ContractListErrors];
2444
2536
  export type ContractListResponses = {
2445
2537
  /**
2446
2538
  * List of contracts
@@ -2479,12 +2571,13 @@ export type ContractGetErrors = {
2479
2571
  /**
2480
2572
  * Unauthorized
2481
2573
  */
2482
- 401: unknown;
2574
+ 401: ApiErrorResponse;
2483
2575
  /**
2484
2576
  * Not found
2485
2577
  */
2486
- 404: unknown;
2578
+ 404: ApiErrorResponse;
2487
2579
  };
2580
+ export type ContractGetError = ContractGetErrors[keyof ContractGetErrors];
2488
2581
  export type ContractGetResponses = {
2489
2582
  /**
2490
2583
  * Contract details
@@ -2515,8 +2608,9 @@ export type GateListErrors = {
2515
2608
  /**
2516
2609
  * Unauthorized
2517
2610
  */
2518
- 401: unknown;
2611
+ 401: ApiErrorResponse;
2519
2612
  };
2613
+ export type GateListError = GateListErrors[keyof GateListErrors];
2520
2614
  export type GateListResponses = {
2521
2615
  /**
2522
2616
  * List of gates
@@ -2594,12 +2688,13 @@ export type GateCreateErrors = {
2594
2688
  /**
2595
2689
  * Invalid request
2596
2690
  */
2597
- 400: unknown;
2691
+ 400: ApiErrorResponse;
2598
2692
  /**
2599
2693
  * Unauthorized
2600
2694
  */
2601
- 401: unknown;
2695
+ 401: ApiErrorResponse;
2602
2696
  };
2697
+ export type GateCreateError = GateCreateErrors[keyof GateCreateErrors];
2603
2698
  export type GateCreateResponses = {
2604
2699
  /**
2605
2700
  * Created gate
@@ -2633,16 +2728,17 @@ export type GateRemoveErrors = {
2633
2728
  /**
2634
2729
  * Unauthorized
2635
2730
  */
2636
- 401: unknown;
2731
+ 401: ApiErrorResponse;
2637
2732
  /**
2638
2733
  * Forbidden
2639
2734
  */
2640
- 403: unknown;
2735
+ 403: ApiErrorResponse;
2641
2736
  /**
2642
2737
  * Not found
2643
2738
  */
2644
- 404: unknown;
2739
+ 404: ApiErrorResponse;
2645
2740
  };
2741
+ export type GateRemoveError = GateRemoveErrors[keyof GateRemoveErrors];
2646
2742
  export type GateRemoveResponses = {
2647
2743
  /**
2648
2744
  * Gate deleted
@@ -2664,16 +2760,17 @@ export type GateGetErrors = {
2664
2760
  /**
2665
2761
  * Unauthorized
2666
2762
  */
2667
- 401: unknown;
2763
+ 401: ApiErrorResponse;
2668
2764
  /**
2669
2765
  * Forbidden
2670
2766
  */
2671
- 403: unknown;
2767
+ 403: ApiErrorResponse;
2672
2768
  /**
2673
2769
  * Not found
2674
2770
  */
2675
- 404: unknown;
2771
+ 404: ApiErrorResponse;
2676
2772
  };
2773
+ export type GateGetError = GateGetErrors[keyof GateGetErrors];
2677
2774
  export type GateGetResponses = {
2678
2775
  /**
2679
2776
  * Gate details
@@ -2753,20 +2850,21 @@ export type GateUpdateErrors = {
2753
2850
  /**
2754
2851
  * Invalid request
2755
2852
  */
2756
- 400: unknown;
2853
+ 400: ApiErrorResponse;
2757
2854
  /**
2758
2855
  * Unauthorized
2759
2856
  */
2760
- 401: unknown;
2857
+ 401: ApiErrorResponse;
2761
2858
  /**
2762
2859
  * Forbidden
2763
2860
  */
2764
- 403: unknown;
2861
+ 403: ApiErrorResponse;
2765
2862
  /**
2766
2863
  * Not found
2767
2864
  */
2768
- 404: unknown;
2865
+ 404: ApiErrorResponse;
2769
2866
  };
2867
+ export type GateUpdateError = GateUpdateErrors[keyof GateUpdateErrors];
2770
2868
  export type GateUpdateResponses = {
2771
2869
  /**
2772
2870
  * Updated gate
@@ -2801,20 +2899,21 @@ export type GatePreviewCollectionErrors = {
2801
2899
  /**
2802
2900
  * Unsupported chain
2803
2901
  */
2804
- 400: unknown;
2902
+ 400: ApiErrorResponse;
2805
2903
  /**
2806
2904
  * Unauthorized
2807
2905
  */
2808
- 401: unknown;
2906
+ 401: ApiErrorResponse;
2809
2907
  /**
2810
2908
  * No contract found at this address
2811
2909
  */
2812
- 404: unknown;
2910
+ 404: ApiErrorResponse;
2813
2911
  /**
2814
2912
  * NFT data provider not configured
2815
2913
  */
2816
- 500: unknown;
2914
+ 500: ApiErrorResponse;
2817
2915
  };
2916
+ export type GatePreviewCollectionError = GatePreviewCollectionErrors[keyof GatePreviewCollectionErrors];
2818
2917
  export type GatePreviewCollectionResponses = {
2819
2918
  /**
2820
2919
  * Collection preview
@@ -2835,16 +2934,17 @@ export type GatePreviewAttributesErrors = {
2835
2934
  /**
2836
2935
  * Unsupported chain
2837
2936
  */
2838
- 400: unknown;
2937
+ 400: ApiErrorResponse;
2839
2938
  /**
2840
2939
  * Unauthorized
2841
2940
  */
2842
- 401: unknown;
2941
+ 401: ApiErrorResponse;
2843
2942
  /**
2844
2943
  * NFT data provider not configured
2845
2944
  */
2846
- 500: unknown;
2945
+ 500: ApiErrorResponse;
2847
2946
  };
2947
+ export type GatePreviewAttributesError = GatePreviewAttributesErrors[keyof GatePreviewAttributesErrors];
2848
2948
  export type GatePreviewAttributesResponses = {
2849
2949
  /**
2850
2950
  * Attribute facets
@@ -2868,16 +2968,17 @@ export type GatePreviewTokensErrors = {
2868
2968
  /**
2869
2969
  * Unsupported chain
2870
2970
  */
2871
- 400: unknown;
2971
+ 400: ApiErrorResponse;
2872
2972
  /**
2873
2973
  * Unauthorized
2874
2974
  */
2875
- 401: unknown;
2975
+ 401: ApiErrorResponse;
2876
2976
  /**
2877
2977
  * NFT data provider not configured
2878
2978
  */
2879
- 500: unknown;
2979
+ 500: ApiErrorResponse;
2880
2980
  };
2981
+ export type GatePreviewTokensError = GatePreviewTokensErrors[keyof GatePreviewTokensErrors];
2881
2982
  export type GatePreviewTokensResponses = {
2882
2983
  /**
2883
2984
  * Token page
@@ -2899,20 +3000,21 @@ export type GatePreviewTokenErrors = {
2899
3000
  /**
2900
3001
  * Unsupported chain
2901
3002
  */
2902
- 400: unknown;
3003
+ 400: ApiErrorResponse;
2903
3004
  /**
2904
3005
  * Unauthorized
2905
3006
  */
2906
- 401: unknown;
3007
+ 401: ApiErrorResponse;
2907
3008
  /**
2908
3009
  * Token not found
2909
3010
  */
2910
- 404: unknown;
3011
+ 404: ApiErrorResponse;
2911
3012
  /**
2912
3013
  * NFT data provider not configured
2913
3014
  */
2914
- 500: unknown;
3015
+ 500: ApiErrorResponse;
2915
3016
  };
3017
+ export type GatePreviewTokenError = GatePreviewTokenErrors[keyof GatePreviewTokenErrors];
2916
3018
  export type GatePreviewTokenResponses = {
2917
3019
  /**
2918
3020
  * Token preview
@@ -2938,12 +3040,13 @@ export type GatePreviewCurrencyErrors = {
2938
3040
  /**
2939
3041
  * Unauthorized
2940
3042
  */
2941
- 401: unknown;
3043
+ 401: ApiErrorResponse;
2942
3044
  /**
2943
3045
  * Address is not a readable ERC-20
2944
3046
  */
2945
- 404: unknown;
3047
+ 404: ApiErrorResponse;
2946
3048
  };
3049
+ export type GatePreviewCurrencyError = GatePreviewCurrencyErrors[keyof GatePreviewCurrencyErrors];
2947
3050
  export type GatePreviewCurrencyResponses = {
2948
3051
  /**
2949
3052
  * Currency preview
@@ -2963,16 +3066,17 @@ export type GatePreviewFarcasterErrors = {
2963
3066
  /**
2964
3067
  * Unauthorized
2965
3068
  */
2966
- 401: unknown;
3069
+ 401: ApiErrorResponse;
2967
3070
  /**
2968
3071
  * No Farcaster user found
2969
3072
  */
2970
- 404: unknown;
3073
+ 404: ApiErrorResponse;
2971
3074
  /**
2972
3075
  * Farcaster provider not configured
2973
3076
  */
2974
- 500: unknown;
3077
+ 500: ApiErrorResponse;
2975
3078
  };
3079
+ export type GatePreviewFarcasterError = GatePreviewFarcasterErrors[keyof GatePreviewFarcasterErrors];
2976
3080
  export type GatePreviewFarcasterResponses = {
2977
3081
  /**
2978
3082
  * Farcaster user
@@ -2988,7 +3092,21 @@ export type PostIndexerChainsByChainIdActivateData = {
2988
3092
  query?: never;
2989
3093
  url: "/indexer/chains/{chainId}/activate";
2990
3094
  };
3095
+ export type PostIndexerChainsByChainIdActivateErrors = {
3096
+ /**
3097
+ * Unauthorized
3098
+ */
3099
+ 401: ApiErrorResponse;
3100
+ /**
3101
+ * Chain not found or disabled
3102
+ */
3103
+ 404: ApiErrorResponse;
3104
+ };
3105
+ export type PostIndexerChainsByChainIdActivateError = PostIndexerChainsByChainIdActivateErrors[keyof PostIndexerChainsByChainIdActivateErrors];
2991
3106
  export type PostIndexerChainsByChainIdActivateResponses = {
3107
+ /**
3108
+ * Indexer activated
3109
+ */
2992
3110
  200: unknown;
2993
3111
  };
2994
3112
  export type PostIndexerChainsByChainIdResetData = {
@@ -3001,7 +3119,17 @@ export type PostIndexerChainsByChainIdResetData = {
3001
3119
  query?: never;
3002
3120
  url: "/indexer/chains/{chainId}/reset";
3003
3121
  };
3122
+ export type PostIndexerChainsByChainIdResetErrors = {
3123
+ /**
3124
+ * Unauthorized
3125
+ */
3126
+ 401: ApiErrorResponse;
3127
+ };
3128
+ export type PostIndexerChainsByChainIdResetError = PostIndexerChainsByChainIdResetErrors[keyof PostIndexerChainsByChainIdResetErrors];
3004
3129
  export type PostIndexerChainsByChainIdResetResponses = {
3130
+ /**
3131
+ * Indexer cursor reset
3132
+ */
3005
3133
  200: unknown;
3006
3134
  };
3007
3135
  export type PostIndexerChainsByChainIdPollData = {
@@ -3012,7 +3140,21 @@ export type PostIndexerChainsByChainIdPollData = {
3012
3140
  query?: never;
3013
3141
  url: "/indexer/chains/{chainId}/poll";
3014
3142
  };
3143
+ export type PostIndexerChainsByChainIdPollErrors = {
3144
+ /**
3145
+ * Unauthorized
3146
+ */
3147
+ 401: ApiErrorResponse;
3148
+ /**
3149
+ * Poll failed
3150
+ */
3151
+ 500: ApiErrorResponse;
3152
+ };
3153
+ export type PostIndexerChainsByChainIdPollError = PostIndexerChainsByChainIdPollErrors[keyof PostIndexerChainsByChainIdPollErrors];
3015
3154
  export type PostIndexerChainsByChainIdPollResponses = {
3155
+ /**
3156
+ * Poll completed
3157
+ */
3016
3158
  200: unknown;
3017
3159
  };
3018
3160
  export type MechanicListData = {
@@ -3064,12 +3206,13 @@ export type MechanicCreateErrors = {
3064
3206
  /**
3065
3207
  * Invalid request
3066
3208
  */
3067
- 400: unknown;
3209
+ 400: ApiErrorResponse;
3068
3210
  /**
3069
3211
  * Unauthorized
3070
3212
  */
3071
- 401: unknown;
3213
+ 401: ApiErrorResponse;
3072
3214
  };
3215
+ export type MechanicCreateError = MechanicCreateErrors[keyof MechanicCreateErrors];
3073
3216
  export type MechanicCreateResponses = {
3074
3217
  /**
3075
3218
  * Created mechanic
@@ -3106,8 +3249,9 @@ export type MechanicGetErrors = {
3106
3249
  /**
3107
3250
  * Not found
3108
3251
  */
3109
- 404: unknown;
3252
+ 404: ApiErrorResponse;
3110
3253
  };
3254
+ export type MechanicGetError = MechanicGetErrors[keyof MechanicGetErrors];
3111
3255
  export type MechanicGetResponses = {
3112
3256
  /**
3113
3257
  * Mechanic details
@@ -3149,20 +3293,21 @@ export type MechanicUpdateErrors = {
3149
3293
  /**
3150
3294
  * Invalid request
3151
3295
  */
3152
- 400: unknown;
3296
+ 400: ApiErrorResponse;
3153
3297
  /**
3154
3298
  * Unauthorized
3155
3299
  */
3156
- 401: unknown;
3300
+ 401: ApiErrorResponse;
3157
3301
  /**
3158
3302
  * Forbidden
3159
3303
  */
3160
- 403: unknown;
3304
+ 403: ApiErrorResponse;
3161
3305
  /**
3162
3306
  * Not found
3163
3307
  */
3164
- 404: unknown;
3308
+ 404: ApiErrorResponse;
3165
3309
  };
3310
+ export type MechanicUpdateError = MechanicUpdateErrors[keyof MechanicUpdateErrors];
3166
3311
  export type MechanicUpdateResponses = {
3167
3312
  /**
3168
3313
  * Updated mechanic
@@ -3201,20 +3346,21 @@ export type MechanicRemoveDeploymentErrors = {
3201
3346
  /**
3202
3347
  * Invalid request
3203
3348
  */
3204
- 400: unknown;
3349
+ 400: ApiErrorResponse;
3205
3350
  /**
3206
3351
  * Unauthorized
3207
3352
  */
3208
- 401: unknown;
3353
+ 401: ApiErrorResponse;
3209
3354
  /**
3210
3355
  * Forbidden
3211
3356
  */
3212
- 403: unknown;
3357
+ 403: ApiErrorResponse;
3213
3358
  /**
3214
3359
  * Not found
3215
3360
  */
3216
- 404: unknown;
3361
+ 404: ApiErrorResponse;
3217
3362
  };
3363
+ export type MechanicRemoveDeploymentError = MechanicRemoveDeploymentErrors[keyof MechanicRemoveDeploymentErrors];
3218
3364
  export type MechanicRemoveDeploymentResponses = {
3219
3365
  /**
3220
3366
  * Updated mechanic without the removed deployment
@@ -3254,20 +3400,21 @@ export type MechanicAddDeploymentErrors = {
3254
3400
  /**
3255
3401
  * Invalid request
3256
3402
  */
3257
- 400: unknown;
3403
+ 400: ApiErrorResponse;
3258
3404
  /**
3259
3405
  * Unauthorized
3260
3406
  */
3261
- 401: unknown;
3407
+ 401: ApiErrorResponse;
3262
3408
  /**
3263
3409
  * Forbidden
3264
3410
  */
3265
- 403: unknown;
3411
+ 403: ApiErrorResponse;
3266
3412
  /**
3267
3413
  * Not found
3268
3414
  */
3269
- 404: unknown;
3415
+ 404: ApiErrorResponse;
3270
3416
  };
3417
+ export type MechanicAddDeploymentError = MechanicAddDeploymentErrors[keyof MechanicAddDeploymentErrors];
3271
3418
  export type MechanicAddDeploymentResponses = {
3272
3419
  /**
3273
3420
  * Updated mechanic with new deployment
@@ -3308,20 +3455,21 @@ export type MediaCreateUploadSessionErrors = {
3308
3455
  /**
3309
3456
  * Invalid request
3310
3457
  */
3311
- 400: unknown;
3458
+ 400: ApiErrorResponse;
3312
3459
  /**
3313
3460
  * Unauthorized
3314
3461
  */
3315
- 401: unknown;
3462
+ 401: ApiErrorResponse;
3316
3463
  /**
3317
3464
  * Forbidden
3318
3465
  */
3319
- 403: unknown;
3466
+ 403: ApiErrorResponse;
3320
3467
  /**
3321
3468
  * Storage unavailable
3322
3469
  */
3323
- 503: unknown;
3470
+ 503: ApiErrorResponse;
3324
3471
  };
3472
+ export type MediaCreateUploadSessionError = MediaCreateUploadSessionErrors[keyof MediaCreateUploadSessionErrors];
3325
3473
  export type MediaCreateUploadSessionResponses = {
3326
3474
  /**
3327
3475
  * Upload session
@@ -3341,24 +3489,25 @@ export type MediaUploadErrors = {
3341
3489
  /**
3342
3490
  * Invalid request
3343
3491
  */
3344
- 400: unknown;
3492
+ 400: ApiErrorResponse;
3345
3493
  /**
3346
3494
  * Unauthorized
3347
3495
  */
3348
- 401: unknown;
3496
+ 401: ApiErrorResponse;
3349
3497
  /**
3350
3498
  * Forbidden
3351
3499
  */
3352
- 403: unknown;
3500
+ 403: ApiErrorResponse;
3353
3501
  /**
3354
3502
  * Not found
3355
3503
  */
3356
- 404: unknown;
3504
+ 404: ApiErrorResponse;
3357
3505
  /**
3358
3506
  * Storage unavailable
3359
3507
  */
3360
- 503: unknown;
3508
+ 503: ApiErrorResponse;
3361
3509
  };
3510
+ export type MediaUploadError = MediaUploadErrors[keyof MediaUploadErrors];
3362
3511
  export type MediaUploadResponses = {
3363
3512
  /**
3364
3513
  * Upload accepted and processed
@@ -3378,24 +3527,25 @@ export type MediaProcessErrors = {
3378
3527
  /**
3379
3528
  * Invalid request
3380
3529
  */
3381
- 400: unknown;
3530
+ 400: ApiErrorResponse;
3382
3531
  /**
3383
3532
  * Unauthorized
3384
3533
  */
3385
- 401: unknown;
3534
+ 401: ApiErrorResponse;
3386
3535
  /**
3387
3536
  * Forbidden
3388
3537
  */
3389
- 403: unknown;
3538
+ 403: ApiErrorResponse;
3390
3539
  /**
3391
3540
  * Media or uploaded object not found
3392
3541
  */
3393
- 404: unknown;
3542
+ 404: ApiErrorResponse;
3394
3543
  /**
3395
3544
  * Storage unavailable
3396
3545
  */
3397
- 503: unknown;
3546
+ 503: ApiErrorResponse;
3398
3547
  };
3548
+ export type MediaProcessError = MediaProcessErrors[keyof MediaProcessErrors];
3399
3549
  export type MediaProcessResponses = {
3400
3550
  /**
3401
3551
  * Media asset with updated status
@@ -3418,20 +3568,21 @@ export type MediaListChildrenErrors = {
3418
3568
  /**
3419
3569
  * Not a Directory
3420
3570
  */
3421
- 400: unknown;
3571
+ 400: ApiErrorResponse;
3422
3572
  /**
3423
3573
  * Unauthorized
3424
3574
  */
3425
- 401: unknown;
3575
+ 401: ApiErrorResponse;
3426
3576
  /**
3427
3577
  * Forbidden
3428
3578
  */
3429
- 403: unknown;
3579
+ 403: ApiErrorResponse;
3430
3580
  /**
3431
3581
  * Not found
3432
3582
  */
3433
- 404: unknown;
3583
+ 404: ApiErrorResponse;
3434
3584
  };
3585
+ export type MediaListChildrenError = MediaListChildrenErrors[keyof MediaListChildrenErrors];
3435
3586
  export type MediaListChildrenResponses = {
3436
3587
  /**
3437
3588
  * Children page
@@ -3451,20 +3602,21 @@ export type MediaDeleteErrors = {
3451
3602
  /**
3452
3603
  * Unauthorized
3453
3604
  */
3454
- 401: unknown;
3605
+ 401: ApiErrorResponse;
3455
3606
  /**
3456
3607
  * Forbidden
3457
3608
  */
3458
- 403: unknown;
3609
+ 403: ApiErrorResponse;
3459
3610
  /**
3460
3611
  * Not found
3461
3612
  */
3462
- 404: unknown;
3613
+ 404: ApiErrorResponse;
3463
3614
  /**
3464
- * In use — cannot delete
3615
+ * Media is in use and cannot be deleted
3465
3616
  */
3466
- 409: unknown;
3617
+ 409: ApiErrorResponse;
3467
3618
  };
3619
+ export type MediaDeleteError = MediaDeleteErrors[keyof MediaDeleteErrors];
3468
3620
  export type MediaDeleteResponses = {
3469
3621
  /**
3470
3622
  * Deleted
@@ -3484,20 +3636,21 @@ export type MediaGetErrors = {
3484
3636
  /**
3485
3637
  * Invalid request
3486
3638
  */
3487
- 400: unknown;
3639
+ 400: ApiErrorResponse;
3488
3640
  /**
3489
3641
  * Unauthorized
3490
3642
  */
3491
- 401: unknown;
3643
+ 401: ApiErrorResponse;
3492
3644
  /**
3493
3645
  * Forbidden
3494
3646
  */
3495
- 403: unknown;
3647
+ 403: ApiErrorResponse;
3496
3648
  /**
3497
3649
  * Not found
3498
3650
  */
3499
- 404: unknown;
3651
+ 404: ApiErrorResponse;
3500
3652
  };
3653
+ export type MediaGetError = MediaGetErrors[keyof MediaGetErrors];
3501
3654
  export type MediaGetResponses = {
3502
3655
  /**
3503
3656
  * Media asset
@@ -3517,24 +3670,25 @@ export type MediaPublishErrors = {
3517
3670
  /**
3518
3671
  * Invalid request
3519
3672
  */
3520
- 400: unknown;
3673
+ 400: ApiErrorResponse;
3521
3674
  /**
3522
3675
  * Unauthorized
3523
3676
  */
3524
- 401: unknown;
3677
+ 401: ApiErrorResponse;
3525
3678
  /**
3526
3679
  * Forbidden
3527
3680
  */
3528
- 403: unknown;
3681
+ 403: ApiErrorResponse;
3529
3682
  /**
3530
3683
  * Not found
3531
3684
  */
3532
- 404: unknown;
3685
+ 404: ApiErrorResponse;
3533
3686
  /**
3534
3687
  * Archive provider unavailable
3535
3688
  */
3536
- 503: unknown;
3689
+ 503: ApiErrorResponse;
3537
3690
  };
3691
+ export type MediaPublishError = MediaPublishErrors[keyof MediaPublishErrors];
3538
3692
  export type MediaPublishResponses = {
3539
3693
  /**
3540
3694
  * Media with Archive location
@@ -3555,23 +3709,24 @@ export type MediaGetChildErrors = {
3555
3709
  /**
3556
3710
  * Parent is not a Directory
3557
3711
  */
3558
- 400: unknown;
3712
+ 400: ApiErrorResponse;
3559
3713
  /**
3560
3714
  * Unauthorized
3561
3715
  */
3562
- 401: unknown;
3716
+ 401: ApiErrorResponse;
3563
3717
  /**
3564
3718
  * Forbidden
3565
3719
  */
3566
- 403: unknown;
3720
+ 403: ApiErrorResponse;
3567
3721
  /**
3568
3722
  * Child not found
3569
3723
  */
3570
- 404: unknown;
3724
+ 404: ApiErrorResponse;
3571
3725
  };
3726
+ export type MediaGetChildError = MediaGetChildErrors[keyof MediaGetChildErrors];
3572
3727
  export type MediaGetChildResponses = {
3573
3728
  /**
3574
- * Child Entity
3729
+ * Child media file
3575
3730
  */
3576
3731
  200: MediaAsset;
3577
3732
  };
@@ -3589,8 +3744,9 @@ export type TxStatusErrors = {
3589
3744
  /**
3590
3745
  * Unauthorized
3591
3746
  */
3592
- 401: unknown;
3747
+ 401: ApiErrorResponse;
3593
3748
  };
3749
+ export type TxStatusError = TxStatusErrors[keyof TxStatusErrors];
3594
3750
  export type TxStatusResponses = {
3595
3751
  /**
3596
3752
  * Current transaction status snapshot
@@ -3611,8 +3767,9 @@ export type TxSubmitErrors = {
3611
3767
  /**
3612
3768
  * Unauthorized
3613
3769
  */
3614
- 401: unknown;
3770
+ 401: ApiErrorResponse;
3615
3771
  };
3772
+ export type TxSubmitError = TxSubmitErrors[keyof TxSubmitErrors];
3616
3773
  export type TxSubmitResponses = {
3617
3774
  /**
3618
3775
  * Transaction accepted for processing
@@ -3620,6 +3777,151 @@ export type TxSubmitResponses = {
3620
3777
  202: TxStatusSnapshot;
3621
3778
  };
3622
3779
  export type TxSubmitResponse = TxSubmitResponses[keyof TxSubmitResponses];
3780
+ export type ProfileGetData = {
3781
+ body?: never;
3782
+ path?: never;
3783
+ query?: never;
3784
+ url: "/user/profile";
3785
+ };
3786
+ export type ProfileGetErrors = {
3787
+ /**
3788
+ * Unauthorized
3789
+ */
3790
+ 401: ApiErrorResponse;
3791
+ /**
3792
+ * Profile not found
3793
+ */
3794
+ 404: ApiErrorResponse;
3795
+ };
3796
+ export type ProfileGetError = ProfileGetErrors[keyof ProfileGetErrors];
3797
+ export type ProfileGetResponses = {
3798
+ /**
3799
+ * Authenticated user profile
3800
+ */
3801
+ 200: UserProfile;
3802
+ };
3803
+ export type ProfileGetResponse = ProfileGetResponses[keyof ProfileGetResponses];
3804
+ export type ProfileUpdateData = {
3805
+ body: {
3806
+ displayName?: string | null;
3807
+ bio?: string | null;
3808
+ website?: string | null;
3809
+ avatarMediaId?: string | null;
3810
+ };
3811
+ path?: never;
3812
+ query?: never;
3813
+ url: "/user/profile";
3814
+ };
3815
+ export type ProfileUpdateErrors = {
3816
+ /**
3817
+ * Invalid profile update
3818
+ */
3819
+ 400: ApiErrorResponse;
3820
+ /**
3821
+ * Unauthorized
3822
+ */
3823
+ 401: ApiErrorResponse;
3824
+ /**
3825
+ * Avatar media is not owned by the authenticated account
3826
+ */
3827
+ 403: ApiErrorResponse;
3828
+ /**
3829
+ * Profile or avatar media not found
3830
+ */
3831
+ 404: ApiErrorResponse;
3832
+ };
3833
+ export type ProfileUpdateError = ProfileUpdateErrors[keyof ProfileUpdateErrors];
3834
+ export type ProfileUpdateResponses = {
3835
+ /**
3836
+ * Updated authenticated user profile
3837
+ */
3838
+ 200: UserProfile;
3839
+ };
3840
+ export type ProfileUpdateResponse = ProfileUpdateResponses[keyof ProfileUpdateResponses];
3841
+ export type ProfilePublicData = {
3842
+ body?: never;
3843
+ path: {
3844
+ walletAddress: string;
3845
+ };
3846
+ query?: never;
3847
+ url: "/user/{walletAddress}/profile";
3848
+ };
3849
+ export type ProfilePublicErrors = {
3850
+ /**
3851
+ * Invalid EVM wallet address
3852
+ */
3853
+ 400: ApiErrorResponse;
3854
+ };
3855
+ export type ProfilePublicError = ProfilePublicErrors[keyof ProfilePublicErrors];
3856
+ export type ProfilePublicResponses = {
3857
+ /**
3858
+ * Public user profile
3859
+ */
3860
+ 200: PublicUserProfile;
3861
+ };
3862
+ export type ProfilePublicResponse = ProfilePublicResponses[keyof ProfilePublicResponses];
3863
+ export type ProfileTokensData = {
3864
+ body?: never;
3865
+ path: {
3866
+ walletAddress: string;
3867
+ };
3868
+ query?: {
3869
+ page?: number;
3870
+ limit?: number;
3871
+ sort?: "tokenId" | "name" | "mintedAt";
3872
+ order?: "asc" | "desc";
3873
+ collectionId?: string;
3874
+ search?: string;
3875
+ };
3876
+ url: "/user/{walletAddress}/tokens";
3877
+ };
3878
+ export type ProfileTokensErrors = {
3879
+ /**
3880
+ * Invalid EVM wallet address or query parameters
3881
+ */
3882
+ 400: ApiErrorResponse;
3883
+ };
3884
+ export type ProfileTokensError = ProfileTokensErrors[keyof ProfileTokensErrors];
3885
+ export type ProfileTokensResponses = {
3886
+ /**
3887
+ * Paginated wallet token holdings
3888
+ */
3889
+ 200: {
3890
+ items: Array<{
3891
+ id: string;
3892
+ collectionId: string;
3893
+ tokenId: string;
3894
+ status: TokenStatus;
3895
+ name: string | null;
3896
+ description: string | null;
3897
+ externalUrl: string | null;
3898
+ attributes: Array<{
3899
+ trait_type: string;
3900
+ value: string | number;
3901
+ display_type?: string;
3902
+ }> | null;
3903
+ properties: {
3904
+ [key: string]: unknown;
3905
+ } | null;
3906
+ imageMediaId: string | null;
3907
+ imageMedia: MediaAsset | null;
3908
+ animationMediaId: string | null;
3909
+ animationMedia: MediaAsset | null;
3910
+ mintedAt: string | null;
3911
+ createdAt: string;
3912
+ updatedAt: string;
3913
+ }>;
3914
+ pageInfo: {
3915
+ page: number;
3916
+ limit: number;
3917
+ totalCount: number;
3918
+ totalPages: number;
3919
+ hasNextPage: boolean;
3920
+ hasPreviousPage: boolean;
3921
+ };
3922
+ };
3923
+ };
3924
+ export type ProfileTokensResponse = ProfileTokensResponses[keyof ProfileTokensResponses];
3623
3925
  export type UserSiweNonceData = {
3624
3926
  body?: never;
3625
3927
  path?: never;
@@ -3630,8 +3932,9 @@ export type UserSiweNonceErrors = {
3630
3932
  /**
3631
3933
  * SIWE configuration is missing
3632
3934
  */
3633
- 500: unknown;
3935
+ 500: ApiErrorResponse;
3634
3936
  };
3937
+ export type UserSiweNonceError = UserSiweNonceErrors[keyof UserSiweNonceErrors];
3635
3938
  export type UserSiweNonceResponses = {
3636
3939
  /**
3637
3940
  * Issued nonce with issuedAt and expiresAt timestamps
@@ -3660,8 +3963,9 @@ export type UserSigninErrors = {
3660
3963
  /**
3661
3964
  * Server configuration error (JWT secret or SIWE config missing)
3662
3965
  */
3663
- 500: unknown;
3966
+ 500: ApiErrorResponse;
3664
3967
  };
3968
+ export type UserSigninError = UserSigninErrors[keyof UserSigninErrors];
3665
3969
  export type UserSigninResponses = {
3666
3970
  /**
3667
3971
  * Sign-in result
@@ -3676,6 +3980,11 @@ export type UserSigninResponses = {
3676
3980
  email: string | null;
3677
3981
  displayName: string | null;
3678
3982
  primaryAddress: string | null;
3983
+ walletAddresses: Array<string>;
3984
+ bio: string | null;
3985
+ website: string | null;
3986
+ avatarMediaId: string | null;
3987
+ avatarMedia: MediaAsset | null;
3679
3988
  };
3680
3989
  };
3681
3990
  };
@@ -3690,8 +3999,9 @@ export type ApiKeyListErrors = {
3690
3999
  /**
3691
4000
  * Unauthorized
3692
4001
  */
3693
- 401: unknown;
4002
+ 401: ApiErrorResponse;
3694
4003
  };
4004
+ export type ApiKeyListError = ApiKeyListErrors[keyof ApiKeyListErrors];
3695
4005
  export type ApiKeyListResponses = {
3696
4006
  /**
3697
4007
  * List of API keys
@@ -3712,16 +4022,17 @@ export type ApiKeyCreateErrors = {
3712
4022
  /**
3713
4023
  * Invalid request
3714
4024
  */
3715
- 400: unknown;
4025
+ 400: ApiErrorResponse;
3716
4026
  /**
3717
4027
  * Unauthorized
3718
4028
  */
3719
- 401: unknown;
4029
+ 401: ApiErrorResponse;
3720
4030
  /**
3721
4031
  * Forbidden
3722
4032
  */
3723
- 403: unknown;
4033
+ 403: ApiErrorResponse;
3724
4034
  };
4035
+ export type ApiKeyCreateError = ApiKeyCreateErrors[keyof ApiKeyCreateErrors];
3725
4036
  export type ApiKeyCreateResponses = {
3726
4037
  /**
3727
4038
  * Created API key with one-time plaintext value
@@ -3741,16 +4052,17 @@ export type ApiKeyRevokeErrors = {
3741
4052
  /**
3742
4053
  * Unauthorized
3743
4054
  */
3744
- 401: unknown;
4055
+ 401: ApiErrorResponse;
3745
4056
  /**
3746
4057
  * Forbidden
3747
4058
  */
3748
- 403: unknown;
4059
+ 403: ApiErrorResponse;
3749
4060
  /**
3750
4061
  * Not found
3751
4062
  */
3752
- 404: unknown;
4063
+ 404: ApiErrorResponse;
3753
4064
  };
4065
+ export type ApiKeyRevokeError = ApiKeyRevokeErrors[keyof ApiKeyRevokeErrors];
3754
4066
  export type ApiKeyRevokeResponses = {
3755
4067
  /**
3756
4068
  * Revoked API key