@bodhiapp/ts-client 0.1.29 → 0.1.31

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.
@@ -327,13 +327,7 @@ export type AuthInitiateRequest = {
327
327
  */
328
328
  client_id: string;
329
329
  };
330
- export type BodhiApiError = {
331
- /**
332
- * Error details following OpenAI API error format
333
- */
334
- error: BodhiErrorBody;
335
- };
336
- export type BodhiErrorBody = {
330
+ export type BodhiError = {
337
331
  /**
338
332
  * Human-readable error message describing what went wrong
339
333
  */
@@ -349,9 +343,21 @@ export type BodhiErrorBody = {
349
343
  /**
350
344
  * Additional error parameters as key-value pairs (for validation errors)
351
345
  */
352
- param?: {
346
+ params?: {
353
347
  [key: string]: string;
354
348
  } | null;
349
+ /**
350
+ * JSON-encoded form of `params`. Superset field so clients that speak the
351
+ * OpenAI `Error` shape (where `param` is a String) can still read it.
352
+ * Populated automatically from `params` by `BodhiError::new`.
353
+ */
354
+ param?: string | null;
355
+ };
356
+ export type BodhiErrorResponse = {
357
+ /**
358
+ * Error details following Bodhi API error format
359
+ */
360
+ error: BodhiError;
355
361
  };
356
362
  /**
357
363
  * Whether a single capability is supported by the model.
@@ -1447,19 +1453,19 @@ export type ListAllAccessRequestsErrors = {
1447
1453
  /**
1448
1454
  * Invalid request parameters
1449
1455
  */
1450
- 400: BodhiApiError;
1456
+ 400: BodhiErrorResponse;
1451
1457
  /**
1452
1458
  * Not authenticated
1453
1459
  */
1454
- 401: BodhiApiError;
1460
+ 401: BodhiErrorResponse;
1455
1461
  /**
1456
1462
  * Insufficient permissions
1457
1463
  */
1458
- 403: BodhiApiError;
1464
+ 403: BodhiErrorResponse;
1459
1465
  /**
1460
1466
  * Internal server error
1461
1467
  */
1462
- 500: BodhiApiError;
1468
+ 500: BodhiErrorResponse;
1463
1469
  };
1464
1470
  export type ListAllAccessRequestsError = ListAllAccessRequestsErrors[keyof ListAllAccessRequestsErrors];
1465
1471
  export type ListAllAccessRequestsResponses = {
@@ -1496,19 +1502,19 @@ export type ListPendingAccessRequestsErrors = {
1496
1502
  /**
1497
1503
  * Invalid request parameters
1498
1504
  */
1499
- 400: BodhiApiError;
1505
+ 400: BodhiErrorResponse;
1500
1506
  /**
1501
1507
  * Not authenticated
1502
1508
  */
1503
- 401: BodhiApiError;
1509
+ 401: BodhiErrorResponse;
1504
1510
  /**
1505
1511
  * Insufficient permissions
1506
1512
  */
1507
- 403: BodhiApiError;
1513
+ 403: BodhiErrorResponse;
1508
1514
  /**
1509
1515
  * Internal server error
1510
1516
  */
1511
- 500: BodhiApiError;
1517
+ 500: BodhiErrorResponse;
1512
1518
  };
1513
1519
  export type ListPendingAccessRequestsError = ListPendingAccessRequestsErrors[keyof ListPendingAccessRequestsErrors];
1514
1520
  export type ListPendingAccessRequestsResponses = {
@@ -1536,23 +1542,23 @@ export type ApproveAccessRequestErrors = {
1536
1542
  /**
1537
1543
  * Invalid request parameters
1538
1544
  */
1539
- 400: BodhiApiError;
1545
+ 400: BodhiErrorResponse;
1540
1546
  /**
1541
1547
  * Not authenticated
1542
1548
  */
1543
- 401: BodhiApiError;
1549
+ 401: BodhiErrorResponse;
1544
1550
  /**
1545
1551
  * Insufficient permissions
1546
1552
  */
1547
- 403: BodhiApiError;
1553
+ 403: BodhiErrorResponse;
1548
1554
  /**
1549
1555
  * Request not found
1550
1556
  */
1551
- 404: BodhiApiError;
1557
+ 404: BodhiErrorResponse;
1552
1558
  /**
1553
1559
  * Internal server error
1554
1560
  */
1555
- 500: BodhiApiError;
1561
+ 500: BodhiErrorResponse;
1556
1562
  };
1557
1563
  export type ApproveAccessRequestError = ApproveAccessRequestErrors[keyof ApproveAccessRequestErrors];
1558
1564
  export type ApproveAccessRequestResponses = {
@@ -1579,27 +1585,27 @@ export type ApproveAppsAccessRequestErrors = {
1579
1585
  /**
1580
1586
  * Invalid request parameters
1581
1587
  */
1582
- 400: BodhiApiError;
1588
+ 400: BodhiErrorResponse;
1583
1589
  /**
1584
1590
  * Not authenticated
1585
1591
  */
1586
- 401: BodhiApiError;
1592
+ 401: BodhiErrorResponse;
1587
1593
  /**
1588
1594
  * Insufficient permissions
1589
1595
  */
1590
- 403: BodhiApiError;
1596
+ 403: BodhiErrorResponse;
1591
1597
  /**
1592
1598
  * Not found
1593
1599
  */
1594
- 404: BodhiApiError;
1600
+ 404: BodhiErrorResponse;
1595
1601
  /**
1596
1602
  * Already processed
1597
1603
  */
1598
- 409: BodhiApiError;
1604
+ 409: BodhiErrorResponse;
1599
1605
  /**
1600
1606
  * Internal server error
1601
1607
  */
1602
- 500: BodhiApiError;
1608
+ 500: BodhiErrorResponse;
1603
1609
  };
1604
1610
  export type ApproveAppsAccessRequestError = ApproveAppsAccessRequestErrors[keyof ApproveAppsAccessRequestErrors];
1605
1611
  export type ApproveAppsAccessRequestResponses = {
@@ -1624,27 +1630,27 @@ export type DenyAccessRequestErrors = {
1624
1630
  /**
1625
1631
  * Invalid request parameters
1626
1632
  */
1627
- 400: BodhiApiError;
1633
+ 400: BodhiErrorResponse;
1628
1634
  /**
1629
1635
  * Not authenticated
1630
1636
  */
1631
- 401: BodhiApiError;
1637
+ 401: BodhiErrorResponse;
1632
1638
  /**
1633
1639
  * Insufficient permissions
1634
1640
  */
1635
- 403: BodhiApiError;
1641
+ 403: BodhiErrorResponse;
1636
1642
  /**
1637
1643
  * Not found
1638
1644
  */
1639
- 404: BodhiApiError;
1645
+ 404: BodhiErrorResponse;
1640
1646
  /**
1641
1647
  * Already processed
1642
1648
  */
1643
- 409: BodhiApiError;
1649
+ 409: BodhiErrorResponse;
1644
1650
  /**
1645
1651
  * Internal server error
1646
1652
  */
1647
- 500: BodhiApiError;
1653
+ 500: BodhiErrorResponse;
1648
1654
  };
1649
1655
  export type DenyAccessRequestError = DenyAccessRequestErrors[keyof DenyAccessRequestErrors];
1650
1656
  export type DenyAccessRequestResponses = {
@@ -1669,23 +1675,23 @@ export type RejectAccessRequestErrors = {
1669
1675
  /**
1670
1676
  * Invalid request parameters
1671
1677
  */
1672
- 400: BodhiApiError;
1678
+ 400: BodhiErrorResponse;
1673
1679
  /**
1674
1680
  * Not authenticated
1675
1681
  */
1676
- 401: BodhiApiError;
1682
+ 401: BodhiErrorResponse;
1677
1683
  /**
1678
1684
  * Insufficient permissions
1679
1685
  */
1680
- 403: BodhiApiError;
1686
+ 403: BodhiErrorResponse;
1681
1687
  /**
1682
1688
  * Request not found
1683
1689
  */
1684
- 404: BodhiApiError;
1690
+ 404: BodhiErrorResponse;
1685
1691
  /**
1686
1692
  * Internal server error
1687
1693
  */
1688
- 500: BodhiApiError;
1694
+ 500: BodhiErrorResponse;
1689
1695
  };
1690
1696
  export type RejectAccessRequestError = RejectAccessRequestErrors[keyof RejectAccessRequestErrors];
1691
1697
  export type RejectAccessRequestResponses = {
@@ -1709,27 +1715,27 @@ export type GetAccessRequestReviewErrors = {
1709
1715
  /**
1710
1716
  * Invalid request parameters
1711
1717
  */
1712
- 400: BodhiApiError;
1718
+ 400: BodhiErrorResponse;
1713
1719
  /**
1714
1720
  * Not authenticated
1715
1721
  */
1716
- 401: BodhiApiError;
1722
+ 401: BodhiErrorResponse;
1717
1723
  /**
1718
1724
  * Insufficient permissions
1719
1725
  */
1720
- 403: BodhiApiError;
1726
+ 403: BodhiErrorResponse;
1721
1727
  /**
1722
1728
  * Not found
1723
1729
  */
1724
- 404: BodhiApiError;
1730
+ 404: BodhiErrorResponse;
1725
1731
  /**
1726
1732
  * Request expired
1727
1733
  */
1728
- 410: BodhiApiError;
1734
+ 410: BodhiErrorResponse;
1729
1735
  /**
1730
1736
  * Internal server error
1731
1737
  */
1732
- 500: BodhiApiError;
1738
+ 500: BodhiErrorResponse;
1733
1739
  };
1734
1740
  export type GetAccessRequestReviewError = GetAccessRequestReviewErrors[keyof GetAccessRequestReviewErrors];
1735
1741
  export type GetAccessRequestReviewResponses = {
@@ -1759,23 +1765,23 @@ export type GetAccessRequestStatusErrors = {
1759
1765
  /**
1760
1766
  * Invalid request parameters
1761
1767
  */
1762
- 400: BodhiApiError;
1768
+ 400: BodhiErrorResponse;
1763
1769
  /**
1764
1770
  * Not authenticated
1765
1771
  */
1766
- 401: BodhiApiError;
1772
+ 401: BodhiErrorResponse;
1767
1773
  /**
1768
1774
  * Insufficient permissions
1769
1775
  */
1770
- 403: BodhiApiError;
1776
+ 403: BodhiErrorResponse;
1771
1777
  /**
1772
1778
  * Not found or app_client_id mismatch
1773
1779
  */
1774
- 404: BodhiApiError;
1780
+ 404: BodhiErrorResponse;
1775
1781
  /**
1776
1782
  * Internal server error
1777
1783
  */
1778
- 500: BodhiApiError;
1784
+ 500: BodhiErrorResponse;
1779
1785
  };
1780
1786
  export type GetAccessRequestStatusError = GetAccessRequestStatusErrors[keyof GetAccessRequestStatusErrors];
1781
1787
  export type GetAccessRequestStatusResponses = {
@@ -1795,19 +1801,19 @@ export type AppsListMcpsErrors = {
1795
1801
  /**
1796
1802
  * Invalid request parameters
1797
1803
  */
1798
- 400: BodhiApiError;
1804
+ 400: BodhiErrorResponse;
1799
1805
  /**
1800
1806
  * Not authenticated
1801
1807
  */
1802
- 401: BodhiApiError;
1808
+ 401: BodhiErrorResponse;
1803
1809
  /**
1804
1810
  * Insufficient permissions
1805
1811
  */
1806
- 403: BodhiApiError;
1812
+ 403: BodhiErrorResponse;
1807
1813
  /**
1808
1814
  * Internal server error
1809
1815
  */
1810
- 500: BodhiApiError;
1816
+ 500: BodhiErrorResponse;
1811
1817
  };
1812
1818
  export type AppsListMcpsError = AppsListMcpsErrors[keyof AppsListMcpsErrors];
1813
1819
  export type AppsListMcpsResponses = {
@@ -1832,15 +1838,15 @@ export type AppsGetMcpErrors = {
1832
1838
  /**
1833
1839
  * Invalid request parameters
1834
1840
  */
1835
- 400: BodhiApiError;
1841
+ 400: BodhiErrorResponse;
1836
1842
  /**
1837
1843
  * Not authenticated
1838
1844
  */
1839
- 401: BodhiApiError;
1845
+ 401: BodhiErrorResponse;
1840
1846
  /**
1841
1847
  * Insufficient permissions
1842
1848
  */
1843
- 403: BodhiApiError;
1849
+ 403: BodhiErrorResponse;
1844
1850
  /**
1845
1851
  * MCP not found
1846
1852
  */
@@ -1848,7 +1854,7 @@ export type AppsGetMcpErrors = {
1848
1854
  /**
1849
1855
  * Internal server error
1850
1856
  */
1851
- 500: BodhiApiError;
1857
+ 500: BodhiErrorResponse;
1852
1858
  };
1853
1859
  export type AppsGetMcpError = AppsGetMcpErrors[keyof AppsGetMcpErrors];
1854
1860
  export type AppsGetMcpResponses = {
@@ -1873,19 +1879,19 @@ export type McpProxyErrors = {
1873
1879
  /**
1874
1880
  * Invalid request parameters
1875
1881
  */
1876
- 400: BodhiApiError;
1882
+ 400: BodhiErrorResponse;
1877
1883
  /**
1878
1884
  * Not authenticated
1879
1885
  */
1880
- 401: BodhiApiError;
1886
+ 401: BodhiErrorResponse;
1881
1887
  /**
1882
1888
  * Insufficient permissions
1883
1889
  */
1884
- 403: BodhiApiError;
1890
+ 403: BodhiErrorResponse;
1885
1891
  /**
1886
1892
  * Internal server error
1887
1893
  */
1888
- 500: BodhiApiError;
1894
+ 500: BodhiErrorResponse;
1889
1895
  };
1890
1896
  export type McpProxyError = McpProxyErrors[keyof McpProxyErrors];
1891
1897
  export type McpProxyResponses = {
@@ -1907,23 +1913,23 @@ export type CreateAccessRequestErrors = {
1907
1913
  /**
1908
1914
  * Invalid request parameters
1909
1915
  */
1910
- 400: BodhiApiError;
1916
+ 400: BodhiErrorResponse;
1911
1917
  /**
1912
1918
  * Not authenticated
1913
1919
  */
1914
- 401: BodhiApiError;
1920
+ 401: BodhiErrorResponse;
1915
1921
  /**
1916
1922
  * Insufficient permissions
1917
1923
  */
1918
- 403: BodhiApiError;
1924
+ 403: BodhiErrorResponse;
1919
1925
  /**
1920
1926
  * App client not found
1921
1927
  */
1922
- 404: BodhiApiError;
1928
+ 404: BodhiErrorResponse;
1923
1929
  /**
1924
1930
  * Internal server error
1925
1931
  */
1926
- 500: BodhiApiError;
1932
+ 500: BodhiErrorResponse;
1927
1933
  };
1928
1934
  export type CreateAccessRequestError = CreateAccessRequestErrors[keyof CreateAccessRequestErrors];
1929
1935
  export type CreateAccessRequestResponses = {
@@ -1946,23 +1952,23 @@ export type CompleteOAuthFlowErrors = {
1946
1952
  /**
1947
1953
  * Invalid request parameters
1948
1954
  */
1949
- 400: BodhiApiError;
1955
+ 400: BodhiErrorResponse;
1950
1956
  /**
1951
1957
  * Not authenticated
1952
1958
  */
1953
- 401: BodhiApiError;
1959
+ 401: BodhiErrorResponse;
1954
1960
  /**
1955
1961
  * Insufficient permissions
1956
1962
  */
1957
- 403: BodhiApiError;
1963
+ 403: BodhiErrorResponse;
1958
1964
  /**
1959
1965
  * OAuth error, invalid request parameters, or state mismatch
1960
1966
  */
1961
- 422: BodhiApiError;
1967
+ 422: BodhiErrorResponse;
1962
1968
  /**
1963
1969
  * Internal server error
1964
1970
  */
1965
- 500: BodhiApiError;
1971
+ 500: BodhiErrorResponse;
1966
1972
  };
1967
1973
  export type CompleteOAuthFlowError = CompleteOAuthFlowErrors[keyof CompleteOAuthFlowErrors];
1968
1974
  export type CompleteOAuthFlowResponses = {
@@ -1985,19 +1991,19 @@ export type CompleteDashboardOAuthFlowErrors = {
1985
1991
  /**
1986
1992
  * Invalid request parameters
1987
1993
  */
1988
- 400: BodhiApiError;
1994
+ 400: BodhiErrorResponse;
1989
1995
  /**
1990
1996
  * Not authenticated
1991
1997
  */
1992
- 401: BodhiApiError;
1998
+ 401: BodhiErrorResponse;
1993
1999
  /**
1994
2000
  * Insufficient permissions
1995
2001
  */
1996
- 403: BodhiApiError;
2002
+ 403: BodhiErrorResponse;
1997
2003
  /**
1998
2004
  * Internal server error
1999
2005
  */
2000
- 500: BodhiApiError;
2006
+ 500: BodhiErrorResponse;
2001
2007
  };
2002
2008
  export type CompleteDashboardOAuthFlowError = CompleteDashboardOAuthFlowErrors[keyof CompleteDashboardOAuthFlowErrors];
2003
2009
  export type CompleteDashboardOAuthFlowResponses = {
@@ -2017,19 +2023,19 @@ export type InitiateDashboardOAuthFlowErrors = {
2017
2023
  /**
2018
2024
  * Invalid request parameters
2019
2025
  */
2020
- 400: BodhiApiError;
2026
+ 400: BodhiErrorResponse;
2021
2027
  /**
2022
2028
  * Not authenticated
2023
2029
  */
2024
- 401: BodhiApiError;
2030
+ 401: BodhiErrorResponse;
2025
2031
  /**
2026
2032
  * Insufficient permissions
2027
2033
  */
2028
- 403: BodhiApiError;
2034
+ 403: BodhiErrorResponse;
2029
2035
  /**
2030
2036
  * Internal server error
2031
2037
  */
2032
- 500: BodhiApiError;
2038
+ 500: BodhiErrorResponse;
2033
2039
  };
2034
2040
  export type InitiateDashboardOAuthFlowError = InitiateDashboardOAuthFlowErrors[keyof InitiateDashboardOAuthFlowErrors];
2035
2041
  export type InitiateDashboardOAuthFlowResponses = {
@@ -2056,19 +2062,19 @@ export type InitiateOAuthFlowErrors = {
2056
2062
  /**
2057
2063
  * Invalid request parameters
2058
2064
  */
2059
- 400: BodhiApiError;
2065
+ 400: BodhiErrorResponse;
2060
2066
  /**
2061
2067
  * Not authenticated
2062
2068
  */
2063
- 401: BodhiApiError;
2069
+ 401: BodhiErrorResponse;
2064
2070
  /**
2065
2071
  * Insufficient permissions
2066
2072
  */
2067
- 403: BodhiApiError;
2073
+ 403: BodhiErrorResponse;
2068
2074
  /**
2069
2075
  * Internal server error
2070
2076
  */
2071
- 500: BodhiApiError;
2077
+ 500: BodhiErrorResponse;
2072
2078
  };
2073
2079
  export type InitiateOAuthFlowError = InitiateOAuthFlowErrors[keyof InitiateOAuthFlowErrors];
2074
2080
  export type InitiateOAuthFlowResponses = {
@@ -2092,11 +2098,11 @@ export type GetAppInfoErrors = {
2092
2098
  /**
2093
2099
  * Invalid request parameters
2094
2100
  */
2095
- 400: BodhiApiError;
2101
+ 400: BodhiErrorResponse;
2096
2102
  /**
2097
2103
  * Internal server error
2098
2104
  */
2099
- 500: BodhiApiError;
2105
+ 500: BodhiErrorResponse;
2100
2106
  };
2101
2107
  export type GetAppInfoError = GetAppInfoErrors[keyof GetAppInfoErrors];
2102
2108
  export type GetAppInfoResponses = {
@@ -2116,19 +2122,19 @@ export type LogoutUserErrors = {
2116
2122
  /**
2117
2123
  * Invalid request parameters
2118
2124
  */
2119
- 400: BodhiApiError;
2125
+ 400: BodhiErrorResponse;
2120
2126
  /**
2121
2127
  * Not authenticated
2122
2128
  */
2123
- 401: BodhiApiError;
2129
+ 401: BodhiErrorResponse;
2124
2130
  /**
2125
2131
  * Insufficient permissions
2126
2132
  */
2127
- 403: BodhiApiError;
2133
+ 403: BodhiErrorResponse;
2128
2134
  /**
2129
2135
  * Internal server error
2130
2136
  */
2131
- 500: BodhiApiError;
2137
+ 500: BodhiErrorResponse;
2132
2138
  };
2133
2139
  export type LogoutUserError = LogoutUserErrors[keyof LogoutUserErrors];
2134
2140
  export type LogoutUserResponses = {
@@ -2148,19 +2154,19 @@ export type ListMcpsErrors = {
2148
2154
  /**
2149
2155
  * Invalid request parameters
2150
2156
  */
2151
- 400: BodhiApiError;
2157
+ 400: BodhiErrorResponse;
2152
2158
  /**
2153
2159
  * Not authenticated
2154
2160
  */
2155
- 401: BodhiApiError;
2161
+ 401: BodhiErrorResponse;
2156
2162
  /**
2157
2163
  * Insufficient permissions
2158
2164
  */
2159
- 403: BodhiApiError;
2165
+ 403: BodhiErrorResponse;
2160
2166
  /**
2161
2167
  * Internal server error
2162
2168
  */
2163
- 500: BodhiApiError;
2169
+ 500: BodhiErrorResponse;
2164
2170
  };
2165
2171
  export type ListMcpsError = ListMcpsErrors[keyof ListMcpsErrors];
2166
2172
  export type ListMcpsResponses = {
@@ -2180,19 +2186,19 @@ export type CreateMcpErrors = {
2180
2186
  /**
2181
2187
  * Invalid request parameters
2182
2188
  */
2183
- 400: BodhiApiError;
2189
+ 400: BodhiErrorResponse;
2184
2190
  /**
2185
2191
  * Not authenticated
2186
2192
  */
2187
- 401: BodhiApiError;
2193
+ 401: BodhiErrorResponse;
2188
2194
  /**
2189
2195
  * Insufficient permissions
2190
2196
  */
2191
- 403: BodhiApiError;
2197
+ 403: BodhiErrorResponse;
2192
2198
  /**
2193
2199
  * Internal server error
2194
2200
  */
2195
- 500: BodhiApiError;
2201
+ 500: BodhiErrorResponse;
2196
2202
  };
2197
2203
  export type CreateMcpError = CreateMcpErrors[keyof CreateMcpErrors];
2198
2204
  export type CreateMcpResponses = {
@@ -2214,19 +2220,19 @@ export type ListMcpAuthConfigsErrors = {
2214
2220
  /**
2215
2221
  * Invalid request parameters
2216
2222
  */
2217
- 400: BodhiApiError;
2223
+ 400: BodhiErrorResponse;
2218
2224
  /**
2219
2225
  * Not authenticated
2220
2226
  */
2221
- 401: BodhiApiError;
2227
+ 401: BodhiErrorResponse;
2222
2228
  /**
2223
2229
  * Insufficient permissions
2224
2230
  */
2225
- 403: BodhiApiError;
2231
+ 403: BodhiErrorResponse;
2226
2232
  /**
2227
2233
  * Internal server error
2228
2234
  */
2229
- 500: BodhiApiError;
2235
+ 500: BodhiErrorResponse;
2230
2236
  };
2231
2237
  export type ListMcpAuthConfigsError = ListMcpAuthConfigsErrors[keyof ListMcpAuthConfigsErrors];
2232
2238
  export type ListMcpAuthConfigsResponses = {
@@ -2246,19 +2252,19 @@ export type CreateMcpAuthConfigErrors = {
2246
2252
  /**
2247
2253
  * Invalid request parameters
2248
2254
  */
2249
- 400: BodhiApiError;
2255
+ 400: BodhiErrorResponse;
2250
2256
  /**
2251
2257
  * Not authenticated
2252
2258
  */
2253
- 401: BodhiApiError;
2259
+ 401: BodhiErrorResponse;
2254
2260
  /**
2255
2261
  * Insufficient permissions
2256
2262
  */
2257
- 403: BodhiApiError;
2263
+ 403: BodhiErrorResponse;
2258
2264
  /**
2259
2265
  * Internal server error
2260
2266
  */
2261
- 500: BodhiApiError;
2267
+ 500: BodhiErrorResponse;
2262
2268
  };
2263
2269
  export type CreateMcpAuthConfigError = CreateMcpAuthConfigErrors[keyof CreateMcpAuthConfigErrors];
2264
2270
  export type CreateMcpAuthConfigResponses = {
@@ -2283,15 +2289,15 @@ export type DeleteMcpAuthConfigErrors = {
2283
2289
  /**
2284
2290
  * Invalid request parameters
2285
2291
  */
2286
- 400: BodhiApiError;
2292
+ 400: BodhiErrorResponse;
2287
2293
  /**
2288
2294
  * Not authenticated
2289
2295
  */
2290
- 401: BodhiApiError;
2296
+ 401: BodhiErrorResponse;
2291
2297
  /**
2292
2298
  * Insufficient permissions
2293
2299
  */
2294
- 403: BodhiApiError;
2300
+ 403: BodhiErrorResponse;
2295
2301
  /**
2296
2302
  * Not found
2297
2303
  */
@@ -2299,7 +2305,7 @@ export type DeleteMcpAuthConfigErrors = {
2299
2305
  /**
2300
2306
  * Internal server error
2301
2307
  */
2302
- 500: BodhiApiError;
2308
+ 500: BodhiErrorResponse;
2303
2309
  };
2304
2310
  export type DeleteMcpAuthConfigError = DeleteMcpAuthConfigErrors[keyof DeleteMcpAuthConfigErrors];
2305
2311
  export type DeleteMcpAuthConfigResponses = {
@@ -2324,15 +2330,15 @@ export type GetMcpAuthConfigErrors = {
2324
2330
  /**
2325
2331
  * Invalid request parameters
2326
2332
  */
2327
- 400: BodhiApiError;
2333
+ 400: BodhiErrorResponse;
2328
2334
  /**
2329
2335
  * Not authenticated
2330
2336
  */
2331
- 401: BodhiApiError;
2337
+ 401: BodhiErrorResponse;
2332
2338
  /**
2333
2339
  * Insufficient permissions
2334
2340
  */
2335
- 403: BodhiApiError;
2341
+ 403: BodhiErrorResponse;
2336
2342
  /**
2337
2343
  * Not found
2338
2344
  */
@@ -2340,7 +2346,7 @@ export type GetMcpAuthConfigErrors = {
2340
2346
  /**
2341
2347
  * Internal server error
2342
2348
  */
2343
- 500: BodhiApiError;
2349
+ 500: BodhiErrorResponse;
2344
2350
  };
2345
2351
  export type GetMcpAuthConfigError = GetMcpAuthConfigErrors[keyof GetMcpAuthConfigErrors];
2346
2352
  export type GetMcpAuthConfigResponses = {
@@ -2365,15 +2371,15 @@ export type McpOAuthLoginErrors = {
2365
2371
  /**
2366
2372
  * Invalid request parameters
2367
2373
  */
2368
- 400: BodhiApiError;
2374
+ 400: BodhiErrorResponse;
2369
2375
  /**
2370
2376
  * Not authenticated
2371
2377
  */
2372
- 401: BodhiApiError;
2378
+ 401: BodhiErrorResponse;
2373
2379
  /**
2374
2380
  * Insufficient permissions
2375
2381
  */
2376
- 403: BodhiApiError;
2382
+ 403: BodhiErrorResponse;
2377
2383
  /**
2378
2384
  * Auth config not found
2379
2385
  */
@@ -2381,7 +2387,7 @@ export type McpOAuthLoginErrors = {
2381
2387
  /**
2382
2388
  * Internal server error
2383
2389
  */
2384
- 500: BodhiApiError;
2390
+ 500: BodhiErrorResponse;
2385
2391
  };
2386
2392
  export type McpOAuthLoginError = McpOAuthLoginErrors[keyof McpOAuthLoginErrors];
2387
2393
  export type McpOAuthLoginResponses = {
@@ -2406,15 +2412,15 @@ export type McpOAuthTokenExchangeErrors = {
2406
2412
  /**
2407
2413
  * Invalid request parameters
2408
2414
  */
2409
- 400: BodhiApiError;
2415
+ 400: BodhiErrorResponse;
2410
2416
  /**
2411
2417
  * Not authenticated
2412
2418
  */
2413
- 401: BodhiApiError;
2419
+ 401: BodhiErrorResponse;
2414
2420
  /**
2415
2421
  * Insufficient permissions
2416
2422
  */
2417
- 403: BodhiApiError;
2423
+ 403: BodhiErrorResponse;
2418
2424
  /**
2419
2425
  * Auth config not found
2420
2426
  */
@@ -2422,7 +2428,7 @@ export type McpOAuthTokenExchangeErrors = {
2422
2428
  /**
2423
2429
  * Internal server error
2424
2430
  */
2425
- 500: BodhiApiError;
2431
+ 500: BodhiErrorResponse;
2426
2432
  };
2427
2433
  export type McpOAuthTokenExchangeError = McpOAuthTokenExchangeErrors[keyof McpOAuthTokenExchangeErrors];
2428
2434
  export type McpOAuthTokenExchangeResponses = {
@@ -2447,15 +2453,15 @@ export type DeleteMcpOAuthTokenErrors = {
2447
2453
  /**
2448
2454
  * Invalid request parameters
2449
2455
  */
2450
- 400: BodhiApiError;
2456
+ 400: BodhiErrorResponse;
2451
2457
  /**
2452
2458
  * Not authenticated
2453
2459
  */
2454
- 401: BodhiApiError;
2460
+ 401: BodhiErrorResponse;
2455
2461
  /**
2456
2462
  * Insufficient permissions
2457
2463
  */
2458
- 403: BodhiApiError;
2464
+ 403: BodhiErrorResponse;
2459
2465
  /**
2460
2466
  * Not found
2461
2467
  */
@@ -2463,7 +2469,7 @@ export type DeleteMcpOAuthTokenErrors = {
2463
2469
  /**
2464
2470
  * Internal server error
2465
2471
  */
2466
- 500: BodhiApiError;
2472
+ 500: BodhiErrorResponse;
2467
2473
  };
2468
2474
  export type DeleteMcpOAuthTokenError = DeleteMcpOAuthTokenErrors[keyof DeleteMcpOAuthTokenErrors];
2469
2475
  export type DeleteMcpOAuthTokenResponses = {
@@ -2488,15 +2494,15 @@ export type GetMcpOAuthTokenErrors = {
2488
2494
  /**
2489
2495
  * Invalid request parameters
2490
2496
  */
2491
- 400: BodhiApiError;
2497
+ 400: BodhiErrorResponse;
2492
2498
  /**
2493
2499
  * Not authenticated
2494
2500
  */
2495
- 401: BodhiApiError;
2501
+ 401: BodhiErrorResponse;
2496
2502
  /**
2497
2503
  * Insufficient permissions
2498
2504
  */
2499
- 403: BodhiApiError;
2505
+ 403: BodhiErrorResponse;
2500
2506
  /**
2501
2507
  * Not found
2502
2508
  */
@@ -2504,7 +2510,7 @@ export type GetMcpOAuthTokenErrors = {
2504
2510
  /**
2505
2511
  * Internal server error
2506
2512
  */
2507
- 500: BodhiApiError;
2513
+ 500: BodhiErrorResponse;
2508
2514
  };
2509
2515
  export type GetMcpOAuthTokenError = GetMcpOAuthTokenErrors[keyof GetMcpOAuthTokenErrors];
2510
2516
  export type GetMcpOAuthTokenResponses = {
@@ -2524,19 +2530,19 @@ export type McpOAuthDiscoverAsErrors = {
2524
2530
  /**
2525
2531
  * Invalid request parameters
2526
2532
  */
2527
- 400: BodhiApiError;
2533
+ 400: BodhiErrorResponse;
2528
2534
  /**
2529
2535
  * Not authenticated
2530
2536
  */
2531
- 401: BodhiApiError;
2537
+ 401: BodhiErrorResponse;
2532
2538
  /**
2533
2539
  * Insufficient permissions
2534
2540
  */
2535
- 403: BodhiApiError;
2541
+ 403: BodhiErrorResponse;
2536
2542
  /**
2537
2543
  * Internal server error
2538
2544
  */
2539
- 500: BodhiApiError;
2545
+ 500: BodhiErrorResponse;
2540
2546
  };
2541
2547
  export type McpOAuthDiscoverAsError = McpOAuthDiscoverAsErrors[keyof McpOAuthDiscoverAsErrors];
2542
2548
  export type McpOAuthDiscoverAsResponses = {
@@ -2556,19 +2562,19 @@ export type McpOAuthDiscoverMcpErrors = {
2556
2562
  /**
2557
2563
  * Invalid request parameters
2558
2564
  */
2559
- 400: BodhiApiError;
2565
+ 400: BodhiErrorResponse;
2560
2566
  /**
2561
2567
  * Not authenticated
2562
2568
  */
2563
- 401: BodhiApiError;
2569
+ 401: BodhiErrorResponse;
2564
2570
  /**
2565
2571
  * Insufficient permissions
2566
2572
  */
2567
- 403: BodhiApiError;
2573
+ 403: BodhiErrorResponse;
2568
2574
  /**
2569
2575
  * Internal server error
2570
2576
  */
2571
- 500: BodhiApiError;
2577
+ 500: BodhiErrorResponse;
2572
2578
  };
2573
2579
  export type McpOAuthDiscoverMcpError = McpOAuthDiscoverMcpErrors[keyof McpOAuthDiscoverMcpErrors];
2574
2580
  export type McpOAuthDiscoverMcpResponses = {
@@ -2588,19 +2594,19 @@ export type McpOAuthDynamicRegisterStandaloneErrors = {
2588
2594
  /**
2589
2595
  * Invalid request parameters
2590
2596
  */
2591
- 400: BodhiApiError;
2597
+ 400: BodhiErrorResponse;
2592
2598
  /**
2593
2599
  * Not authenticated
2594
2600
  */
2595
- 401: BodhiApiError;
2601
+ 401: BodhiErrorResponse;
2596
2602
  /**
2597
2603
  * Insufficient permissions
2598
2604
  */
2599
- 403: BodhiApiError;
2605
+ 403: BodhiErrorResponse;
2600
2606
  /**
2601
2607
  * Internal server error
2602
2608
  */
2603
- 500: BodhiApiError;
2609
+ 500: BodhiErrorResponse;
2604
2610
  };
2605
2611
  export type McpOAuthDynamicRegisterStandaloneError = McpOAuthDynamicRegisterStandaloneErrors[keyof McpOAuthDynamicRegisterStandaloneErrors];
2606
2612
  export type McpOAuthDynamicRegisterStandaloneResponses = {
@@ -2625,19 +2631,19 @@ export type ListMcpServersErrors = {
2625
2631
  /**
2626
2632
  * Invalid request parameters
2627
2633
  */
2628
- 400: BodhiApiError;
2634
+ 400: BodhiErrorResponse;
2629
2635
  /**
2630
2636
  * Not authenticated
2631
2637
  */
2632
- 401: BodhiApiError;
2638
+ 401: BodhiErrorResponse;
2633
2639
  /**
2634
2640
  * Insufficient permissions
2635
2641
  */
2636
- 403: BodhiApiError;
2642
+ 403: BodhiErrorResponse;
2637
2643
  /**
2638
2644
  * Internal server error
2639
2645
  */
2640
- 500: BodhiApiError;
2646
+ 500: BodhiErrorResponse;
2641
2647
  };
2642
2648
  export type ListMcpServersError = ListMcpServersErrors[keyof ListMcpServersErrors];
2643
2649
  export type ListMcpServersResponses = {
@@ -2657,15 +2663,15 @@ export type CreateMcpServerErrors = {
2657
2663
  /**
2658
2664
  * Invalid request parameters
2659
2665
  */
2660
- 400: BodhiApiError;
2666
+ 400: BodhiErrorResponse;
2661
2667
  /**
2662
2668
  * Not authenticated
2663
2669
  */
2664
- 401: BodhiApiError;
2670
+ 401: BodhiErrorResponse;
2665
2671
  /**
2666
2672
  * Insufficient permissions
2667
2673
  */
2668
- 403: BodhiApiError;
2674
+ 403: BodhiErrorResponse;
2669
2675
  /**
2670
2676
  * URL already exists
2671
2677
  */
@@ -2673,7 +2679,7 @@ export type CreateMcpServerErrors = {
2673
2679
  /**
2674
2680
  * Internal server error
2675
2681
  */
2676
- 500: BodhiApiError;
2682
+ 500: BodhiErrorResponse;
2677
2683
  };
2678
2684
  export type CreateMcpServerError = CreateMcpServerErrors[keyof CreateMcpServerErrors];
2679
2685
  export type CreateMcpServerResponses = {
@@ -2698,15 +2704,15 @@ export type GetMcpServerErrors = {
2698
2704
  /**
2699
2705
  * Invalid request parameters
2700
2706
  */
2701
- 400: BodhiApiError;
2707
+ 400: BodhiErrorResponse;
2702
2708
  /**
2703
2709
  * Not authenticated
2704
2710
  */
2705
- 401: BodhiApiError;
2711
+ 401: BodhiErrorResponse;
2706
2712
  /**
2707
2713
  * Insufficient permissions
2708
2714
  */
2709
- 403: BodhiApiError;
2715
+ 403: BodhiErrorResponse;
2710
2716
  /**
2711
2717
  * Not found
2712
2718
  */
@@ -2714,7 +2720,7 @@ export type GetMcpServerErrors = {
2714
2720
  /**
2715
2721
  * Internal server error
2716
2722
  */
2717
- 500: BodhiApiError;
2723
+ 500: BodhiErrorResponse;
2718
2724
  };
2719
2725
  export type GetMcpServerError = GetMcpServerErrors[keyof GetMcpServerErrors];
2720
2726
  export type GetMcpServerResponses = {
@@ -2739,15 +2745,15 @@ export type UpdateMcpServerErrors = {
2739
2745
  /**
2740
2746
  * Invalid request parameters
2741
2747
  */
2742
- 400: BodhiApiError;
2748
+ 400: BodhiErrorResponse;
2743
2749
  /**
2744
2750
  * Not authenticated
2745
2751
  */
2746
- 401: BodhiApiError;
2752
+ 401: BodhiErrorResponse;
2747
2753
  /**
2748
2754
  * Insufficient permissions
2749
2755
  */
2750
- 403: BodhiApiError;
2756
+ 403: BodhiErrorResponse;
2751
2757
  /**
2752
2758
  * Not found
2753
2759
  */
@@ -2759,7 +2765,7 @@ export type UpdateMcpServerErrors = {
2759
2765
  /**
2760
2766
  * Internal server error
2761
2767
  */
2762
- 500: BodhiApiError;
2768
+ 500: BodhiErrorResponse;
2763
2769
  };
2764
2770
  export type UpdateMcpServerError = UpdateMcpServerErrors[keyof UpdateMcpServerErrors];
2765
2771
  export type UpdateMcpServerResponses = {
@@ -2784,15 +2790,15 @@ export type DeleteMcpErrors = {
2784
2790
  /**
2785
2791
  * Invalid request parameters
2786
2792
  */
2787
- 400: BodhiApiError;
2793
+ 400: BodhiErrorResponse;
2788
2794
  /**
2789
2795
  * Not authenticated
2790
2796
  */
2791
- 401: BodhiApiError;
2797
+ 401: BodhiErrorResponse;
2792
2798
  /**
2793
2799
  * Insufficient permissions
2794
2800
  */
2795
- 403: BodhiApiError;
2801
+ 403: BodhiErrorResponse;
2796
2802
  /**
2797
2803
  * MCP not found
2798
2804
  */
@@ -2800,7 +2806,7 @@ export type DeleteMcpErrors = {
2800
2806
  /**
2801
2807
  * Internal server error
2802
2808
  */
2803
- 500: BodhiApiError;
2809
+ 500: BodhiErrorResponse;
2804
2810
  };
2805
2811
  export type DeleteMcpError = DeleteMcpErrors[keyof DeleteMcpErrors];
2806
2812
  export type DeleteMcpResponses = {
@@ -2825,15 +2831,15 @@ export type GetMcpErrors = {
2825
2831
  /**
2826
2832
  * Invalid request parameters
2827
2833
  */
2828
- 400: BodhiApiError;
2834
+ 400: BodhiErrorResponse;
2829
2835
  /**
2830
2836
  * Not authenticated
2831
2837
  */
2832
- 401: BodhiApiError;
2838
+ 401: BodhiErrorResponse;
2833
2839
  /**
2834
2840
  * Insufficient permissions
2835
2841
  */
2836
- 403: BodhiApiError;
2842
+ 403: BodhiErrorResponse;
2837
2843
  /**
2838
2844
  * MCP not found
2839
2845
  */
@@ -2841,7 +2847,7 @@ export type GetMcpErrors = {
2841
2847
  /**
2842
2848
  * Internal server error
2843
2849
  */
2844
- 500: BodhiApiError;
2850
+ 500: BodhiErrorResponse;
2845
2851
  };
2846
2852
  export type GetMcpError = GetMcpErrors[keyof GetMcpErrors];
2847
2853
  export type GetMcpResponses = {
@@ -2866,15 +2872,15 @@ export type UpdateMcpErrors = {
2866
2872
  /**
2867
2873
  * Invalid request parameters
2868
2874
  */
2869
- 400: BodhiApiError;
2875
+ 400: BodhiErrorResponse;
2870
2876
  /**
2871
2877
  * Not authenticated
2872
2878
  */
2873
- 401: BodhiApiError;
2879
+ 401: BodhiErrorResponse;
2874
2880
  /**
2875
2881
  * Insufficient permissions
2876
2882
  */
2877
- 403: BodhiApiError;
2883
+ 403: BodhiErrorResponse;
2878
2884
  /**
2879
2885
  * MCP not found
2880
2886
  */
@@ -2882,7 +2888,7 @@ export type UpdateMcpErrors = {
2882
2888
  /**
2883
2889
  * Internal server error
2884
2890
  */
2885
- 500: BodhiApiError;
2891
+ 500: BodhiErrorResponse;
2886
2892
  };
2887
2893
  export type UpdateMcpError = UpdateMcpErrors[keyof UpdateMcpErrors];
2888
2894
  export type UpdateMcpResponses = {
@@ -2919,19 +2925,19 @@ export type ListAllModelsErrors = {
2919
2925
  /**
2920
2926
  * Invalid request parameters
2921
2927
  */
2922
- 400: BodhiApiError;
2928
+ 400: BodhiErrorResponse;
2923
2929
  /**
2924
2930
  * Not authenticated
2925
2931
  */
2926
- 401: BodhiApiError;
2932
+ 401: BodhiErrorResponse;
2927
2933
  /**
2928
2934
  * Insufficient permissions
2929
2935
  */
2930
- 403: BodhiApiError;
2936
+ 403: BodhiErrorResponse;
2931
2937
  /**
2932
2938
  * Internal server error
2933
2939
  */
2934
- 500: BodhiApiError;
2940
+ 500: BodhiErrorResponse;
2935
2941
  };
2936
2942
  export type ListAllModelsError = ListAllModelsErrors[keyof ListAllModelsErrors];
2937
2943
  export type ListAllModelsResponses = {
@@ -2951,19 +2957,19 @@ export type ModelsAliasCreateErrors = {
2951
2957
  /**
2952
2958
  * Invalid request parameters
2953
2959
  */
2954
- 400: BodhiApiError;
2960
+ 400: BodhiErrorResponse;
2955
2961
  /**
2956
2962
  * Not authenticated
2957
2963
  */
2958
- 401: BodhiApiError;
2964
+ 401: BodhiErrorResponse;
2959
2965
  /**
2960
2966
  * Insufficient permissions
2961
2967
  */
2962
- 403: BodhiApiError;
2968
+ 403: BodhiErrorResponse;
2963
2969
  /**
2964
2970
  * Internal server error
2965
2971
  */
2966
- 500: BodhiApiError;
2972
+ 500: BodhiErrorResponse;
2967
2973
  };
2968
2974
  export type ModelsAliasCreateError = ModelsAliasCreateErrors[keyof ModelsAliasCreateErrors];
2969
2975
  export type ModelsAliasCreateResponses = {
@@ -2988,15 +2994,15 @@ export type ModelsAliasDestroyErrors = {
2988
2994
  /**
2989
2995
  * Invalid request parameters
2990
2996
  */
2991
- 400: BodhiApiError;
2997
+ 400: BodhiErrorResponse;
2992
2998
  /**
2993
2999
  * Not authenticated
2994
3000
  */
2995
- 401: BodhiApiError;
3001
+ 401: BodhiErrorResponse;
2996
3002
  /**
2997
3003
  * Insufficient permissions
2998
3004
  */
2999
- 403: BodhiApiError;
3005
+ 403: BodhiErrorResponse;
3000
3006
  /**
3001
3007
  * Alias not found
3002
3008
  */
@@ -3004,7 +3010,7 @@ export type ModelsAliasDestroyErrors = {
3004
3010
  /**
3005
3011
  * Internal server error
3006
3012
  */
3007
- 500: BodhiApiError;
3013
+ 500: BodhiErrorResponse;
3008
3014
  };
3009
3015
  export type ModelsAliasDestroyError = ModelsAliasDestroyErrors[keyof ModelsAliasDestroyErrors];
3010
3016
  export type ModelsAliasDestroyResponses = {
@@ -3028,19 +3034,19 @@ export type ModelsAliasUpdateErrors = {
3028
3034
  /**
3029
3035
  * Invalid request parameters
3030
3036
  */
3031
- 400: BodhiApiError;
3037
+ 400: BodhiErrorResponse;
3032
3038
  /**
3033
3039
  * Not authenticated
3034
3040
  */
3035
- 401: BodhiApiError;
3041
+ 401: BodhiErrorResponse;
3036
3042
  /**
3037
3043
  * Insufficient permissions
3038
3044
  */
3039
- 403: BodhiApiError;
3045
+ 403: BodhiErrorResponse;
3040
3046
  /**
3041
3047
  * Internal server error
3042
3048
  */
3043
- 500: BodhiApiError;
3049
+ 500: BodhiErrorResponse;
3044
3050
  };
3045
3051
  export type ModelsAliasUpdateError = ModelsAliasUpdateErrors[keyof ModelsAliasUpdateErrors];
3046
3052
  export type ModelsAliasUpdateResponses = {
@@ -3065,15 +3071,15 @@ export type ModelsAliasCopyErrors = {
3065
3071
  /**
3066
3072
  * Invalid request parameters
3067
3073
  */
3068
- 400: BodhiApiError;
3074
+ 400: BodhiErrorResponse;
3069
3075
  /**
3070
3076
  * Not authenticated
3071
3077
  */
3072
- 401: BodhiApiError;
3078
+ 401: BodhiErrorResponse;
3073
3079
  /**
3074
3080
  * Insufficient permissions
3075
3081
  */
3076
- 403: BodhiApiError;
3082
+ 403: BodhiErrorResponse;
3077
3083
  /**
3078
3084
  * Source alias not found
3079
3085
  */
@@ -3081,7 +3087,7 @@ export type ModelsAliasCopyErrors = {
3081
3087
  /**
3082
3088
  * Internal server error
3083
3089
  */
3084
- 500: BodhiApiError;
3090
+ 500: BodhiErrorResponse;
3085
3091
  };
3086
3092
  export type ModelsAliasCopyError = ModelsAliasCopyErrors[keyof ModelsAliasCopyErrors];
3087
3093
  export type ModelsAliasCopyResponses = {
@@ -3101,23 +3107,23 @@ export type CreateApiModelErrors = {
3101
3107
  /**
3102
3108
  * Invalid request parameters
3103
3109
  */
3104
- 400: BodhiApiError;
3110
+ 400: BodhiErrorResponse;
3105
3111
  /**
3106
3112
  * Not authenticated
3107
3113
  */
3108
- 401: BodhiApiError;
3114
+ 401: BodhiErrorResponse;
3109
3115
  /**
3110
3116
  * Insufficient permissions
3111
3117
  */
3112
- 403: BodhiApiError;
3118
+ 403: BodhiErrorResponse;
3113
3119
  /**
3114
3120
  * Alias already exists
3115
3121
  */
3116
- 409: BodhiApiError;
3122
+ 409: BodhiErrorResponse;
3117
3123
  /**
3118
3124
  * Internal server error
3119
3125
  */
3120
- 500: BodhiApiError;
3126
+ 500: BodhiErrorResponse;
3121
3127
  };
3122
3128
  export type CreateApiModelError = CreateApiModelErrors[keyof CreateApiModelErrors];
3123
3129
  export type CreateApiModelResponses = {
@@ -3137,19 +3143,19 @@ export type FetchApiModelsErrors = {
3137
3143
  /**
3138
3144
  * Invalid request parameters
3139
3145
  */
3140
- 400: BodhiApiError;
3146
+ 400: BodhiErrorResponse;
3141
3147
  /**
3142
3148
  * Not authenticated
3143
3149
  */
3144
- 401: BodhiApiError;
3150
+ 401: BodhiErrorResponse;
3145
3151
  /**
3146
3152
  * Insufficient permissions
3147
3153
  */
3148
- 403: BodhiApiError;
3154
+ 403: BodhiErrorResponse;
3149
3155
  /**
3150
3156
  * Internal server error
3151
3157
  */
3152
- 500: BodhiApiError;
3158
+ 500: BodhiErrorResponse;
3153
3159
  };
3154
3160
  export type FetchApiModelsError = FetchApiModelsErrors[keyof FetchApiModelsErrors];
3155
3161
  export type FetchApiModelsResponses = {
@@ -3169,19 +3175,19 @@ export type GetApiFormatsErrors = {
3169
3175
  /**
3170
3176
  * Invalid request parameters
3171
3177
  */
3172
- 400: BodhiApiError;
3178
+ 400: BodhiErrorResponse;
3173
3179
  /**
3174
3180
  * Not authenticated
3175
3181
  */
3176
- 401: BodhiApiError;
3182
+ 401: BodhiErrorResponse;
3177
3183
  /**
3178
3184
  * Insufficient permissions
3179
3185
  */
3180
- 403: BodhiApiError;
3186
+ 403: BodhiErrorResponse;
3181
3187
  /**
3182
3188
  * Internal server error
3183
3189
  */
3184
- 500: BodhiApiError;
3190
+ 500: BodhiErrorResponse;
3185
3191
  };
3186
3192
  export type GetApiFormatsError = GetApiFormatsErrors[keyof GetApiFormatsErrors];
3187
3193
  export type GetApiFormatsResponses = {
@@ -3201,19 +3207,19 @@ export type TestApiModelErrors = {
3201
3207
  /**
3202
3208
  * Invalid request parameters
3203
3209
  */
3204
- 400: BodhiApiError;
3210
+ 400: BodhiErrorResponse;
3205
3211
  /**
3206
3212
  * Not authenticated
3207
3213
  */
3208
- 401: BodhiApiError;
3214
+ 401: BodhiErrorResponse;
3209
3215
  /**
3210
3216
  * Insufficient permissions
3211
3217
  */
3212
- 403: BodhiApiError;
3218
+ 403: BodhiErrorResponse;
3213
3219
  /**
3214
3220
  * Internal server error
3215
3221
  */
3216
- 500: BodhiApiError;
3222
+ 500: BodhiErrorResponse;
3217
3223
  };
3218
3224
  export type TestApiModelError = TestApiModelErrors[keyof TestApiModelErrors];
3219
3225
  export type TestApiModelResponses = {
@@ -3238,23 +3244,23 @@ export type DeleteApiModelErrors = {
3238
3244
  /**
3239
3245
  * Invalid request parameters
3240
3246
  */
3241
- 400: BodhiApiError;
3247
+ 400: BodhiErrorResponse;
3242
3248
  /**
3243
3249
  * Not authenticated
3244
3250
  */
3245
- 401: BodhiApiError;
3251
+ 401: BodhiErrorResponse;
3246
3252
  /**
3247
3253
  * Insufficient permissions
3248
3254
  */
3249
- 403: BodhiApiError;
3255
+ 403: BodhiErrorResponse;
3250
3256
  /**
3251
3257
  * API model not found
3252
3258
  */
3253
- 404: BodhiApiError;
3259
+ 404: BodhiErrorResponse;
3254
3260
  /**
3255
3261
  * Internal server error
3256
3262
  */
3257
- 500: BodhiApiError;
3263
+ 500: BodhiErrorResponse;
3258
3264
  };
3259
3265
  export type DeleteApiModelError = DeleteApiModelErrors[keyof DeleteApiModelErrors];
3260
3266
  export type DeleteApiModelResponses = {
@@ -3279,23 +3285,23 @@ export type GetApiModelErrors = {
3279
3285
  /**
3280
3286
  * Invalid request parameters
3281
3287
  */
3282
- 400: BodhiApiError;
3288
+ 400: BodhiErrorResponse;
3283
3289
  /**
3284
3290
  * Not authenticated
3285
3291
  */
3286
- 401: BodhiApiError;
3292
+ 401: BodhiErrorResponse;
3287
3293
  /**
3288
3294
  * Insufficient permissions
3289
3295
  */
3290
- 403: BodhiApiError;
3296
+ 403: BodhiErrorResponse;
3291
3297
  /**
3292
3298
  * API model with specified ID not found
3293
3299
  */
3294
- 404: BodhiApiError;
3300
+ 404: BodhiErrorResponse;
3295
3301
  /**
3296
3302
  * Internal server error
3297
3303
  */
3298
- 500: BodhiApiError;
3304
+ 500: BodhiErrorResponse;
3299
3305
  };
3300
3306
  export type GetApiModelError = GetApiModelErrors[keyof GetApiModelErrors];
3301
3307
  export type GetApiModelResponses = {
@@ -3320,23 +3326,23 @@ export type UpdateApiModelErrors = {
3320
3326
  /**
3321
3327
  * Invalid request parameters
3322
3328
  */
3323
- 400: BodhiApiError;
3329
+ 400: BodhiErrorResponse;
3324
3330
  /**
3325
3331
  * Not authenticated
3326
3332
  */
3327
- 401: BodhiApiError;
3333
+ 401: BodhiErrorResponse;
3328
3334
  /**
3329
3335
  * Insufficient permissions
3330
3336
  */
3331
- 403: BodhiApiError;
3337
+ 403: BodhiErrorResponse;
3332
3338
  /**
3333
3339
  * API model not found
3334
3340
  */
3335
- 404: BodhiApiError;
3341
+ 404: BodhiErrorResponse;
3336
3342
  /**
3337
3343
  * Internal server error
3338
3344
  */
3339
- 500: BodhiApiError;
3345
+ 500: BodhiErrorResponse;
3340
3346
  };
3341
3347
  export type UpdateApiModelError = UpdateApiModelErrors[keyof UpdateApiModelErrors];
3342
3348
  export type UpdateApiModelResponses = {
@@ -3361,15 +3367,15 @@ export type SyncModelsErrors = {
3361
3367
  /**
3362
3368
  * Invalid request parameters
3363
3369
  */
3364
- 400: BodhiApiError;
3370
+ 400: BodhiErrorResponse;
3365
3371
  /**
3366
3372
  * Not authenticated
3367
3373
  */
3368
- 401: BodhiApiError;
3374
+ 401: BodhiErrorResponse;
3369
3375
  /**
3370
3376
  * Insufficient permissions
3371
3377
  */
3372
- 403: BodhiApiError;
3378
+ 403: BodhiErrorResponse;
3373
3379
  /**
3374
3380
  * API model not found
3375
3381
  */
@@ -3377,7 +3383,7 @@ export type SyncModelsErrors = {
3377
3383
  /**
3378
3384
  * Internal server error
3379
3385
  */
3380
- 500: BodhiApiError;
3386
+ 500: BodhiErrorResponse;
3381
3387
  };
3382
3388
  export type SyncModelsError = SyncModelsErrors[keyof SyncModelsErrors];
3383
3389
  export type SyncModelsResponses = {
@@ -3414,19 +3420,19 @@ export type ListModelFilesErrors = {
3414
3420
  /**
3415
3421
  * Invalid request parameters
3416
3422
  */
3417
- 400: BodhiApiError;
3423
+ 400: BodhiErrorResponse;
3418
3424
  /**
3419
3425
  * Not authenticated
3420
3426
  */
3421
- 401: BodhiApiError;
3427
+ 401: BodhiErrorResponse;
3422
3428
  /**
3423
3429
  * Insufficient permissions
3424
3430
  */
3425
- 403: BodhiApiError;
3431
+ 403: BodhiErrorResponse;
3426
3432
  /**
3427
3433
  * Internal server error
3428
3434
  */
3429
- 500: BodhiApiError;
3435
+ 500: BodhiErrorResponse;
3430
3436
  };
3431
3437
  export type ListModelFilesError = ListModelFilesErrors[keyof ListModelFilesErrors];
3432
3438
  export type ListModelFilesResponses = {
@@ -3463,19 +3469,19 @@ export type ListDownloadsErrors = {
3463
3469
  /**
3464
3470
  * Invalid request parameters
3465
3471
  */
3466
- 400: BodhiApiError;
3472
+ 400: BodhiErrorResponse;
3467
3473
  /**
3468
3474
  * Not authenticated
3469
3475
  */
3470
- 401: BodhiApiError;
3476
+ 401: BodhiErrorResponse;
3471
3477
  /**
3472
3478
  * Insufficient permissions
3473
3479
  */
3474
- 403: BodhiApiError;
3480
+ 403: BodhiErrorResponse;
3475
3481
  /**
3476
3482
  * Internal server error
3477
3483
  */
3478
- 500: BodhiApiError;
3484
+ 500: BodhiErrorResponse;
3479
3485
  };
3480
3486
  export type ListDownloadsError = ListDownloadsErrors[keyof ListDownloadsErrors];
3481
3487
  export type ListDownloadsResponses = {
@@ -3498,19 +3504,19 @@ export type PullModelFileErrors = {
3498
3504
  /**
3499
3505
  * Invalid request parameters
3500
3506
  */
3501
- 400: BodhiApiError;
3507
+ 400: BodhiErrorResponse;
3502
3508
  /**
3503
3509
  * Not authenticated
3504
3510
  */
3505
- 401: BodhiApiError;
3511
+ 401: BodhiErrorResponse;
3506
3512
  /**
3507
3513
  * Insufficient permissions
3508
3514
  */
3509
- 403: BodhiApiError;
3515
+ 403: BodhiErrorResponse;
3510
3516
  /**
3511
3517
  * Internal server error
3512
3518
  */
3513
- 500: BodhiApiError;
3519
+ 500: BodhiErrorResponse;
3514
3520
  };
3515
3521
  export type PullModelFileError = PullModelFileErrors[keyof PullModelFileErrors];
3516
3522
  export type PullModelFileResponses = {
@@ -3539,23 +3545,23 @@ export type GetDownloadStatusErrors = {
3539
3545
  /**
3540
3546
  * Invalid request parameters
3541
3547
  */
3542
- 400: BodhiApiError;
3548
+ 400: BodhiErrorResponse;
3543
3549
  /**
3544
3550
  * Not authenticated
3545
3551
  */
3546
- 401: BodhiApiError;
3552
+ 401: BodhiErrorResponse;
3547
3553
  /**
3548
3554
  * Insufficient permissions
3549
3555
  */
3550
- 403: BodhiApiError;
3556
+ 403: BodhiErrorResponse;
3551
3557
  /**
3552
3558
  * Download request not found
3553
3559
  */
3554
- 404: BodhiApiError;
3560
+ 404: BodhiErrorResponse;
3555
3561
  /**
3556
3562
  * Internal server error
3557
3563
  */
3558
- 500: BodhiApiError;
3564
+ 500: BodhiErrorResponse;
3559
3565
  };
3560
3566
  export type GetDownloadStatusError = GetDownloadStatusErrors[keyof GetDownloadStatusErrors];
3561
3567
  export type GetDownloadStatusResponses = {
@@ -3578,15 +3584,15 @@ export type RefreshModelMetadataErrors = {
3578
3584
  /**
3579
3585
  * Invalid request parameters
3580
3586
  */
3581
- 400: BodhiApiError;
3587
+ 400: BodhiErrorResponse;
3582
3588
  /**
3583
3589
  * Not authenticated
3584
3590
  */
3585
- 401: BodhiApiError;
3591
+ 401: BodhiErrorResponse;
3586
3592
  /**
3587
3593
  * Insufficient permissions
3588
3594
  */
3589
- 403: BodhiApiError;
3595
+ 403: BodhiErrorResponse;
3590
3596
  /**
3591
3597
  * Model alias not found for specified repo/filename/snapshot
3592
3598
  */
@@ -3594,7 +3600,7 @@ export type RefreshModelMetadataErrors = {
3594
3600
  /**
3595
3601
  * Internal server error
3596
3602
  */
3597
- 500: BodhiApiError;
3603
+ 500: BodhiErrorResponse;
3598
3604
  };
3599
3605
  export type RefreshModelMetadataError = RefreshModelMetadataErrors[keyof RefreshModelMetadataErrors];
3600
3606
  export type RefreshModelMetadataResponses = {
@@ -3623,23 +3629,23 @@ export type GetAliasErrors = {
3623
3629
  /**
3624
3630
  * Invalid request parameters
3625
3631
  */
3626
- 400: BodhiApiError;
3632
+ 400: BodhiErrorResponse;
3627
3633
  /**
3628
3634
  * Not authenticated
3629
3635
  */
3630
- 401: BodhiApiError;
3636
+ 401: BodhiErrorResponse;
3631
3637
  /**
3632
3638
  * Insufficient permissions
3633
3639
  */
3634
- 403: BodhiApiError;
3640
+ 403: BodhiErrorResponse;
3635
3641
  /**
3636
3642
  * Alias not found
3637
3643
  */
3638
- 404: BodhiApiError;
3644
+ 404: BodhiErrorResponse;
3639
3645
  /**
3640
3646
  * Internal server error
3641
3647
  */
3642
- 500: BodhiApiError;
3648
+ 500: BodhiErrorResponse;
3643
3649
  };
3644
3650
  export type GetAliasError = GetAliasErrors[keyof GetAliasErrors];
3645
3651
  export type GetAliasResponses = {
@@ -3659,19 +3665,19 @@ export type GetQueueStatusErrors = {
3659
3665
  /**
3660
3666
  * Invalid request parameters
3661
3667
  */
3662
- 400: BodhiApiError;
3668
+ 400: BodhiErrorResponse;
3663
3669
  /**
3664
3670
  * Not authenticated
3665
3671
  */
3666
- 401: BodhiApiError;
3672
+ 401: BodhiErrorResponse;
3667
3673
  /**
3668
3674
  * Insufficient permissions
3669
3675
  */
3670
- 403: BodhiApiError;
3676
+ 403: BodhiErrorResponse;
3671
3677
  /**
3672
3678
  * Internal server error
3673
3679
  */
3674
- 500: BodhiApiError;
3680
+ 500: BodhiErrorResponse;
3675
3681
  };
3676
3682
  export type GetQueueStatusError = GetQueueStatusErrors[keyof GetQueueStatusErrors];
3677
3683
  export type GetQueueStatusResponses = {
@@ -3691,19 +3697,19 @@ export type ListSettingsErrors = {
3691
3697
  /**
3692
3698
  * Invalid request parameters
3693
3699
  */
3694
- 400: BodhiApiError;
3700
+ 400: BodhiErrorResponse;
3695
3701
  /**
3696
3702
  * Not authenticated
3697
3703
  */
3698
- 401: BodhiApiError;
3704
+ 401: BodhiErrorResponse;
3699
3705
  /**
3700
3706
  * Insufficient permissions
3701
3707
  */
3702
- 403: BodhiApiError;
3708
+ 403: BodhiErrorResponse;
3703
3709
  /**
3704
3710
  * Internal server error
3705
3711
  */
3706
- 500: BodhiApiError;
3712
+ 500: BodhiErrorResponse;
3707
3713
  };
3708
3714
  export type ListSettingsError = ListSettingsErrors[keyof ListSettingsErrors];
3709
3715
  export type ListSettingsResponses = {
@@ -3728,23 +3734,23 @@ export type DeleteSettingErrors = {
3728
3734
  /**
3729
3735
  * Invalid request parameters
3730
3736
  */
3731
- 400: BodhiApiError;
3737
+ 400: BodhiErrorResponse;
3732
3738
  /**
3733
3739
  * Not authenticated
3734
3740
  */
3735
- 401: BodhiApiError;
3741
+ 401: BodhiErrorResponse;
3736
3742
  /**
3737
3743
  * Insufficient permissions
3738
3744
  */
3739
- 403: BodhiApiError;
3745
+ 403: BodhiErrorResponse;
3740
3746
  /**
3741
3747
  * Setting not found
3742
3748
  */
3743
- 404: BodhiApiError;
3749
+ 404: BodhiErrorResponse;
3744
3750
  /**
3745
3751
  * Internal server error
3746
3752
  */
3747
- 500: BodhiApiError;
3753
+ 500: BodhiErrorResponse;
3748
3754
  };
3749
3755
  export type DeleteSettingError = DeleteSettingErrors[keyof DeleteSettingErrors];
3750
3756
  export type DeleteSettingResponses = {
@@ -3777,23 +3783,23 @@ export type UpdateSettingErrors = {
3777
3783
  /**
3778
3784
  * Invalid request parameters
3779
3785
  */
3780
- 400: BodhiApiError;
3786
+ 400: BodhiErrorResponse;
3781
3787
  /**
3782
3788
  * Not authenticated
3783
3789
  */
3784
- 401: BodhiApiError;
3790
+ 401: BodhiErrorResponse;
3785
3791
  /**
3786
3792
  * Insufficient permissions
3787
3793
  */
3788
- 403: BodhiApiError;
3794
+ 403: BodhiErrorResponse;
3789
3795
  /**
3790
3796
  * Setting not found
3791
3797
  */
3792
- 404: BodhiApiError;
3798
+ 404: BodhiErrorResponse;
3793
3799
  /**
3794
3800
  * Internal server error
3795
3801
  */
3796
- 500: BodhiApiError;
3802
+ 500: BodhiErrorResponse;
3797
3803
  };
3798
3804
  export type UpdateSettingError = UpdateSettingErrors[keyof UpdateSettingErrors];
3799
3805
  export type UpdateSettingResponses = {
@@ -3816,11 +3822,11 @@ export type SetupAppErrors = {
3816
3822
  /**
3817
3823
  * Invalid request parameters
3818
3824
  */
3819
- 400: BodhiApiError;
3825
+ 400: BodhiErrorResponse;
3820
3826
  /**
3821
3827
  * Internal server error
3822
3828
  */
3823
- 500: BodhiApiError;
3829
+ 500: BodhiErrorResponse;
3824
3830
  };
3825
3831
  export type SetupAppError = SetupAppErrors[keyof SetupAppErrors];
3826
3832
  export type SetupAppResponses = {
@@ -3840,19 +3846,19 @@ export type TenantsListErrors = {
3840
3846
  /**
3841
3847
  * Invalid request parameters
3842
3848
  */
3843
- 400: BodhiApiError;
3849
+ 400: BodhiErrorResponse;
3844
3850
  /**
3845
3851
  * Not authenticated
3846
3852
  */
3847
- 401: BodhiApiError;
3853
+ 401: BodhiErrorResponse;
3848
3854
  /**
3849
3855
  * Insufficient permissions
3850
3856
  */
3851
- 403: BodhiApiError;
3857
+ 403: BodhiErrorResponse;
3852
3858
  /**
3853
3859
  * Internal server error
3854
3860
  */
3855
- 500: BodhiApiError;
3861
+ 500: BodhiErrorResponse;
3856
3862
  };
3857
3863
  export type TenantsListError = TenantsListErrors[keyof TenantsListErrors];
3858
3864
  export type TenantsListResponses = {
@@ -3875,19 +3881,19 @@ export type TenantsCreateErrors = {
3875
3881
  /**
3876
3882
  * Invalid request parameters
3877
3883
  */
3878
- 400: BodhiApiError;
3884
+ 400: BodhiErrorResponse;
3879
3885
  /**
3880
3886
  * Not authenticated
3881
3887
  */
3882
- 401: BodhiApiError;
3888
+ 401: BodhiErrorResponse;
3883
3889
  /**
3884
3890
  * Insufficient permissions
3885
3891
  */
3886
- 403: BodhiApiError;
3892
+ 403: BodhiErrorResponse;
3887
3893
  /**
3888
3894
  * Internal server error
3889
3895
  */
3890
- 500: BodhiApiError;
3896
+ 500: BodhiErrorResponse;
3891
3897
  };
3892
3898
  export type TenantsCreateError = TenantsCreateErrors[keyof TenantsCreateErrors];
3893
3899
  export type TenantsCreateResponses = {
@@ -3912,19 +3918,19 @@ export type TenantsActivateErrors = {
3912
3918
  /**
3913
3919
  * Invalid request parameters
3914
3920
  */
3915
- 400: BodhiApiError;
3921
+ 400: BodhiErrorResponse;
3916
3922
  /**
3917
3923
  * Not authenticated
3918
3924
  */
3919
- 401: BodhiApiError;
3925
+ 401: BodhiErrorResponse;
3920
3926
  /**
3921
3927
  * Insufficient permissions
3922
3928
  */
3923
- 403: BodhiApiError;
3929
+ 403: BodhiErrorResponse;
3924
3930
  /**
3925
3931
  * Internal server error
3926
3932
  */
3927
- 500: BodhiApiError;
3933
+ 500: BodhiErrorResponse;
3928
3934
  };
3929
3935
  export type TenantsActivateError = TenantsActivateErrors[keyof TenantsActivateErrors];
3930
3936
  export type TenantsActivateResponses = {
@@ -3960,19 +3966,19 @@ export type ListApiTokensErrors = {
3960
3966
  /**
3961
3967
  * Invalid request parameters
3962
3968
  */
3963
- 400: BodhiApiError;
3969
+ 400: BodhiErrorResponse;
3964
3970
  /**
3965
3971
  * Not authenticated
3966
3972
  */
3967
- 401: BodhiApiError;
3973
+ 401: BodhiErrorResponse;
3968
3974
  /**
3969
3975
  * Insufficient permissions
3970
3976
  */
3971
- 403: BodhiApiError;
3977
+ 403: BodhiErrorResponse;
3972
3978
  /**
3973
3979
  * Internal server error
3974
3980
  */
3975
- 500: BodhiApiError;
3981
+ 500: BodhiErrorResponse;
3976
3982
  };
3977
3983
  export type ListApiTokensError = ListApiTokensErrors[keyof ListApiTokensErrors];
3978
3984
  export type ListApiTokensResponses = {
@@ -3995,19 +4001,19 @@ export type CreateApiTokenErrors = {
3995
4001
  /**
3996
4002
  * Invalid request parameters
3997
4003
  */
3998
- 400: BodhiApiError;
4004
+ 400: BodhiErrorResponse;
3999
4005
  /**
4000
4006
  * Not authenticated
4001
4007
  */
4002
- 401: BodhiApiError;
4008
+ 401: BodhiErrorResponse;
4003
4009
  /**
4004
4010
  * Insufficient permissions
4005
4011
  */
4006
- 403: BodhiApiError;
4012
+ 403: BodhiErrorResponse;
4007
4013
  /**
4008
4014
  * Internal server error
4009
4015
  */
4010
- 500: BodhiApiError;
4016
+ 500: BodhiErrorResponse;
4011
4017
  };
4012
4018
  export type CreateApiTokenError = CreateApiTokenErrors[keyof CreateApiTokenErrors];
4013
4019
  export type CreateApiTokenResponses = {
@@ -4035,23 +4041,23 @@ export type UpdateApiTokenErrors = {
4035
4041
  /**
4036
4042
  * Invalid request parameters
4037
4043
  */
4038
- 400: BodhiApiError;
4044
+ 400: BodhiErrorResponse;
4039
4045
  /**
4040
4046
  * Not authenticated
4041
4047
  */
4042
- 401: BodhiApiError;
4048
+ 401: BodhiErrorResponse;
4043
4049
  /**
4044
4050
  * Insufficient permissions
4045
4051
  */
4046
- 403: BodhiApiError;
4052
+ 403: BodhiErrorResponse;
4047
4053
  /**
4048
4054
  * Token not found
4049
4055
  */
4050
- 404: BodhiApiError;
4056
+ 404: BodhiErrorResponse;
4051
4057
  /**
4052
4058
  * Internal server error
4053
4059
  */
4054
- 500: BodhiApiError;
4060
+ 500: BodhiErrorResponse;
4055
4061
  };
4056
4062
  export type UpdateApiTokenError = UpdateApiTokenErrors[keyof UpdateApiTokenErrors];
4057
4063
  export type UpdateApiTokenResponses = {
@@ -4071,19 +4077,19 @@ export type GetCurrentUserErrors = {
4071
4077
  /**
4072
4078
  * Invalid request parameters
4073
4079
  */
4074
- 400: BodhiApiError;
4080
+ 400: BodhiErrorResponse;
4075
4081
  /**
4076
4082
  * Not authenticated
4077
4083
  */
4078
- 401: BodhiApiError;
4084
+ 401: BodhiErrorResponse;
4079
4085
  /**
4080
4086
  * Insufficient permissions
4081
4087
  */
4082
- 403: BodhiApiError;
4088
+ 403: BodhiErrorResponse;
4083
4089
  /**
4084
4090
  * Internal server error
4085
4091
  */
4086
- 500: BodhiApiError;
4092
+ 500: BodhiErrorResponse;
4087
4093
  };
4088
4094
  export type GetCurrentUserError = GetCurrentUserErrors[keyof GetCurrentUserErrors];
4089
4095
  export type GetCurrentUserResponses = {
@@ -4103,27 +4109,27 @@ export type RequestUserAccessErrors = {
4103
4109
  /**
4104
4110
  * Invalid request parameters
4105
4111
  */
4106
- 400: BodhiApiError;
4112
+ 400: BodhiErrorResponse;
4107
4113
  /**
4108
4114
  * Not authenticated
4109
4115
  */
4110
- 401: BodhiApiError;
4116
+ 401: BodhiErrorResponse;
4111
4117
  /**
4112
4118
  * Insufficient permissions
4113
4119
  */
4114
- 403: BodhiApiError;
4120
+ 403: BodhiErrorResponse;
4115
4121
  /**
4116
4122
  * Pending request already exists
4117
4123
  */
4118
- 409: BodhiApiError;
4124
+ 409: BodhiErrorResponse;
4119
4125
  /**
4120
4126
  * User already has role
4121
4127
  */
4122
- 422: BodhiApiError;
4128
+ 422: BodhiErrorResponse;
4123
4129
  /**
4124
4130
  * Internal server error
4125
4131
  */
4126
- 500: BodhiApiError;
4132
+ 500: BodhiErrorResponse;
4127
4133
  };
4128
4134
  export type RequestUserAccessError = RequestUserAccessErrors[keyof RequestUserAccessErrors];
4129
4135
  export type RequestUserAccessResponses = {
@@ -4142,23 +4148,23 @@ export type GetUserAccessStatusErrors = {
4142
4148
  /**
4143
4149
  * Invalid request parameters
4144
4150
  */
4145
- 400: BodhiApiError;
4151
+ 400: BodhiErrorResponse;
4146
4152
  /**
4147
4153
  * Not authenticated
4148
4154
  */
4149
- 401: BodhiApiError;
4155
+ 401: BodhiErrorResponse;
4150
4156
  /**
4151
4157
  * Insufficient permissions
4152
4158
  */
4153
- 403: BodhiApiError;
4159
+ 403: BodhiErrorResponse;
4154
4160
  /**
4155
4161
  * Request not found
4156
4162
  */
4157
- 404: BodhiApiError;
4163
+ 404: BodhiErrorResponse;
4158
4164
  /**
4159
4165
  * Internal server error
4160
4166
  */
4161
- 500: BodhiApiError;
4167
+ 500: BodhiErrorResponse;
4162
4168
  };
4163
4169
  export type GetUserAccessStatusError = GetUserAccessStatusErrors[keyof GetUserAccessStatusErrors];
4164
4170
  export type GetUserAccessStatusResponses = {
@@ -4187,19 +4193,19 @@ export type ListUsersErrors = {
4187
4193
  /**
4188
4194
  * Invalid request parameters
4189
4195
  */
4190
- 400: BodhiApiError;
4196
+ 400: BodhiErrorResponse;
4191
4197
  /**
4192
4198
  * Not authenticated
4193
4199
  */
4194
- 401: BodhiApiError;
4200
+ 401: BodhiErrorResponse;
4195
4201
  /**
4196
4202
  * Insufficient permissions
4197
4203
  */
4198
- 403: BodhiApiError;
4204
+ 403: BodhiErrorResponse;
4199
4205
  /**
4200
4206
  * Internal server error
4201
4207
  */
4202
- 500: BodhiApiError;
4208
+ 500: BodhiErrorResponse;
4203
4209
  };
4204
4210
  export type ListUsersError = ListUsersErrors[keyof ListUsersErrors];
4205
4211
  export type ListUsersResponses = {
@@ -4224,23 +4230,23 @@ export type RemoveUserErrors = {
4224
4230
  /**
4225
4231
  * Invalid request parameters
4226
4232
  */
4227
- 400: BodhiApiError;
4233
+ 400: BodhiErrorResponse;
4228
4234
  /**
4229
4235
  * Not authenticated
4230
4236
  */
4231
- 401: BodhiApiError;
4237
+ 401: BodhiErrorResponse;
4232
4238
  /**
4233
4239
  * Insufficient permissions
4234
4240
  */
4235
- 403: BodhiApiError;
4241
+ 403: BodhiErrorResponse;
4236
4242
  /**
4237
4243
  * User not found
4238
4244
  */
4239
- 404: BodhiApiError;
4245
+ 404: BodhiErrorResponse;
4240
4246
  /**
4241
4247
  * Internal server error
4242
4248
  */
4243
- 500: BodhiApiError;
4249
+ 500: BodhiErrorResponse;
4244
4250
  };
4245
4251
  export type RemoveUserError = RemoveUserErrors[keyof RemoveUserErrors];
4246
4252
  export type RemoveUserResponses = {
@@ -4264,23 +4270,23 @@ export type ChangeUserRoleErrors = {
4264
4270
  /**
4265
4271
  * Invalid request parameters
4266
4272
  */
4267
- 400: BodhiApiError;
4273
+ 400: BodhiErrorResponse;
4268
4274
  /**
4269
4275
  * Not authenticated
4270
4276
  */
4271
- 401: BodhiApiError;
4277
+ 401: BodhiErrorResponse;
4272
4278
  /**
4273
4279
  * Insufficient permissions
4274
4280
  */
4275
- 403: BodhiApiError;
4281
+ 403: BodhiErrorResponse;
4276
4282
  /**
4277
4283
  * User not found
4278
4284
  */
4279
- 404: BodhiApiError;
4285
+ 404: BodhiErrorResponse;
4280
4286
  /**
4281
4287
  * Internal server error
4282
4288
  */
4283
- 500: BodhiApiError;
4289
+ 500: BodhiErrorResponse;
4284
4290
  };
4285
4291
  export type ChangeUserRoleError = ChangeUserRoleErrors[keyof ChangeUserRoleErrors];
4286
4292
  export type ChangeUserRoleResponses = {
@@ -4299,11 +4305,11 @@ export type HealthCheckErrors = {
4299
4305
  /**
4300
4306
  * Invalid request parameters
4301
4307
  */
4302
- 400: BodhiApiError;
4308
+ 400: BodhiErrorResponse;
4303
4309
  /**
4304
4310
  * Internal server error
4305
4311
  */
4306
- 500: BodhiApiError;
4312
+ 500: BodhiErrorResponse;
4307
4313
  };
4308
4314
  export type HealthCheckError = HealthCheckErrors[keyof HealthCheckErrors];
4309
4315
  export type HealthCheckResponses = {
@@ -4323,11 +4329,11 @@ export type PingServerErrors = {
4323
4329
  /**
4324
4330
  * Invalid request parameters
4325
4331
  */
4326
- 400: BodhiApiError;
4332
+ 400: BodhiErrorResponse;
4327
4333
  /**
4328
4334
  * Internal server error
4329
4335
  */
4330
- 500: BodhiApiError;
4336
+ 500: BodhiErrorResponse;
4331
4337
  };
4332
4338
  export type PingServerError = PingServerErrors[keyof PingServerErrors];
4333
4339
  export type PingServerResponses = {