@bodhiapp/ts-client 0.1.28 → 0.1.30

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
  */
@@ -353,6 +347,12 @@ export type BodhiErrorBody = {
353
347
  [key: string]: string;
354
348
  } | null;
355
349
  };
350
+ export type BodhiErrorResponse = {
351
+ /**
352
+ * Error details following Bodhi API error format
353
+ */
354
+ error: BodhiError;
355
+ };
356
356
  /**
357
357
  * Whether a single capability is supported by the model.
358
358
  */
@@ -551,7 +551,7 @@ export type FlowType = 'redirect' | 'popup';
551
551
  */
552
552
  export type GeminiModel = {
553
553
  name: string;
554
- version?: string;
554
+ version?: string | null;
555
555
  displayName?: string | null;
556
556
  description?: string | null;
557
557
  inputTokenLimit?: number | null;
@@ -1447,19 +1447,19 @@ export type ListAllAccessRequestsErrors = {
1447
1447
  /**
1448
1448
  * Invalid request parameters
1449
1449
  */
1450
- 400: BodhiApiError;
1450
+ 400: BodhiErrorResponse;
1451
1451
  /**
1452
1452
  * Not authenticated
1453
1453
  */
1454
- 401: BodhiApiError;
1454
+ 401: BodhiErrorResponse;
1455
1455
  /**
1456
1456
  * Insufficient permissions
1457
1457
  */
1458
- 403: BodhiApiError;
1458
+ 403: BodhiErrorResponse;
1459
1459
  /**
1460
1460
  * Internal server error
1461
1461
  */
1462
- 500: BodhiApiError;
1462
+ 500: BodhiErrorResponse;
1463
1463
  };
1464
1464
  export type ListAllAccessRequestsError = ListAllAccessRequestsErrors[keyof ListAllAccessRequestsErrors];
1465
1465
  export type ListAllAccessRequestsResponses = {
@@ -1496,19 +1496,19 @@ export type ListPendingAccessRequestsErrors = {
1496
1496
  /**
1497
1497
  * Invalid request parameters
1498
1498
  */
1499
- 400: BodhiApiError;
1499
+ 400: BodhiErrorResponse;
1500
1500
  /**
1501
1501
  * Not authenticated
1502
1502
  */
1503
- 401: BodhiApiError;
1503
+ 401: BodhiErrorResponse;
1504
1504
  /**
1505
1505
  * Insufficient permissions
1506
1506
  */
1507
- 403: BodhiApiError;
1507
+ 403: BodhiErrorResponse;
1508
1508
  /**
1509
1509
  * Internal server error
1510
1510
  */
1511
- 500: BodhiApiError;
1511
+ 500: BodhiErrorResponse;
1512
1512
  };
1513
1513
  export type ListPendingAccessRequestsError = ListPendingAccessRequestsErrors[keyof ListPendingAccessRequestsErrors];
1514
1514
  export type ListPendingAccessRequestsResponses = {
@@ -1536,23 +1536,23 @@ export type ApproveAccessRequestErrors = {
1536
1536
  /**
1537
1537
  * Invalid request parameters
1538
1538
  */
1539
- 400: BodhiApiError;
1539
+ 400: BodhiErrorResponse;
1540
1540
  /**
1541
1541
  * Not authenticated
1542
1542
  */
1543
- 401: BodhiApiError;
1543
+ 401: BodhiErrorResponse;
1544
1544
  /**
1545
1545
  * Insufficient permissions
1546
1546
  */
1547
- 403: BodhiApiError;
1547
+ 403: BodhiErrorResponse;
1548
1548
  /**
1549
1549
  * Request not found
1550
1550
  */
1551
- 404: BodhiApiError;
1551
+ 404: BodhiErrorResponse;
1552
1552
  /**
1553
1553
  * Internal server error
1554
1554
  */
1555
- 500: BodhiApiError;
1555
+ 500: BodhiErrorResponse;
1556
1556
  };
1557
1557
  export type ApproveAccessRequestError = ApproveAccessRequestErrors[keyof ApproveAccessRequestErrors];
1558
1558
  export type ApproveAccessRequestResponses = {
@@ -1579,27 +1579,27 @@ export type ApproveAppsAccessRequestErrors = {
1579
1579
  /**
1580
1580
  * Invalid request parameters
1581
1581
  */
1582
- 400: BodhiApiError;
1582
+ 400: BodhiErrorResponse;
1583
1583
  /**
1584
1584
  * Not authenticated
1585
1585
  */
1586
- 401: BodhiApiError;
1586
+ 401: BodhiErrorResponse;
1587
1587
  /**
1588
1588
  * Insufficient permissions
1589
1589
  */
1590
- 403: BodhiApiError;
1590
+ 403: BodhiErrorResponse;
1591
1591
  /**
1592
1592
  * Not found
1593
1593
  */
1594
- 404: BodhiApiError;
1594
+ 404: BodhiErrorResponse;
1595
1595
  /**
1596
1596
  * Already processed
1597
1597
  */
1598
- 409: BodhiApiError;
1598
+ 409: BodhiErrorResponse;
1599
1599
  /**
1600
1600
  * Internal server error
1601
1601
  */
1602
- 500: BodhiApiError;
1602
+ 500: BodhiErrorResponse;
1603
1603
  };
1604
1604
  export type ApproveAppsAccessRequestError = ApproveAppsAccessRequestErrors[keyof ApproveAppsAccessRequestErrors];
1605
1605
  export type ApproveAppsAccessRequestResponses = {
@@ -1624,27 +1624,27 @@ export type DenyAccessRequestErrors = {
1624
1624
  /**
1625
1625
  * Invalid request parameters
1626
1626
  */
1627
- 400: BodhiApiError;
1627
+ 400: BodhiErrorResponse;
1628
1628
  /**
1629
1629
  * Not authenticated
1630
1630
  */
1631
- 401: BodhiApiError;
1631
+ 401: BodhiErrorResponse;
1632
1632
  /**
1633
1633
  * Insufficient permissions
1634
1634
  */
1635
- 403: BodhiApiError;
1635
+ 403: BodhiErrorResponse;
1636
1636
  /**
1637
1637
  * Not found
1638
1638
  */
1639
- 404: BodhiApiError;
1639
+ 404: BodhiErrorResponse;
1640
1640
  /**
1641
1641
  * Already processed
1642
1642
  */
1643
- 409: BodhiApiError;
1643
+ 409: BodhiErrorResponse;
1644
1644
  /**
1645
1645
  * Internal server error
1646
1646
  */
1647
- 500: BodhiApiError;
1647
+ 500: BodhiErrorResponse;
1648
1648
  };
1649
1649
  export type DenyAccessRequestError = DenyAccessRequestErrors[keyof DenyAccessRequestErrors];
1650
1650
  export type DenyAccessRequestResponses = {
@@ -1669,23 +1669,23 @@ export type RejectAccessRequestErrors = {
1669
1669
  /**
1670
1670
  * Invalid request parameters
1671
1671
  */
1672
- 400: BodhiApiError;
1672
+ 400: BodhiErrorResponse;
1673
1673
  /**
1674
1674
  * Not authenticated
1675
1675
  */
1676
- 401: BodhiApiError;
1676
+ 401: BodhiErrorResponse;
1677
1677
  /**
1678
1678
  * Insufficient permissions
1679
1679
  */
1680
- 403: BodhiApiError;
1680
+ 403: BodhiErrorResponse;
1681
1681
  /**
1682
1682
  * Request not found
1683
1683
  */
1684
- 404: BodhiApiError;
1684
+ 404: BodhiErrorResponse;
1685
1685
  /**
1686
1686
  * Internal server error
1687
1687
  */
1688
- 500: BodhiApiError;
1688
+ 500: BodhiErrorResponse;
1689
1689
  };
1690
1690
  export type RejectAccessRequestError = RejectAccessRequestErrors[keyof RejectAccessRequestErrors];
1691
1691
  export type RejectAccessRequestResponses = {
@@ -1709,27 +1709,27 @@ export type GetAccessRequestReviewErrors = {
1709
1709
  /**
1710
1710
  * Invalid request parameters
1711
1711
  */
1712
- 400: BodhiApiError;
1712
+ 400: BodhiErrorResponse;
1713
1713
  /**
1714
1714
  * Not authenticated
1715
1715
  */
1716
- 401: BodhiApiError;
1716
+ 401: BodhiErrorResponse;
1717
1717
  /**
1718
1718
  * Insufficient permissions
1719
1719
  */
1720
- 403: BodhiApiError;
1720
+ 403: BodhiErrorResponse;
1721
1721
  /**
1722
1722
  * Not found
1723
1723
  */
1724
- 404: BodhiApiError;
1724
+ 404: BodhiErrorResponse;
1725
1725
  /**
1726
1726
  * Request expired
1727
1727
  */
1728
- 410: BodhiApiError;
1728
+ 410: BodhiErrorResponse;
1729
1729
  /**
1730
1730
  * Internal server error
1731
1731
  */
1732
- 500: BodhiApiError;
1732
+ 500: BodhiErrorResponse;
1733
1733
  };
1734
1734
  export type GetAccessRequestReviewError = GetAccessRequestReviewErrors[keyof GetAccessRequestReviewErrors];
1735
1735
  export type GetAccessRequestReviewResponses = {
@@ -1759,23 +1759,23 @@ export type GetAccessRequestStatusErrors = {
1759
1759
  /**
1760
1760
  * Invalid request parameters
1761
1761
  */
1762
- 400: BodhiApiError;
1762
+ 400: BodhiErrorResponse;
1763
1763
  /**
1764
1764
  * Not authenticated
1765
1765
  */
1766
- 401: BodhiApiError;
1766
+ 401: BodhiErrorResponse;
1767
1767
  /**
1768
1768
  * Insufficient permissions
1769
1769
  */
1770
- 403: BodhiApiError;
1770
+ 403: BodhiErrorResponse;
1771
1771
  /**
1772
1772
  * Not found or app_client_id mismatch
1773
1773
  */
1774
- 404: BodhiApiError;
1774
+ 404: BodhiErrorResponse;
1775
1775
  /**
1776
1776
  * Internal server error
1777
1777
  */
1778
- 500: BodhiApiError;
1778
+ 500: BodhiErrorResponse;
1779
1779
  };
1780
1780
  export type GetAccessRequestStatusError = GetAccessRequestStatusErrors[keyof GetAccessRequestStatusErrors];
1781
1781
  export type GetAccessRequestStatusResponses = {
@@ -1795,19 +1795,19 @@ export type AppsListMcpsErrors = {
1795
1795
  /**
1796
1796
  * Invalid request parameters
1797
1797
  */
1798
- 400: BodhiApiError;
1798
+ 400: BodhiErrorResponse;
1799
1799
  /**
1800
1800
  * Not authenticated
1801
1801
  */
1802
- 401: BodhiApiError;
1802
+ 401: BodhiErrorResponse;
1803
1803
  /**
1804
1804
  * Insufficient permissions
1805
1805
  */
1806
- 403: BodhiApiError;
1806
+ 403: BodhiErrorResponse;
1807
1807
  /**
1808
1808
  * Internal server error
1809
1809
  */
1810
- 500: BodhiApiError;
1810
+ 500: BodhiErrorResponse;
1811
1811
  };
1812
1812
  export type AppsListMcpsError = AppsListMcpsErrors[keyof AppsListMcpsErrors];
1813
1813
  export type AppsListMcpsResponses = {
@@ -1832,15 +1832,15 @@ export type AppsGetMcpErrors = {
1832
1832
  /**
1833
1833
  * Invalid request parameters
1834
1834
  */
1835
- 400: BodhiApiError;
1835
+ 400: BodhiErrorResponse;
1836
1836
  /**
1837
1837
  * Not authenticated
1838
1838
  */
1839
- 401: BodhiApiError;
1839
+ 401: BodhiErrorResponse;
1840
1840
  /**
1841
1841
  * Insufficient permissions
1842
1842
  */
1843
- 403: BodhiApiError;
1843
+ 403: BodhiErrorResponse;
1844
1844
  /**
1845
1845
  * MCP not found
1846
1846
  */
@@ -1848,7 +1848,7 @@ export type AppsGetMcpErrors = {
1848
1848
  /**
1849
1849
  * Internal server error
1850
1850
  */
1851
- 500: BodhiApiError;
1851
+ 500: BodhiErrorResponse;
1852
1852
  };
1853
1853
  export type AppsGetMcpError = AppsGetMcpErrors[keyof AppsGetMcpErrors];
1854
1854
  export type AppsGetMcpResponses = {
@@ -1873,19 +1873,19 @@ export type McpProxyErrors = {
1873
1873
  /**
1874
1874
  * Invalid request parameters
1875
1875
  */
1876
- 400: BodhiApiError;
1876
+ 400: BodhiErrorResponse;
1877
1877
  /**
1878
1878
  * Not authenticated
1879
1879
  */
1880
- 401: BodhiApiError;
1880
+ 401: BodhiErrorResponse;
1881
1881
  /**
1882
1882
  * Insufficient permissions
1883
1883
  */
1884
- 403: BodhiApiError;
1884
+ 403: BodhiErrorResponse;
1885
1885
  /**
1886
1886
  * Internal server error
1887
1887
  */
1888
- 500: BodhiApiError;
1888
+ 500: BodhiErrorResponse;
1889
1889
  };
1890
1890
  export type McpProxyError = McpProxyErrors[keyof McpProxyErrors];
1891
1891
  export type McpProxyResponses = {
@@ -1907,23 +1907,23 @@ export type CreateAccessRequestErrors = {
1907
1907
  /**
1908
1908
  * Invalid request parameters
1909
1909
  */
1910
- 400: BodhiApiError;
1910
+ 400: BodhiErrorResponse;
1911
1911
  /**
1912
1912
  * Not authenticated
1913
1913
  */
1914
- 401: BodhiApiError;
1914
+ 401: BodhiErrorResponse;
1915
1915
  /**
1916
1916
  * Insufficient permissions
1917
1917
  */
1918
- 403: BodhiApiError;
1918
+ 403: BodhiErrorResponse;
1919
1919
  /**
1920
1920
  * App client not found
1921
1921
  */
1922
- 404: BodhiApiError;
1922
+ 404: BodhiErrorResponse;
1923
1923
  /**
1924
1924
  * Internal server error
1925
1925
  */
1926
- 500: BodhiApiError;
1926
+ 500: BodhiErrorResponse;
1927
1927
  };
1928
1928
  export type CreateAccessRequestError = CreateAccessRequestErrors[keyof CreateAccessRequestErrors];
1929
1929
  export type CreateAccessRequestResponses = {
@@ -1946,23 +1946,23 @@ export type CompleteOAuthFlowErrors = {
1946
1946
  /**
1947
1947
  * Invalid request parameters
1948
1948
  */
1949
- 400: BodhiApiError;
1949
+ 400: BodhiErrorResponse;
1950
1950
  /**
1951
1951
  * Not authenticated
1952
1952
  */
1953
- 401: BodhiApiError;
1953
+ 401: BodhiErrorResponse;
1954
1954
  /**
1955
1955
  * Insufficient permissions
1956
1956
  */
1957
- 403: BodhiApiError;
1957
+ 403: BodhiErrorResponse;
1958
1958
  /**
1959
1959
  * OAuth error, invalid request parameters, or state mismatch
1960
1960
  */
1961
- 422: BodhiApiError;
1961
+ 422: BodhiErrorResponse;
1962
1962
  /**
1963
1963
  * Internal server error
1964
1964
  */
1965
- 500: BodhiApiError;
1965
+ 500: BodhiErrorResponse;
1966
1966
  };
1967
1967
  export type CompleteOAuthFlowError = CompleteOAuthFlowErrors[keyof CompleteOAuthFlowErrors];
1968
1968
  export type CompleteOAuthFlowResponses = {
@@ -1985,19 +1985,19 @@ export type CompleteDashboardOAuthFlowErrors = {
1985
1985
  /**
1986
1986
  * Invalid request parameters
1987
1987
  */
1988
- 400: BodhiApiError;
1988
+ 400: BodhiErrorResponse;
1989
1989
  /**
1990
1990
  * Not authenticated
1991
1991
  */
1992
- 401: BodhiApiError;
1992
+ 401: BodhiErrorResponse;
1993
1993
  /**
1994
1994
  * Insufficient permissions
1995
1995
  */
1996
- 403: BodhiApiError;
1996
+ 403: BodhiErrorResponse;
1997
1997
  /**
1998
1998
  * Internal server error
1999
1999
  */
2000
- 500: BodhiApiError;
2000
+ 500: BodhiErrorResponse;
2001
2001
  };
2002
2002
  export type CompleteDashboardOAuthFlowError = CompleteDashboardOAuthFlowErrors[keyof CompleteDashboardOAuthFlowErrors];
2003
2003
  export type CompleteDashboardOAuthFlowResponses = {
@@ -2017,19 +2017,19 @@ export type InitiateDashboardOAuthFlowErrors = {
2017
2017
  /**
2018
2018
  * Invalid request parameters
2019
2019
  */
2020
- 400: BodhiApiError;
2020
+ 400: BodhiErrorResponse;
2021
2021
  /**
2022
2022
  * Not authenticated
2023
2023
  */
2024
- 401: BodhiApiError;
2024
+ 401: BodhiErrorResponse;
2025
2025
  /**
2026
2026
  * Insufficient permissions
2027
2027
  */
2028
- 403: BodhiApiError;
2028
+ 403: BodhiErrorResponse;
2029
2029
  /**
2030
2030
  * Internal server error
2031
2031
  */
2032
- 500: BodhiApiError;
2032
+ 500: BodhiErrorResponse;
2033
2033
  };
2034
2034
  export type InitiateDashboardOAuthFlowError = InitiateDashboardOAuthFlowErrors[keyof InitiateDashboardOAuthFlowErrors];
2035
2035
  export type InitiateDashboardOAuthFlowResponses = {
@@ -2056,19 +2056,19 @@ export type InitiateOAuthFlowErrors = {
2056
2056
  /**
2057
2057
  * Invalid request parameters
2058
2058
  */
2059
- 400: BodhiApiError;
2059
+ 400: BodhiErrorResponse;
2060
2060
  /**
2061
2061
  * Not authenticated
2062
2062
  */
2063
- 401: BodhiApiError;
2063
+ 401: BodhiErrorResponse;
2064
2064
  /**
2065
2065
  * Insufficient permissions
2066
2066
  */
2067
- 403: BodhiApiError;
2067
+ 403: BodhiErrorResponse;
2068
2068
  /**
2069
2069
  * Internal server error
2070
2070
  */
2071
- 500: BodhiApiError;
2071
+ 500: BodhiErrorResponse;
2072
2072
  };
2073
2073
  export type InitiateOAuthFlowError = InitiateOAuthFlowErrors[keyof InitiateOAuthFlowErrors];
2074
2074
  export type InitiateOAuthFlowResponses = {
@@ -2092,11 +2092,11 @@ export type GetAppInfoErrors = {
2092
2092
  /**
2093
2093
  * Invalid request parameters
2094
2094
  */
2095
- 400: BodhiApiError;
2095
+ 400: BodhiErrorResponse;
2096
2096
  /**
2097
2097
  * Internal server error
2098
2098
  */
2099
- 500: BodhiApiError;
2099
+ 500: BodhiErrorResponse;
2100
2100
  };
2101
2101
  export type GetAppInfoError = GetAppInfoErrors[keyof GetAppInfoErrors];
2102
2102
  export type GetAppInfoResponses = {
@@ -2116,19 +2116,19 @@ export type LogoutUserErrors = {
2116
2116
  /**
2117
2117
  * Invalid request parameters
2118
2118
  */
2119
- 400: BodhiApiError;
2119
+ 400: BodhiErrorResponse;
2120
2120
  /**
2121
2121
  * Not authenticated
2122
2122
  */
2123
- 401: BodhiApiError;
2123
+ 401: BodhiErrorResponse;
2124
2124
  /**
2125
2125
  * Insufficient permissions
2126
2126
  */
2127
- 403: BodhiApiError;
2127
+ 403: BodhiErrorResponse;
2128
2128
  /**
2129
2129
  * Internal server error
2130
2130
  */
2131
- 500: BodhiApiError;
2131
+ 500: BodhiErrorResponse;
2132
2132
  };
2133
2133
  export type LogoutUserError = LogoutUserErrors[keyof LogoutUserErrors];
2134
2134
  export type LogoutUserResponses = {
@@ -2148,19 +2148,19 @@ export type ListMcpsErrors = {
2148
2148
  /**
2149
2149
  * Invalid request parameters
2150
2150
  */
2151
- 400: BodhiApiError;
2151
+ 400: BodhiErrorResponse;
2152
2152
  /**
2153
2153
  * Not authenticated
2154
2154
  */
2155
- 401: BodhiApiError;
2155
+ 401: BodhiErrorResponse;
2156
2156
  /**
2157
2157
  * Insufficient permissions
2158
2158
  */
2159
- 403: BodhiApiError;
2159
+ 403: BodhiErrorResponse;
2160
2160
  /**
2161
2161
  * Internal server error
2162
2162
  */
2163
- 500: BodhiApiError;
2163
+ 500: BodhiErrorResponse;
2164
2164
  };
2165
2165
  export type ListMcpsError = ListMcpsErrors[keyof ListMcpsErrors];
2166
2166
  export type ListMcpsResponses = {
@@ -2180,19 +2180,19 @@ export type CreateMcpErrors = {
2180
2180
  /**
2181
2181
  * Invalid request parameters
2182
2182
  */
2183
- 400: BodhiApiError;
2183
+ 400: BodhiErrorResponse;
2184
2184
  /**
2185
2185
  * Not authenticated
2186
2186
  */
2187
- 401: BodhiApiError;
2187
+ 401: BodhiErrorResponse;
2188
2188
  /**
2189
2189
  * Insufficient permissions
2190
2190
  */
2191
- 403: BodhiApiError;
2191
+ 403: BodhiErrorResponse;
2192
2192
  /**
2193
2193
  * Internal server error
2194
2194
  */
2195
- 500: BodhiApiError;
2195
+ 500: BodhiErrorResponse;
2196
2196
  };
2197
2197
  export type CreateMcpError = CreateMcpErrors[keyof CreateMcpErrors];
2198
2198
  export type CreateMcpResponses = {
@@ -2214,19 +2214,19 @@ export type ListMcpAuthConfigsErrors = {
2214
2214
  /**
2215
2215
  * Invalid request parameters
2216
2216
  */
2217
- 400: BodhiApiError;
2217
+ 400: BodhiErrorResponse;
2218
2218
  /**
2219
2219
  * Not authenticated
2220
2220
  */
2221
- 401: BodhiApiError;
2221
+ 401: BodhiErrorResponse;
2222
2222
  /**
2223
2223
  * Insufficient permissions
2224
2224
  */
2225
- 403: BodhiApiError;
2225
+ 403: BodhiErrorResponse;
2226
2226
  /**
2227
2227
  * Internal server error
2228
2228
  */
2229
- 500: BodhiApiError;
2229
+ 500: BodhiErrorResponse;
2230
2230
  };
2231
2231
  export type ListMcpAuthConfigsError = ListMcpAuthConfigsErrors[keyof ListMcpAuthConfigsErrors];
2232
2232
  export type ListMcpAuthConfigsResponses = {
@@ -2246,19 +2246,19 @@ export type CreateMcpAuthConfigErrors = {
2246
2246
  /**
2247
2247
  * Invalid request parameters
2248
2248
  */
2249
- 400: BodhiApiError;
2249
+ 400: BodhiErrorResponse;
2250
2250
  /**
2251
2251
  * Not authenticated
2252
2252
  */
2253
- 401: BodhiApiError;
2253
+ 401: BodhiErrorResponse;
2254
2254
  /**
2255
2255
  * Insufficient permissions
2256
2256
  */
2257
- 403: BodhiApiError;
2257
+ 403: BodhiErrorResponse;
2258
2258
  /**
2259
2259
  * Internal server error
2260
2260
  */
2261
- 500: BodhiApiError;
2261
+ 500: BodhiErrorResponse;
2262
2262
  };
2263
2263
  export type CreateMcpAuthConfigError = CreateMcpAuthConfigErrors[keyof CreateMcpAuthConfigErrors];
2264
2264
  export type CreateMcpAuthConfigResponses = {
@@ -2283,15 +2283,15 @@ export type DeleteMcpAuthConfigErrors = {
2283
2283
  /**
2284
2284
  * Invalid request parameters
2285
2285
  */
2286
- 400: BodhiApiError;
2286
+ 400: BodhiErrorResponse;
2287
2287
  /**
2288
2288
  * Not authenticated
2289
2289
  */
2290
- 401: BodhiApiError;
2290
+ 401: BodhiErrorResponse;
2291
2291
  /**
2292
2292
  * Insufficient permissions
2293
2293
  */
2294
- 403: BodhiApiError;
2294
+ 403: BodhiErrorResponse;
2295
2295
  /**
2296
2296
  * Not found
2297
2297
  */
@@ -2299,7 +2299,7 @@ export type DeleteMcpAuthConfigErrors = {
2299
2299
  /**
2300
2300
  * Internal server error
2301
2301
  */
2302
- 500: BodhiApiError;
2302
+ 500: BodhiErrorResponse;
2303
2303
  };
2304
2304
  export type DeleteMcpAuthConfigError = DeleteMcpAuthConfigErrors[keyof DeleteMcpAuthConfigErrors];
2305
2305
  export type DeleteMcpAuthConfigResponses = {
@@ -2324,15 +2324,15 @@ export type GetMcpAuthConfigErrors = {
2324
2324
  /**
2325
2325
  * Invalid request parameters
2326
2326
  */
2327
- 400: BodhiApiError;
2327
+ 400: BodhiErrorResponse;
2328
2328
  /**
2329
2329
  * Not authenticated
2330
2330
  */
2331
- 401: BodhiApiError;
2331
+ 401: BodhiErrorResponse;
2332
2332
  /**
2333
2333
  * Insufficient permissions
2334
2334
  */
2335
- 403: BodhiApiError;
2335
+ 403: BodhiErrorResponse;
2336
2336
  /**
2337
2337
  * Not found
2338
2338
  */
@@ -2340,7 +2340,7 @@ export type GetMcpAuthConfigErrors = {
2340
2340
  /**
2341
2341
  * Internal server error
2342
2342
  */
2343
- 500: BodhiApiError;
2343
+ 500: BodhiErrorResponse;
2344
2344
  };
2345
2345
  export type GetMcpAuthConfigError = GetMcpAuthConfigErrors[keyof GetMcpAuthConfigErrors];
2346
2346
  export type GetMcpAuthConfigResponses = {
@@ -2365,15 +2365,15 @@ export type McpOAuthLoginErrors = {
2365
2365
  /**
2366
2366
  * Invalid request parameters
2367
2367
  */
2368
- 400: BodhiApiError;
2368
+ 400: BodhiErrorResponse;
2369
2369
  /**
2370
2370
  * Not authenticated
2371
2371
  */
2372
- 401: BodhiApiError;
2372
+ 401: BodhiErrorResponse;
2373
2373
  /**
2374
2374
  * Insufficient permissions
2375
2375
  */
2376
- 403: BodhiApiError;
2376
+ 403: BodhiErrorResponse;
2377
2377
  /**
2378
2378
  * Auth config not found
2379
2379
  */
@@ -2381,7 +2381,7 @@ export type McpOAuthLoginErrors = {
2381
2381
  /**
2382
2382
  * Internal server error
2383
2383
  */
2384
- 500: BodhiApiError;
2384
+ 500: BodhiErrorResponse;
2385
2385
  };
2386
2386
  export type McpOAuthLoginError = McpOAuthLoginErrors[keyof McpOAuthLoginErrors];
2387
2387
  export type McpOAuthLoginResponses = {
@@ -2406,15 +2406,15 @@ export type McpOAuthTokenExchangeErrors = {
2406
2406
  /**
2407
2407
  * Invalid request parameters
2408
2408
  */
2409
- 400: BodhiApiError;
2409
+ 400: BodhiErrorResponse;
2410
2410
  /**
2411
2411
  * Not authenticated
2412
2412
  */
2413
- 401: BodhiApiError;
2413
+ 401: BodhiErrorResponse;
2414
2414
  /**
2415
2415
  * Insufficient permissions
2416
2416
  */
2417
- 403: BodhiApiError;
2417
+ 403: BodhiErrorResponse;
2418
2418
  /**
2419
2419
  * Auth config not found
2420
2420
  */
@@ -2422,7 +2422,7 @@ export type McpOAuthTokenExchangeErrors = {
2422
2422
  /**
2423
2423
  * Internal server error
2424
2424
  */
2425
- 500: BodhiApiError;
2425
+ 500: BodhiErrorResponse;
2426
2426
  };
2427
2427
  export type McpOAuthTokenExchangeError = McpOAuthTokenExchangeErrors[keyof McpOAuthTokenExchangeErrors];
2428
2428
  export type McpOAuthTokenExchangeResponses = {
@@ -2447,15 +2447,15 @@ export type DeleteMcpOAuthTokenErrors = {
2447
2447
  /**
2448
2448
  * Invalid request parameters
2449
2449
  */
2450
- 400: BodhiApiError;
2450
+ 400: BodhiErrorResponse;
2451
2451
  /**
2452
2452
  * Not authenticated
2453
2453
  */
2454
- 401: BodhiApiError;
2454
+ 401: BodhiErrorResponse;
2455
2455
  /**
2456
2456
  * Insufficient permissions
2457
2457
  */
2458
- 403: BodhiApiError;
2458
+ 403: BodhiErrorResponse;
2459
2459
  /**
2460
2460
  * Not found
2461
2461
  */
@@ -2463,7 +2463,7 @@ export type DeleteMcpOAuthTokenErrors = {
2463
2463
  /**
2464
2464
  * Internal server error
2465
2465
  */
2466
- 500: BodhiApiError;
2466
+ 500: BodhiErrorResponse;
2467
2467
  };
2468
2468
  export type DeleteMcpOAuthTokenError = DeleteMcpOAuthTokenErrors[keyof DeleteMcpOAuthTokenErrors];
2469
2469
  export type DeleteMcpOAuthTokenResponses = {
@@ -2488,15 +2488,15 @@ export type GetMcpOAuthTokenErrors = {
2488
2488
  /**
2489
2489
  * Invalid request parameters
2490
2490
  */
2491
- 400: BodhiApiError;
2491
+ 400: BodhiErrorResponse;
2492
2492
  /**
2493
2493
  * Not authenticated
2494
2494
  */
2495
- 401: BodhiApiError;
2495
+ 401: BodhiErrorResponse;
2496
2496
  /**
2497
2497
  * Insufficient permissions
2498
2498
  */
2499
- 403: BodhiApiError;
2499
+ 403: BodhiErrorResponse;
2500
2500
  /**
2501
2501
  * Not found
2502
2502
  */
@@ -2504,7 +2504,7 @@ export type GetMcpOAuthTokenErrors = {
2504
2504
  /**
2505
2505
  * Internal server error
2506
2506
  */
2507
- 500: BodhiApiError;
2507
+ 500: BodhiErrorResponse;
2508
2508
  };
2509
2509
  export type GetMcpOAuthTokenError = GetMcpOAuthTokenErrors[keyof GetMcpOAuthTokenErrors];
2510
2510
  export type GetMcpOAuthTokenResponses = {
@@ -2524,19 +2524,19 @@ export type McpOAuthDiscoverAsErrors = {
2524
2524
  /**
2525
2525
  * Invalid request parameters
2526
2526
  */
2527
- 400: BodhiApiError;
2527
+ 400: BodhiErrorResponse;
2528
2528
  /**
2529
2529
  * Not authenticated
2530
2530
  */
2531
- 401: BodhiApiError;
2531
+ 401: BodhiErrorResponse;
2532
2532
  /**
2533
2533
  * Insufficient permissions
2534
2534
  */
2535
- 403: BodhiApiError;
2535
+ 403: BodhiErrorResponse;
2536
2536
  /**
2537
2537
  * Internal server error
2538
2538
  */
2539
- 500: BodhiApiError;
2539
+ 500: BodhiErrorResponse;
2540
2540
  };
2541
2541
  export type McpOAuthDiscoverAsError = McpOAuthDiscoverAsErrors[keyof McpOAuthDiscoverAsErrors];
2542
2542
  export type McpOAuthDiscoverAsResponses = {
@@ -2556,19 +2556,19 @@ export type McpOAuthDiscoverMcpErrors = {
2556
2556
  /**
2557
2557
  * Invalid request parameters
2558
2558
  */
2559
- 400: BodhiApiError;
2559
+ 400: BodhiErrorResponse;
2560
2560
  /**
2561
2561
  * Not authenticated
2562
2562
  */
2563
- 401: BodhiApiError;
2563
+ 401: BodhiErrorResponse;
2564
2564
  /**
2565
2565
  * Insufficient permissions
2566
2566
  */
2567
- 403: BodhiApiError;
2567
+ 403: BodhiErrorResponse;
2568
2568
  /**
2569
2569
  * Internal server error
2570
2570
  */
2571
- 500: BodhiApiError;
2571
+ 500: BodhiErrorResponse;
2572
2572
  };
2573
2573
  export type McpOAuthDiscoverMcpError = McpOAuthDiscoverMcpErrors[keyof McpOAuthDiscoverMcpErrors];
2574
2574
  export type McpOAuthDiscoverMcpResponses = {
@@ -2588,19 +2588,19 @@ export type McpOAuthDynamicRegisterStandaloneErrors = {
2588
2588
  /**
2589
2589
  * Invalid request parameters
2590
2590
  */
2591
- 400: BodhiApiError;
2591
+ 400: BodhiErrorResponse;
2592
2592
  /**
2593
2593
  * Not authenticated
2594
2594
  */
2595
- 401: BodhiApiError;
2595
+ 401: BodhiErrorResponse;
2596
2596
  /**
2597
2597
  * Insufficient permissions
2598
2598
  */
2599
- 403: BodhiApiError;
2599
+ 403: BodhiErrorResponse;
2600
2600
  /**
2601
2601
  * Internal server error
2602
2602
  */
2603
- 500: BodhiApiError;
2603
+ 500: BodhiErrorResponse;
2604
2604
  };
2605
2605
  export type McpOAuthDynamicRegisterStandaloneError = McpOAuthDynamicRegisterStandaloneErrors[keyof McpOAuthDynamicRegisterStandaloneErrors];
2606
2606
  export type McpOAuthDynamicRegisterStandaloneResponses = {
@@ -2625,19 +2625,19 @@ export type ListMcpServersErrors = {
2625
2625
  /**
2626
2626
  * Invalid request parameters
2627
2627
  */
2628
- 400: BodhiApiError;
2628
+ 400: BodhiErrorResponse;
2629
2629
  /**
2630
2630
  * Not authenticated
2631
2631
  */
2632
- 401: BodhiApiError;
2632
+ 401: BodhiErrorResponse;
2633
2633
  /**
2634
2634
  * Insufficient permissions
2635
2635
  */
2636
- 403: BodhiApiError;
2636
+ 403: BodhiErrorResponse;
2637
2637
  /**
2638
2638
  * Internal server error
2639
2639
  */
2640
- 500: BodhiApiError;
2640
+ 500: BodhiErrorResponse;
2641
2641
  };
2642
2642
  export type ListMcpServersError = ListMcpServersErrors[keyof ListMcpServersErrors];
2643
2643
  export type ListMcpServersResponses = {
@@ -2657,15 +2657,15 @@ export type CreateMcpServerErrors = {
2657
2657
  /**
2658
2658
  * Invalid request parameters
2659
2659
  */
2660
- 400: BodhiApiError;
2660
+ 400: BodhiErrorResponse;
2661
2661
  /**
2662
2662
  * Not authenticated
2663
2663
  */
2664
- 401: BodhiApiError;
2664
+ 401: BodhiErrorResponse;
2665
2665
  /**
2666
2666
  * Insufficient permissions
2667
2667
  */
2668
- 403: BodhiApiError;
2668
+ 403: BodhiErrorResponse;
2669
2669
  /**
2670
2670
  * URL already exists
2671
2671
  */
@@ -2673,7 +2673,7 @@ export type CreateMcpServerErrors = {
2673
2673
  /**
2674
2674
  * Internal server error
2675
2675
  */
2676
- 500: BodhiApiError;
2676
+ 500: BodhiErrorResponse;
2677
2677
  };
2678
2678
  export type CreateMcpServerError = CreateMcpServerErrors[keyof CreateMcpServerErrors];
2679
2679
  export type CreateMcpServerResponses = {
@@ -2698,15 +2698,15 @@ export type GetMcpServerErrors = {
2698
2698
  /**
2699
2699
  * Invalid request parameters
2700
2700
  */
2701
- 400: BodhiApiError;
2701
+ 400: BodhiErrorResponse;
2702
2702
  /**
2703
2703
  * Not authenticated
2704
2704
  */
2705
- 401: BodhiApiError;
2705
+ 401: BodhiErrorResponse;
2706
2706
  /**
2707
2707
  * Insufficient permissions
2708
2708
  */
2709
- 403: BodhiApiError;
2709
+ 403: BodhiErrorResponse;
2710
2710
  /**
2711
2711
  * Not found
2712
2712
  */
@@ -2714,7 +2714,7 @@ export type GetMcpServerErrors = {
2714
2714
  /**
2715
2715
  * Internal server error
2716
2716
  */
2717
- 500: BodhiApiError;
2717
+ 500: BodhiErrorResponse;
2718
2718
  };
2719
2719
  export type GetMcpServerError = GetMcpServerErrors[keyof GetMcpServerErrors];
2720
2720
  export type GetMcpServerResponses = {
@@ -2739,15 +2739,15 @@ export type UpdateMcpServerErrors = {
2739
2739
  /**
2740
2740
  * Invalid request parameters
2741
2741
  */
2742
- 400: BodhiApiError;
2742
+ 400: BodhiErrorResponse;
2743
2743
  /**
2744
2744
  * Not authenticated
2745
2745
  */
2746
- 401: BodhiApiError;
2746
+ 401: BodhiErrorResponse;
2747
2747
  /**
2748
2748
  * Insufficient permissions
2749
2749
  */
2750
- 403: BodhiApiError;
2750
+ 403: BodhiErrorResponse;
2751
2751
  /**
2752
2752
  * Not found
2753
2753
  */
@@ -2759,7 +2759,7 @@ export type UpdateMcpServerErrors = {
2759
2759
  /**
2760
2760
  * Internal server error
2761
2761
  */
2762
- 500: BodhiApiError;
2762
+ 500: BodhiErrorResponse;
2763
2763
  };
2764
2764
  export type UpdateMcpServerError = UpdateMcpServerErrors[keyof UpdateMcpServerErrors];
2765
2765
  export type UpdateMcpServerResponses = {
@@ -2784,15 +2784,15 @@ export type DeleteMcpErrors = {
2784
2784
  /**
2785
2785
  * Invalid request parameters
2786
2786
  */
2787
- 400: BodhiApiError;
2787
+ 400: BodhiErrorResponse;
2788
2788
  /**
2789
2789
  * Not authenticated
2790
2790
  */
2791
- 401: BodhiApiError;
2791
+ 401: BodhiErrorResponse;
2792
2792
  /**
2793
2793
  * Insufficient permissions
2794
2794
  */
2795
- 403: BodhiApiError;
2795
+ 403: BodhiErrorResponse;
2796
2796
  /**
2797
2797
  * MCP not found
2798
2798
  */
@@ -2800,7 +2800,7 @@ export type DeleteMcpErrors = {
2800
2800
  /**
2801
2801
  * Internal server error
2802
2802
  */
2803
- 500: BodhiApiError;
2803
+ 500: BodhiErrorResponse;
2804
2804
  };
2805
2805
  export type DeleteMcpError = DeleteMcpErrors[keyof DeleteMcpErrors];
2806
2806
  export type DeleteMcpResponses = {
@@ -2825,15 +2825,15 @@ export type GetMcpErrors = {
2825
2825
  /**
2826
2826
  * Invalid request parameters
2827
2827
  */
2828
- 400: BodhiApiError;
2828
+ 400: BodhiErrorResponse;
2829
2829
  /**
2830
2830
  * Not authenticated
2831
2831
  */
2832
- 401: BodhiApiError;
2832
+ 401: BodhiErrorResponse;
2833
2833
  /**
2834
2834
  * Insufficient permissions
2835
2835
  */
2836
- 403: BodhiApiError;
2836
+ 403: BodhiErrorResponse;
2837
2837
  /**
2838
2838
  * MCP not found
2839
2839
  */
@@ -2841,7 +2841,7 @@ export type GetMcpErrors = {
2841
2841
  /**
2842
2842
  * Internal server error
2843
2843
  */
2844
- 500: BodhiApiError;
2844
+ 500: BodhiErrorResponse;
2845
2845
  };
2846
2846
  export type GetMcpError = GetMcpErrors[keyof GetMcpErrors];
2847
2847
  export type GetMcpResponses = {
@@ -2866,15 +2866,15 @@ export type UpdateMcpErrors = {
2866
2866
  /**
2867
2867
  * Invalid request parameters
2868
2868
  */
2869
- 400: BodhiApiError;
2869
+ 400: BodhiErrorResponse;
2870
2870
  /**
2871
2871
  * Not authenticated
2872
2872
  */
2873
- 401: BodhiApiError;
2873
+ 401: BodhiErrorResponse;
2874
2874
  /**
2875
2875
  * Insufficient permissions
2876
2876
  */
2877
- 403: BodhiApiError;
2877
+ 403: BodhiErrorResponse;
2878
2878
  /**
2879
2879
  * MCP not found
2880
2880
  */
@@ -2882,7 +2882,7 @@ export type UpdateMcpErrors = {
2882
2882
  /**
2883
2883
  * Internal server error
2884
2884
  */
2885
- 500: BodhiApiError;
2885
+ 500: BodhiErrorResponse;
2886
2886
  };
2887
2887
  export type UpdateMcpError = UpdateMcpErrors[keyof UpdateMcpErrors];
2888
2888
  export type UpdateMcpResponses = {
@@ -2919,19 +2919,19 @@ export type ListAllModelsErrors = {
2919
2919
  /**
2920
2920
  * Invalid request parameters
2921
2921
  */
2922
- 400: BodhiApiError;
2922
+ 400: BodhiErrorResponse;
2923
2923
  /**
2924
2924
  * Not authenticated
2925
2925
  */
2926
- 401: BodhiApiError;
2926
+ 401: BodhiErrorResponse;
2927
2927
  /**
2928
2928
  * Insufficient permissions
2929
2929
  */
2930
- 403: BodhiApiError;
2930
+ 403: BodhiErrorResponse;
2931
2931
  /**
2932
2932
  * Internal server error
2933
2933
  */
2934
- 500: BodhiApiError;
2934
+ 500: BodhiErrorResponse;
2935
2935
  };
2936
2936
  export type ListAllModelsError = ListAllModelsErrors[keyof ListAllModelsErrors];
2937
2937
  export type ListAllModelsResponses = {
@@ -2951,19 +2951,19 @@ export type ModelsAliasCreateErrors = {
2951
2951
  /**
2952
2952
  * Invalid request parameters
2953
2953
  */
2954
- 400: BodhiApiError;
2954
+ 400: BodhiErrorResponse;
2955
2955
  /**
2956
2956
  * Not authenticated
2957
2957
  */
2958
- 401: BodhiApiError;
2958
+ 401: BodhiErrorResponse;
2959
2959
  /**
2960
2960
  * Insufficient permissions
2961
2961
  */
2962
- 403: BodhiApiError;
2962
+ 403: BodhiErrorResponse;
2963
2963
  /**
2964
2964
  * Internal server error
2965
2965
  */
2966
- 500: BodhiApiError;
2966
+ 500: BodhiErrorResponse;
2967
2967
  };
2968
2968
  export type ModelsAliasCreateError = ModelsAliasCreateErrors[keyof ModelsAliasCreateErrors];
2969
2969
  export type ModelsAliasCreateResponses = {
@@ -2988,15 +2988,15 @@ export type ModelsAliasDestroyErrors = {
2988
2988
  /**
2989
2989
  * Invalid request parameters
2990
2990
  */
2991
- 400: BodhiApiError;
2991
+ 400: BodhiErrorResponse;
2992
2992
  /**
2993
2993
  * Not authenticated
2994
2994
  */
2995
- 401: BodhiApiError;
2995
+ 401: BodhiErrorResponse;
2996
2996
  /**
2997
2997
  * Insufficient permissions
2998
2998
  */
2999
- 403: BodhiApiError;
2999
+ 403: BodhiErrorResponse;
3000
3000
  /**
3001
3001
  * Alias not found
3002
3002
  */
@@ -3004,7 +3004,7 @@ export type ModelsAliasDestroyErrors = {
3004
3004
  /**
3005
3005
  * Internal server error
3006
3006
  */
3007
- 500: BodhiApiError;
3007
+ 500: BodhiErrorResponse;
3008
3008
  };
3009
3009
  export type ModelsAliasDestroyError = ModelsAliasDestroyErrors[keyof ModelsAliasDestroyErrors];
3010
3010
  export type ModelsAliasDestroyResponses = {
@@ -3028,19 +3028,19 @@ export type ModelsAliasUpdateErrors = {
3028
3028
  /**
3029
3029
  * Invalid request parameters
3030
3030
  */
3031
- 400: BodhiApiError;
3031
+ 400: BodhiErrorResponse;
3032
3032
  /**
3033
3033
  * Not authenticated
3034
3034
  */
3035
- 401: BodhiApiError;
3035
+ 401: BodhiErrorResponse;
3036
3036
  /**
3037
3037
  * Insufficient permissions
3038
3038
  */
3039
- 403: BodhiApiError;
3039
+ 403: BodhiErrorResponse;
3040
3040
  /**
3041
3041
  * Internal server error
3042
3042
  */
3043
- 500: BodhiApiError;
3043
+ 500: BodhiErrorResponse;
3044
3044
  };
3045
3045
  export type ModelsAliasUpdateError = ModelsAliasUpdateErrors[keyof ModelsAliasUpdateErrors];
3046
3046
  export type ModelsAliasUpdateResponses = {
@@ -3065,15 +3065,15 @@ export type ModelsAliasCopyErrors = {
3065
3065
  /**
3066
3066
  * Invalid request parameters
3067
3067
  */
3068
- 400: BodhiApiError;
3068
+ 400: BodhiErrorResponse;
3069
3069
  /**
3070
3070
  * Not authenticated
3071
3071
  */
3072
- 401: BodhiApiError;
3072
+ 401: BodhiErrorResponse;
3073
3073
  /**
3074
3074
  * Insufficient permissions
3075
3075
  */
3076
- 403: BodhiApiError;
3076
+ 403: BodhiErrorResponse;
3077
3077
  /**
3078
3078
  * Source alias not found
3079
3079
  */
@@ -3081,7 +3081,7 @@ export type ModelsAliasCopyErrors = {
3081
3081
  /**
3082
3082
  * Internal server error
3083
3083
  */
3084
- 500: BodhiApiError;
3084
+ 500: BodhiErrorResponse;
3085
3085
  };
3086
3086
  export type ModelsAliasCopyError = ModelsAliasCopyErrors[keyof ModelsAliasCopyErrors];
3087
3087
  export type ModelsAliasCopyResponses = {
@@ -3101,23 +3101,23 @@ export type CreateApiModelErrors = {
3101
3101
  /**
3102
3102
  * Invalid request parameters
3103
3103
  */
3104
- 400: BodhiApiError;
3104
+ 400: BodhiErrorResponse;
3105
3105
  /**
3106
3106
  * Not authenticated
3107
3107
  */
3108
- 401: BodhiApiError;
3108
+ 401: BodhiErrorResponse;
3109
3109
  /**
3110
3110
  * Insufficient permissions
3111
3111
  */
3112
- 403: BodhiApiError;
3112
+ 403: BodhiErrorResponse;
3113
3113
  /**
3114
3114
  * Alias already exists
3115
3115
  */
3116
- 409: BodhiApiError;
3116
+ 409: BodhiErrorResponse;
3117
3117
  /**
3118
3118
  * Internal server error
3119
3119
  */
3120
- 500: BodhiApiError;
3120
+ 500: BodhiErrorResponse;
3121
3121
  };
3122
3122
  export type CreateApiModelError = CreateApiModelErrors[keyof CreateApiModelErrors];
3123
3123
  export type CreateApiModelResponses = {
@@ -3137,19 +3137,19 @@ export type FetchApiModelsErrors = {
3137
3137
  /**
3138
3138
  * Invalid request parameters
3139
3139
  */
3140
- 400: BodhiApiError;
3140
+ 400: BodhiErrorResponse;
3141
3141
  /**
3142
3142
  * Not authenticated
3143
3143
  */
3144
- 401: BodhiApiError;
3144
+ 401: BodhiErrorResponse;
3145
3145
  /**
3146
3146
  * Insufficient permissions
3147
3147
  */
3148
- 403: BodhiApiError;
3148
+ 403: BodhiErrorResponse;
3149
3149
  /**
3150
3150
  * Internal server error
3151
3151
  */
3152
- 500: BodhiApiError;
3152
+ 500: BodhiErrorResponse;
3153
3153
  };
3154
3154
  export type FetchApiModelsError = FetchApiModelsErrors[keyof FetchApiModelsErrors];
3155
3155
  export type FetchApiModelsResponses = {
@@ -3169,19 +3169,19 @@ export type GetApiFormatsErrors = {
3169
3169
  /**
3170
3170
  * Invalid request parameters
3171
3171
  */
3172
- 400: BodhiApiError;
3172
+ 400: BodhiErrorResponse;
3173
3173
  /**
3174
3174
  * Not authenticated
3175
3175
  */
3176
- 401: BodhiApiError;
3176
+ 401: BodhiErrorResponse;
3177
3177
  /**
3178
3178
  * Insufficient permissions
3179
3179
  */
3180
- 403: BodhiApiError;
3180
+ 403: BodhiErrorResponse;
3181
3181
  /**
3182
3182
  * Internal server error
3183
3183
  */
3184
- 500: BodhiApiError;
3184
+ 500: BodhiErrorResponse;
3185
3185
  };
3186
3186
  export type GetApiFormatsError = GetApiFormatsErrors[keyof GetApiFormatsErrors];
3187
3187
  export type GetApiFormatsResponses = {
@@ -3201,19 +3201,19 @@ export type TestApiModelErrors = {
3201
3201
  /**
3202
3202
  * Invalid request parameters
3203
3203
  */
3204
- 400: BodhiApiError;
3204
+ 400: BodhiErrorResponse;
3205
3205
  /**
3206
3206
  * Not authenticated
3207
3207
  */
3208
- 401: BodhiApiError;
3208
+ 401: BodhiErrorResponse;
3209
3209
  /**
3210
3210
  * Insufficient permissions
3211
3211
  */
3212
- 403: BodhiApiError;
3212
+ 403: BodhiErrorResponse;
3213
3213
  /**
3214
3214
  * Internal server error
3215
3215
  */
3216
- 500: BodhiApiError;
3216
+ 500: BodhiErrorResponse;
3217
3217
  };
3218
3218
  export type TestApiModelError = TestApiModelErrors[keyof TestApiModelErrors];
3219
3219
  export type TestApiModelResponses = {
@@ -3238,23 +3238,23 @@ export type DeleteApiModelErrors = {
3238
3238
  /**
3239
3239
  * Invalid request parameters
3240
3240
  */
3241
- 400: BodhiApiError;
3241
+ 400: BodhiErrorResponse;
3242
3242
  /**
3243
3243
  * Not authenticated
3244
3244
  */
3245
- 401: BodhiApiError;
3245
+ 401: BodhiErrorResponse;
3246
3246
  /**
3247
3247
  * Insufficient permissions
3248
3248
  */
3249
- 403: BodhiApiError;
3249
+ 403: BodhiErrorResponse;
3250
3250
  /**
3251
3251
  * API model not found
3252
3252
  */
3253
- 404: BodhiApiError;
3253
+ 404: BodhiErrorResponse;
3254
3254
  /**
3255
3255
  * Internal server error
3256
3256
  */
3257
- 500: BodhiApiError;
3257
+ 500: BodhiErrorResponse;
3258
3258
  };
3259
3259
  export type DeleteApiModelError = DeleteApiModelErrors[keyof DeleteApiModelErrors];
3260
3260
  export type DeleteApiModelResponses = {
@@ -3279,23 +3279,23 @@ export type GetApiModelErrors = {
3279
3279
  /**
3280
3280
  * Invalid request parameters
3281
3281
  */
3282
- 400: BodhiApiError;
3282
+ 400: BodhiErrorResponse;
3283
3283
  /**
3284
3284
  * Not authenticated
3285
3285
  */
3286
- 401: BodhiApiError;
3286
+ 401: BodhiErrorResponse;
3287
3287
  /**
3288
3288
  * Insufficient permissions
3289
3289
  */
3290
- 403: BodhiApiError;
3290
+ 403: BodhiErrorResponse;
3291
3291
  /**
3292
3292
  * API model with specified ID not found
3293
3293
  */
3294
- 404: BodhiApiError;
3294
+ 404: BodhiErrorResponse;
3295
3295
  /**
3296
3296
  * Internal server error
3297
3297
  */
3298
- 500: BodhiApiError;
3298
+ 500: BodhiErrorResponse;
3299
3299
  };
3300
3300
  export type GetApiModelError = GetApiModelErrors[keyof GetApiModelErrors];
3301
3301
  export type GetApiModelResponses = {
@@ -3320,23 +3320,23 @@ export type UpdateApiModelErrors = {
3320
3320
  /**
3321
3321
  * Invalid request parameters
3322
3322
  */
3323
- 400: BodhiApiError;
3323
+ 400: BodhiErrorResponse;
3324
3324
  /**
3325
3325
  * Not authenticated
3326
3326
  */
3327
- 401: BodhiApiError;
3327
+ 401: BodhiErrorResponse;
3328
3328
  /**
3329
3329
  * Insufficient permissions
3330
3330
  */
3331
- 403: BodhiApiError;
3331
+ 403: BodhiErrorResponse;
3332
3332
  /**
3333
3333
  * API model not found
3334
3334
  */
3335
- 404: BodhiApiError;
3335
+ 404: BodhiErrorResponse;
3336
3336
  /**
3337
3337
  * Internal server error
3338
3338
  */
3339
- 500: BodhiApiError;
3339
+ 500: BodhiErrorResponse;
3340
3340
  };
3341
3341
  export type UpdateApiModelError = UpdateApiModelErrors[keyof UpdateApiModelErrors];
3342
3342
  export type UpdateApiModelResponses = {
@@ -3361,15 +3361,15 @@ export type SyncModelsErrors = {
3361
3361
  /**
3362
3362
  * Invalid request parameters
3363
3363
  */
3364
- 400: BodhiApiError;
3364
+ 400: BodhiErrorResponse;
3365
3365
  /**
3366
3366
  * Not authenticated
3367
3367
  */
3368
- 401: BodhiApiError;
3368
+ 401: BodhiErrorResponse;
3369
3369
  /**
3370
3370
  * Insufficient permissions
3371
3371
  */
3372
- 403: BodhiApiError;
3372
+ 403: BodhiErrorResponse;
3373
3373
  /**
3374
3374
  * API model not found
3375
3375
  */
@@ -3377,7 +3377,7 @@ export type SyncModelsErrors = {
3377
3377
  /**
3378
3378
  * Internal server error
3379
3379
  */
3380
- 500: BodhiApiError;
3380
+ 500: BodhiErrorResponse;
3381
3381
  };
3382
3382
  export type SyncModelsError = SyncModelsErrors[keyof SyncModelsErrors];
3383
3383
  export type SyncModelsResponses = {
@@ -3414,19 +3414,19 @@ export type ListModelFilesErrors = {
3414
3414
  /**
3415
3415
  * Invalid request parameters
3416
3416
  */
3417
- 400: BodhiApiError;
3417
+ 400: BodhiErrorResponse;
3418
3418
  /**
3419
3419
  * Not authenticated
3420
3420
  */
3421
- 401: BodhiApiError;
3421
+ 401: BodhiErrorResponse;
3422
3422
  /**
3423
3423
  * Insufficient permissions
3424
3424
  */
3425
- 403: BodhiApiError;
3425
+ 403: BodhiErrorResponse;
3426
3426
  /**
3427
3427
  * Internal server error
3428
3428
  */
3429
- 500: BodhiApiError;
3429
+ 500: BodhiErrorResponse;
3430
3430
  };
3431
3431
  export type ListModelFilesError = ListModelFilesErrors[keyof ListModelFilesErrors];
3432
3432
  export type ListModelFilesResponses = {
@@ -3463,19 +3463,19 @@ export type ListDownloadsErrors = {
3463
3463
  /**
3464
3464
  * Invalid request parameters
3465
3465
  */
3466
- 400: BodhiApiError;
3466
+ 400: BodhiErrorResponse;
3467
3467
  /**
3468
3468
  * Not authenticated
3469
3469
  */
3470
- 401: BodhiApiError;
3470
+ 401: BodhiErrorResponse;
3471
3471
  /**
3472
3472
  * Insufficient permissions
3473
3473
  */
3474
- 403: BodhiApiError;
3474
+ 403: BodhiErrorResponse;
3475
3475
  /**
3476
3476
  * Internal server error
3477
3477
  */
3478
- 500: BodhiApiError;
3478
+ 500: BodhiErrorResponse;
3479
3479
  };
3480
3480
  export type ListDownloadsError = ListDownloadsErrors[keyof ListDownloadsErrors];
3481
3481
  export type ListDownloadsResponses = {
@@ -3498,19 +3498,19 @@ export type PullModelFileErrors = {
3498
3498
  /**
3499
3499
  * Invalid request parameters
3500
3500
  */
3501
- 400: BodhiApiError;
3501
+ 400: BodhiErrorResponse;
3502
3502
  /**
3503
3503
  * Not authenticated
3504
3504
  */
3505
- 401: BodhiApiError;
3505
+ 401: BodhiErrorResponse;
3506
3506
  /**
3507
3507
  * Insufficient permissions
3508
3508
  */
3509
- 403: BodhiApiError;
3509
+ 403: BodhiErrorResponse;
3510
3510
  /**
3511
3511
  * Internal server error
3512
3512
  */
3513
- 500: BodhiApiError;
3513
+ 500: BodhiErrorResponse;
3514
3514
  };
3515
3515
  export type PullModelFileError = PullModelFileErrors[keyof PullModelFileErrors];
3516
3516
  export type PullModelFileResponses = {
@@ -3539,23 +3539,23 @@ export type GetDownloadStatusErrors = {
3539
3539
  /**
3540
3540
  * Invalid request parameters
3541
3541
  */
3542
- 400: BodhiApiError;
3542
+ 400: BodhiErrorResponse;
3543
3543
  /**
3544
3544
  * Not authenticated
3545
3545
  */
3546
- 401: BodhiApiError;
3546
+ 401: BodhiErrorResponse;
3547
3547
  /**
3548
3548
  * Insufficient permissions
3549
3549
  */
3550
- 403: BodhiApiError;
3550
+ 403: BodhiErrorResponse;
3551
3551
  /**
3552
3552
  * Download request not found
3553
3553
  */
3554
- 404: BodhiApiError;
3554
+ 404: BodhiErrorResponse;
3555
3555
  /**
3556
3556
  * Internal server error
3557
3557
  */
3558
- 500: BodhiApiError;
3558
+ 500: BodhiErrorResponse;
3559
3559
  };
3560
3560
  export type GetDownloadStatusError = GetDownloadStatusErrors[keyof GetDownloadStatusErrors];
3561
3561
  export type GetDownloadStatusResponses = {
@@ -3578,15 +3578,15 @@ export type RefreshModelMetadataErrors = {
3578
3578
  /**
3579
3579
  * Invalid request parameters
3580
3580
  */
3581
- 400: BodhiApiError;
3581
+ 400: BodhiErrorResponse;
3582
3582
  /**
3583
3583
  * Not authenticated
3584
3584
  */
3585
- 401: BodhiApiError;
3585
+ 401: BodhiErrorResponse;
3586
3586
  /**
3587
3587
  * Insufficient permissions
3588
3588
  */
3589
- 403: BodhiApiError;
3589
+ 403: BodhiErrorResponse;
3590
3590
  /**
3591
3591
  * Model alias not found for specified repo/filename/snapshot
3592
3592
  */
@@ -3594,7 +3594,7 @@ export type RefreshModelMetadataErrors = {
3594
3594
  /**
3595
3595
  * Internal server error
3596
3596
  */
3597
- 500: BodhiApiError;
3597
+ 500: BodhiErrorResponse;
3598
3598
  };
3599
3599
  export type RefreshModelMetadataError = RefreshModelMetadataErrors[keyof RefreshModelMetadataErrors];
3600
3600
  export type RefreshModelMetadataResponses = {
@@ -3623,23 +3623,23 @@ export type GetAliasErrors = {
3623
3623
  /**
3624
3624
  * Invalid request parameters
3625
3625
  */
3626
- 400: BodhiApiError;
3626
+ 400: BodhiErrorResponse;
3627
3627
  /**
3628
3628
  * Not authenticated
3629
3629
  */
3630
- 401: BodhiApiError;
3630
+ 401: BodhiErrorResponse;
3631
3631
  /**
3632
3632
  * Insufficient permissions
3633
3633
  */
3634
- 403: BodhiApiError;
3634
+ 403: BodhiErrorResponse;
3635
3635
  /**
3636
3636
  * Alias not found
3637
3637
  */
3638
- 404: BodhiApiError;
3638
+ 404: BodhiErrorResponse;
3639
3639
  /**
3640
3640
  * Internal server error
3641
3641
  */
3642
- 500: BodhiApiError;
3642
+ 500: BodhiErrorResponse;
3643
3643
  };
3644
3644
  export type GetAliasError = GetAliasErrors[keyof GetAliasErrors];
3645
3645
  export type GetAliasResponses = {
@@ -3659,19 +3659,19 @@ export type GetQueueStatusErrors = {
3659
3659
  /**
3660
3660
  * Invalid request parameters
3661
3661
  */
3662
- 400: BodhiApiError;
3662
+ 400: BodhiErrorResponse;
3663
3663
  /**
3664
3664
  * Not authenticated
3665
3665
  */
3666
- 401: BodhiApiError;
3666
+ 401: BodhiErrorResponse;
3667
3667
  /**
3668
3668
  * Insufficient permissions
3669
3669
  */
3670
- 403: BodhiApiError;
3670
+ 403: BodhiErrorResponse;
3671
3671
  /**
3672
3672
  * Internal server error
3673
3673
  */
3674
- 500: BodhiApiError;
3674
+ 500: BodhiErrorResponse;
3675
3675
  };
3676
3676
  export type GetQueueStatusError = GetQueueStatusErrors[keyof GetQueueStatusErrors];
3677
3677
  export type GetQueueStatusResponses = {
@@ -3691,19 +3691,19 @@ export type ListSettingsErrors = {
3691
3691
  /**
3692
3692
  * Invalid request parameters
3693
3693
  */
3694
- 400: BodhiApiError;
3694
+ 400: BodhiErrorResponse;
3695
3695
  /**
3696
3696
  * Not authenticated
3697
3697
  */
3698
- 401: BodhiApiError;
3698
+ 401: BodhiErrorResponse;
3699
3699
  /**
3700
3700
  * Insufficient permissions
3701
3701
  */
3702
- 403: BodhiApiError;
3702
+ 403: BodhiErrorResponse;
3703
3703
  /**
3704
3704
  * Internal server error
3705
3705
  */
3706
- 500: BodhiApiError;
3706
+ 500: BodhiErrorResponse;
3707
3707
  };
3708
3708
  export type ListSettingsError = ListSettingsErrors[keyof ListSettingsErrors];
3709
3709
  export type ListSettingsResponses = {
@@ -3728,23 +3728,23 @@ export type DeleteSettingErrors = {
3728
3728
  /**
3729
3729
  * Invalid request parameters
3730
3730
  */
3731
- 400: BodhiApiError;
3731
+ 400: BodhiErrorResponse;
3732
3732
  /**
3733
3733
  * Not authenticated
3734
3734
  */
3735
- 401: BodhiApiError;
3735
+ 401: BodhiErrorResponse;
3736
3736
  /**
3737
3737
  * Insufficient permissions
3738
3738
  */
3739
- 403: BodhiApiError;
3739
+ 403: BodhiErrorResponse;
3740
3740
  /**
3741
3741
  * Setting not found
3742
3742
  */
3743
- 404: BodhiApiError;
3743
+ 404: BodhiErrorResponse;
3744
3744
  /**
3745
3745
  * Internal server error
3746
3746
  */
3747
- 500: BodhiApiError;
3747
+ 500: BodhiErrorResponse;
3748
3748
  };
3749
3749
  export type DeleteSettingError = DeleteSettingErrors[keyof DeleteSettingErrors];
3750
3750
  export type DeleteSettingResponses = {
@@ -3777,23 +3777,23 @@ export type UpdateSettingErrors = {
3777
3777
  /**
3778
3778
  * Invalid request parameters
3779
3779
  */
3780
- 400: BodhiApiError;
3780
+ 400: BodhiErrorResponse;
3781
3781
  /**
3782
3782
  * Not authenticated
3783
3783
  */
3784
- 401: BodhiApiError;
3784
+ 401: BodhiErrorResponse;
3785
3785
  /**
3786
3786
  * Insufficient permissions
3787
3787
  */
3788
- 403: BodhiApiError;
3788
+ 403: BodhiErrorResponse;
3789
3789
  /**
3790
3790
  * Setting not found
3791
3791
  */
3792
- 404: BodhiApiError;
3792
+ 404: BodhiErrorResponse;
3793
3793
  /**
3794
3794
  * Internal server error
3795
3795
  */
3796
- 500: BodhiApiError;
3796
+ 500: BodhiErrorResponse;
3797
3797
  };
3798
3798
  export type UpdateSettingError = UpdateSettingErrors[keyof UpdateSettingErrors];
3799
3799
  export type UpdateSettingResponses = {
@@ -3816,11 +3816,11 @@ export type SetupAppErrors = {
3816
3816
  /**
3817
3817
  * Invalid request parameters
3818
3818
  */
3819
- 400: BodhiApiError;
3819
+ 400: BodhiErrorResponse;
3820
3820
  /**
3821
3821
  * Internal server error
3822
3822
  */
3823
- 500: BodhiApiError;
3823
+ 500: BodhiErrorResponse;
3824
3824
  };
3825
3825
  export type SetupAppError = SetupAppErrors[keyof SetupAppErrors];
3826
3826
  export type SetupAppResponses = {
@@ -3840,19 +3840,19 @@ export type TenantsListErrors = {
3840
3840
  /**
3841
3841
  * Invalid request parameters
3842
3842
  */
3843
- 400: BodhiApiError;
3843
+ 400: BodhiErrorResponse;
3844
3844
  /**
3845
3845
  * Not authenticated
3846
3846
  */
3847
- 401: BodhiApiError;
3847
+ 401: BodhiErrorResponse;
3848
3848
  /**
3849
3849
  * Insufficient permissions
3850
3850
  */
3851
- 403: BodhiApiError;
3851
+ 403: BodhiErrorResponse;
3852
3852
  /**
3853
3853
  * Internal server error
3854
3854
  */
3855
- 500: BodhiApiError;
3855
+ 500: BodhiErrorResponse;
3856
3856
  };
3857
3857
  export type TenantsListError = TenantsListErrors[keyof TenantsListErrors];
3858
3858
  export type TenantsListResponses = {
@@ -3875,19 +3875,19 @@ export type TenantsCreateErrors = {
3875
3875
  /**
3876
3876
  * Invalid request parameters
3877
3877
  */
3878
- 400: BodhiApiError;
3878
+ 400: BodhiErrorResponse;
3879
3879
  /**
3880
3880
  * Not authenticated
3881
3881
  */
3882
- 401: BodhiApiError;
3882
+ 401: BodhiErrorResponse;
3883
3883
  /**
3884
3884
  * Insufficient permissions
3885
3885
  */
3886
- 403: BodhiApiError;
3886
+ 403: BodhiErrorResponse;
3887
3887
  /**
3888
3888
  * Internal server error
3889
3889
  */
3890
- 500: BodhiApiError;
3890
+ 500: BodhiErrorResponse;
3891
3891
  };
3892
3892
  export type TenantsCreateError = TenantsCreateErrors[keyof TenantsCreateErrors];
3893
3893
  export type TenantsCreateResponses = {
@@ -3912,19 +3912,19 @@ export type TenantsActivateErrors = {
3912
3912
  /**
3913
3913
  * Invalid request parameters
3914
3914
  */
3915
- 400: BodhiApiError;
3915
+ 400: BodhiErrorResponse;
3916
3916
  /**
3917
3917
  * Not authenticated
3918
3918
  */
3919
- 401: BodhiApiError;
3919
+ 401: BodhiErrorResponse;
3920
3920
  /**
3921
3921
  * Insufficient permissions
3922
3922
  */
3923
- 403: BodhiApiError;
3923
+ 403: BodhiErrorResponse;
3924
3924
  /**
3925
3925
  * Internal server error
3926
3926
  */
3927
- 500: BodhiApiError;
3927
+ 500: BodhiErrorResponse;
3928
3928
  };
3929
3929
  export type TenantsActivateError = TenantsActivateErrors[keyof TenantsActivateErrors];
3930
3930
  export type TenantsActivateResponses = {
@@ -3960,19 +3960,19 @@ export type ListApiTokensErrors = {
3960
3960
  /**
3961
3961
  * Invalid request parameters
3962
3962
  */
3963
- 400: BodhiApiError;
3963
+ 400: BodhiErrorResponse;
3964
3964
  /**
3965
3965
  * Not authenticated
3966
3966
  */
3967
- 401: BodhiApiError;
3967
+ 401: BodhiErrorResponse;
3968
3968
  /**
3969
3969
  * Insufficient permissions
3970
3970
  */
3971
- 403: BodhiApiError;
3971
+ 403: BodhiErrorResponse;
3972
3972
  /**
3973
3973
  * Internal server error
3974
3974
  */
3975
- 500: BodhiApiError;
3975
+ 500: BodhiErrorResponse;
3976
3976
  };
3977
3977
  export type ListApiTokensError = ListApiTokensErrors[keyof ListApiTokensErrors];
3978
3978
  export type ListApiTokensResponses = {
@@ -3995,19 +3995,19 @@ export type CreateApiTokenErrors = {
3995
3995
  /**
3996
3996
  * Invalid request parameters
3997
3997
  */
3998
- 400: BodhiApiError;
3998
+ 400: BodhiErrorResponse;
3999
3999
  /**
4000
4000
  * Not authenticated
4001
4001
  */
4002
- 401: BodhiApiError;
4002
+ 401: BodhiErrorResponse;
4003
4003
  /**
4004
4004
  * Insufficient permissions
4005
4005
  */
4006
- 403: BodhiApiError;
4006
+ 403: BodhiErrorResponse;
4007
4007
  /**
4008
4008
  * Internal server error
4009
4009
  */
4010
- 500: BodhiApiError;
4010
+ 500: BodhiErrorResponse;
4011
4011
  };
4012
4012
  export type CreateApiTokenError = CreateApiTokenErrors[keyof CreateApiTokenErrors];
4013
4013
  export type CreateApiTokenResponses = {
@@ -4035,23 +4035,23 @@ export type UpdateApiTokenErrors = {
4035
4035
  /**
4036
4036
  * Invalid request parameters
4037
4037
  */
4038
- 400: BodhiApiError;
4038
+ 400: BodhiErrorResponse;
4039
4039
  /**
4040
4040
  * Not authenticated
4041
4041
  */
4042
- 401: BodhiApiError;
4042
+ 401: BodhiErrorResponse;
4043
4043
  /**
4044
4044
  * Insufficient permissions
4045
4045
  */
4046
- 403: BodhiApiError;
4046
+ 403: BodhiErrorResponse;
4047
4047
  /**
4048
4048
  * Token not found
4049
4049
  */
4050
- 404: BodhiApiError;
4050
+ 404: BodhiErrorResponse;
4051
4051
  /**
4052
4052
  * Internal server error
4053
4053
  */
4054
- 500: BodhiApiError;
4054
+ 500: BodhiErrorResponse;
4055
4055
  };
4056
4056
  export type UpdateApiTokenError = UpdateApiTokenErrors[keyof UpdateApiTokenErrors];
4057
4057
  export type UpdateApiTokenResponses = {
@@ -4071,19 +4071,19 @@ export type GetCurrentUserErrors = {
4071
4071
  /**
4072
4072
  * Invalid request parameters
4073
4073
  */
4074
- 400: BodhiApiError;
4074
+ 400: BodhiErrorResponse;
4075
4075
  /**
4076
4076
  * Not authenticated
4077
4077
  */
4078
- 401: BodhiApiError;
4078
+ 401: BodhiErrorResponse;
4079
4079
  /**
4080
4080
  * Insufficient permissions
4081
4081
  */
4082
- 403: BodhiApiError;
4082
+ 403: BodhiErrorResponse;
4083
4083
  /**
4084
4084
  * Internal server error
4085
4085
  */
4086
- 500: BodhiApiError;
4086
+ 500: BodhiErrorResponse;
4087
4087
  };
4088
4088
  export type GetCurrentUserError = GetCurrentUserErrors[keyof GetCurrentUserErrors];
4089
4089
  export type GetCurrentUserResponses = {
@@ -4103,27 +4103,27 @@ export type RequestUserAccessErrors = {
4103
4103
  /**
4104
4104
  * Invalid request parameters
4105
4105
  */
4106
- 400: BodhiApiError;
4106
+ 400: BodhiErrorResponse;
4107
4107
  /**
4108
4108
  * Not authenticated
4109
4109
  */
4110
- 401: BodhiApiError;
4110
+ 401: BodhiErrorResponse;
4111
4111
  /**
4112
4112
  * Insufficient permissions
4113
4113
  */
4114
- 403: BodhiApiError;
4114
+ 403: BodhiErrorResponse;
4115
4115
  /**
4116
4116
  * Pending request already exists
4117
4117
  */
4118
- 409: BodhiApiError;
4118
+ 409: BodhiErrorResponse;
4119
4119
  /**
4120
4120
  * User already has role
4121
4121
  */
4122
- 422: BodhiApiError;
4122
+ 422: BodhiErrorResponse;
4123
4123
  /**
4124
4124
  * Internal server error
4125
4125
  */
4126
- 500: BodhiApiError;
4126
+ 500: BodhiErrorResponse;
4127
4127
  };
4128
4128
  export type RequestUserAccessError = RequestUserAccessErrors[keyof RequestUserAccessErrors];
4129
4129
  export type RequestUserAccessResponses = {
@@ -4142,23 +4142,23 @@ export type GetUserAccessStatusErrors = {
4142
4142
  /**
4143
4143
  * Invalid request parameters
4144
4144
  */
4145
- 400: BodhiApiError;
4145
+ 400: BodhiErrorResponse;
4146
4146
  /**
4147
4147
  * Not authenticated
4148
4148
  */
4149
- 401: BodhiApiError;
4149
+ 401: BodhiErrorResponse;
4150
4150
  /**
4151
4151
  * Insufficient permissions
4152
4152
  */
4153
- 403: BodhiApiError;
4153
+ 403: BodhiErrorResponse;
4154
4154
  /**
4155
4155
  * Request not found
4156
4156
  */
4157
- 404: BodhiApiError;
4157
+ 404: BodhiErrorResponse;
4158
4158
  /**
4159
4159
  * Internal server error
4160
4160
  */
4161
- 500: BodhiApiError;
4161
+ 500: BodhiErrorResponse;
4162
4162
  };
4163
4163
  export type GetUserAccessStatusError = GetUserAccessStatusErrors[keyof GetUserAccessStatusErrors];
4164
4164
  export type GetUserAccessStatusResponses = {
@@ -4187,19 +4187,19 @@ export type ListUsersErrors = {
4187
4187
  /**
4188
4188
  * Invalid request parameters
4189
4189
  */
4190
- 400: BodhiApiError;
4190
+ 400: BodhiErrorResponse;
4191
4191
  /**
4192
4192
  * Not authenticated
4193
4193
  */
4194
- 401: BodhiApiError;
4194
+ 401: BodhiErrorResponse;
4195
4195
  /**
4196
4196
  * Insufficient permissions
4197
4197
  */
4198
- 403: BodhiApiError;
4198
+ 403: BodhiErrorResponse;
4199
4199
  /**
4200
4200
  * Internal server error
4201
4201
  */
4202
- 500: BodhiApiError;
4202
+ 500: BodhiErrorResponse;
4203
4203
  };
4204
4204
  export type ListUsersError = ListUsersErrors[keyof ListUsersErrors];
4205
4205
  export type ListUsersResponses = {
@@ -4224,23 +4224,23 @@ export type RemoveUserErrors = {
4224
4224
  /**
4225
4225
  * Invalid request parameters
4226
4226
  */
4227
- 400: BodhiApiError;
4227
+ 400: BodhiErrorResponse;
4228
4228
  /**
4229
4229
  * Not authenticated
4230
4230
  */
4231
- 401: BodhiApiError;
4231
+ 401: BodhiErrorResponse;
4232
4232
  /**
4233
4233
  * Insufficient permissions
4234
4234
  */
4235
- 403: BodhiApiError;
4235
+ 403: BodhiErrorResponse;
4236
4236
  /**
4237
4237
  * User not found
4238
4238
  */
4239
- 404: BodhiApiError;
4239
+ 404: BodhiErrorResponse;
4240
4240
  /**
4241
4241
  * Internal server error
4242
4242
  */
4243
- 500: BodhiApiError;
4243
+ 500: BodhiErrorResponse;
4244
4244
  };
4245
4245
  export type RemoveUserError = RemoveUserErrors[keyof RemoveUserErrors];
4246
4246
  export type RemoveUserResponses = {
@@ -4264,23 +4264,23 @@ export type ChangeUserRoleErrors = {
4264
4264
  /**
4265
4265
  * Invalid request parameters
4266
4266
  */
4267
- 400: BodhiApiError;
4267
+ 400: BodhiErrorResponse;
4268
4268
  /**
4269
4269
  * Not authenticated
4270
4270
  */
4271
- 401: BodhiApiError;
4271
+ 401: BodhiErrorResponse;
4272
4272
  /**
4273
4273
  * Insufficient permissions
4274
4274
  */
4275
- 403: BodhiApiError;
4275
+ 403: BodhiErrorResponse;
4276
4276
  /**
4277
4277
  * User not found
4278
4278
  */
4279
- 404: BodhiApiError;
4279
+ 404: BodhiErrorResponse;
4280
4280
  /**
4281
4281
  * Internal server error
4282
4282
  */
4283
- 500: BodhiApiError;
4283
+ 500: BodhiErrorResponse;
4284
4284
  };
4285
4285
  export type ChangeUserRoleError = ChangeUserRoleErrors[keyof ChangeUserRoleErrors];
4286
4286
  export type ChangeUserRoleResponses = {
@@ -4299,11 +4299,11 @@ export type HealthCheckErrors = {
4299
4299
  /**
4300
4300
  * Invalid request parameters
4301
4301
  */
4302
- 400: BodhiApiError;
4302
+ 400: BodhiErrorResponse;
4303
4303
  /**
4304
4304
  * Internal server error
4305
4305
  */
4306
- 500: BodhiApiError;
4306
+ 500: BodhiErrorResponse;
4307
4307
  };
4308
4308
  export type HealthCheckError = HealthCheckErrors[keyof HealthCheckErrors];
4309
4309
  export type HealthCheckResponses = {
@@ -4323,11 +4323,11 @@ export type PingServerErrors = {
4323
4323
  /**
4324
4324
  * Invalid request parameters
4325
4325
  */
4326
- 400: BodhiApiError;
4326
+ 400: BodhiErrorResponse;
4327
4327
  /**
4328
4328
  * Internal server error
4329
4329
  */
4330
- 500: BodhiApiError;
4330
+ 500: BodhiErrorResponse;
4331
4331
  };
4332
4332
  export type PingServerError = PingServerErrors[keyof PingServerErrors];
4333
4333
  export type PingServerResponses = {