@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.
@@ -356,14 +356,7 @@ export type AuthInitiateRequest = {
356
356
  client_id: string;
357
357
  };
358
358
 
359
- export type BodhiApiError = {
360
- /**
361
- * Error details following OpenAI API error format
362
- */
363
- error: BodhiErrorBody;
364
- };
365
-
366
- export type BodhiErrorBody = {
359
+ export type BodhiError = {
367
360
  /**
368
361
  * Human-readable error message describing what went wrong
369
362
  */
@@ -384,6 +377,13 @@ export type BodhiErrorBody = {
384
377
  } | null;
385
378
  };
386
379
 
380
+ export type BodhiErrorResponse = {
381
+ /**
382
+ * Error details following Bodhi API error format
383
+ */
384
+ error: BodhiError;
385
+ };
386
+
387
387
  /**
388
388
  * Whether a single capability is supported by the model.
389
389
  */
@@ -604,7 +604,7 @@ export type FlowType = 'redirect' | 'popup';
604
604
  */
605
605
  export type GeminiModel = {
606
606
  name: string;
607
- version?: string;
607
+ version?: string | null;
608
608
  displayName?: string | null;
609
609
  description?: string | null;
610
610
  inputTokenLimit?: number | null;
@@ -1590,19 +1590,19 @@ export type ListAllAccessRequestsErrors = {
1590
1590
  /**
1591
1591
  * Invalid request parameters
1592
1592
  */
1593
- 400: BodhiApiError;
1593
+ 400: BodhiErrorResponse;
1594
1594
  /**
1595
1595
  * Not authenticated
1596
1596
  */
1597
- 401: BodhiApiError;
1597
+ 401: BodhiErrorResponse;
1598
1598
  /**
1599
1599
  * Insufficient permissions
1600
1600
  */
1601
- 403: BodhiApiError;
1601
+ 403: BodhiErrorResponse;
1602
1602
  /**
1603
1603
  * Internal server error
1604
1604
  */
1605
- 500: BodhiApiError;
1605
+ 500: BodhiErrorResponse;
1606
1606
  };
1607
1607
 
1608
1608
  export type ListAllAccessRequestsError = ListAllAccessRequestsErrors[keyof ListAllAccessRequestsErrors];
@@ -1644,19 +1644,19 @@ export type ListPendingAccessRequestsErrors = {
1644
1644
  /**
1645
1645
  * Invalid request parameters
1646
1646
  */
1647
- 400: BodhiApiError;
1647
+ 400: BodhiErrorResponse;
1648
1648
  /**
1649
1649
  * Not authenticated
1650
1650
  */
1651
- 401: BodhiApiError;
1651
+ 401: BodhiErrorResponse;
1652
1652
  /**
1653
1653
  * Insufficient permissions
1654
1654
  */
1655
- 403: BodhiApiError;
1655
+ 403: BodhiErrorResponse;
1656
1656
  /**
1657
1657
  * Internal server error
1658
1658
  */
1659
- 500: BodhiApiError;
1659
+ 500: BodhiErrorResponse;
1660
1660
  };
1661
1661
 
1662
1662
  export type ListPendingAccessRequestsError = ListPendingAccessRequestsErrors[keyof ListPendingAccessRequestsErrors];
@@ -1689,23 +1689,23 @@ export type ApproveAccessRequestErrors = {
1689
1689
  /**
1690
1690
  * Invalid request parameters
1691
1691
  */
1692
- 400: BodhiApiError;
1692
+ 400: BodhiErrorResponse;
1693
1693
  /**
1694
1694
  * Not authenticated
1695
1695
  */
1696
- 401: BodhiApiError;
1696
+ 401: BodhiErrorResponse;
1697
1697
  /**
1698
1698
  * Insufficient permissions
1699
1699
  */
1700
- 403: BodhiApiError;
1700
+ 403: BodhiErrorResponse;
1701
1701
  /**
1702
1702
  * Request not found
1703
1703
  */
1704
- 404: BodhiApiError;
1704
+ 404: BodhiErrorResponse;
1705
1705
  /**
1706
1706
  * Internal server error
1707
1707
  */
1708
- 500: BodhiApiError;
1708
+ 500: BodhiErrorResponse;
1709
1709
  };
1710
1710
 
1711
1711
  export type ApproveAccessRequestError = ApproveAccessRequestErrors[keyof ApproveAccessRequestErrors];
@@ -1736,27 +1736,27 @@ export type ApproveAppsAccessRequestErrors = {
1736
1736
  /**
1737
1737
  * Invalid request parameters
1738
1738
  */
1739
- 400: BodhiApiError;
1739
+ 400: BodhiErrorResponse;
1740
1740
  /**
1741
1741
  * Not authenticated
1742
1742
  */
1743
- 401: BodhiApiError;
1743
+ 401: BodhiErrorResponse;
1744
1744
  /**
1745
1745
  * Insufficient permissions
1746
1746
  */
1747
- 403: BodhiApiError;
1747
+ 403: BodhiErrorResponse;
1748
1748
  /**
1749
1749
  * Not found
1750
1750
  */
1751
- 404: BodhiApiError;
1751
+ 404: BodhiErrorResponse;
1752
1752
  /**
1753
1753
  * Already processed
1754
1754
  */
1755
- 409: BodhiApiError;
1755
+ 409: BodhiErrorResponse;
1756
1756
  /**
1757
1757
  * Internal server error
1758
1758
  */
1759
- 500: BodhiApiError;
1759
+ 500: BodhiErrorResponse;
1760
1760
  };
1761
1761
 
1762
1762
  export type ApproveAppsAccessRequestError = ApproveAppsAccessRequestErrors[keyof ApproveAppsAccessRequestErrors];
@@ -1786,27 +1786,27 @@ export type DenyAccessRequestErrors = {
1786
1786
  /**
1787
1787
  * Invalid request parameters
1788
1788
  */
1789
- 400: BodhiApiError;
1789
+ 400: BodhiErrorResponse;
1790
1790
  /**
1791
1791
  * Not authenticated
1792
1792
  */
1793
- 401: BodhiApiError;
1793
+ 401: BodhiErrorResponse;
1794
1794
  /**
1795
1795
  * Insufficient permissions
1796
1796
  */
1797
- 403: BodhiApiError;
1797
+ 403: BodhiErrorResponse;
1798
1798
  /**
1799
1799
  * Not found
1800
1800
  */
1801
- 404: BodhiApiError;
1801
+ 404: BodhiErrorResponse;
1802
1802
  /**
1803
1803
  * Already processed
1804
1804
  */
1805
- 409: BodhiApiError;
1805
+ 409: BodhiErrorResponse;
1806
1806
  /**
1807
1807
  * Internal server error
1808
1808
  */
1809
- 500: BodhiApiError;
1809
+ 500: BodhiErrorResponse;
1810
1810
  };
1811
1811
 
1812
1812
  export type DenyAccessRequestError = DenyAccessRequestErrors[keyof DenyAccessRequestErrors];
@@ -1836,23 +1836,23 @@ export type RejectAccessRequestErrors = {
1836
1836
  /**
1837
1837
  * Invalid request parameters
1838
1838
  */
1839
- 400: BodhiApiError;
1839
+ 400: BodhiErrorResponse;
1840
1840
  /**
1841
1841
  * Not authenticated
1842
1842
  */
1843
- 401: BodhiApiError;
1843
+ 401: BodhiErrorResponse;
1844
1844
  /**
1845
1845
  * Insufficient permissions
1846
1846
  */
1847
- 403: BodhiApiError;
1847
+ 403: BodhiErrorResponse;
1848
1848
  /**
1849
1849
  * Request not found
1850
1850
  */
1851
- 404: BodhiApiError;
1851
+ 404: BodhiErrorResponse;
1852
1852
  /**
1853
1853
  * Internal server error
1854
1854
  */
1855
- 500: BodhiApiError;
1855
+ 500: BodhiErrorResponse;
1856
1856
  };
1857
1857
 
1858
1858
  export type RejectAccessRequestError = RejectAccessRequestErrors[keyof RejectAccessRequestErrors];
@@ -1880,27 +1880,27 @@ export type GetAccessRequestReviewErrors = {
1880
1880
  /**
1881
1881
  * Invalid request parameters
1882
1882
  */
1883
- 400: BodhiApiError;
1883
+ 400: BodhiErrorResponse;
1884
1884
  /**
1885
1885
  * Not authenticated
1886
1886
  */
1887
- 401: BodhiApiError;
1887
+ 401: BodhiErrorResponse;
1888
1888
  /**
1889
1889
  * Insufficient permissions
1890
1890
  */
1891
- 403: BodhiApiError;
1891
+ 403: BodhiErrorResponse;
1892
1892
  /**
1893
1893
  * Not found
1894
1894
  */
1895
- 404: BodhiApiError;
1895
+ 404: BodhiErrorResponse;
1896
1896
  /**
1897
1897
  * Request expired
1898
1898
  */
1899
- 410: BodhiApiError;
1899
+ 410: BodhiErrorResponse;
1900
1900
  /**
1901
1901
  * Internal server error
1902
1902
  */
1903
- 500: BodhiApiError;
1903
+ 500: BodhiErrorResponse;
1904
1904
  };
1905
1905
 
1906
1906
  export type GetAccessRequestReviewError = GetAccessRequestReviewErrors[keyof GetAccessRequestReviewErrors];
@@ -1935,23 +1935,23 @@ export type GetAccessRequestStatusErrors = {
1935
1935
  /**
1936
1936
  * Invalid request parameters
1937
1937
  */
1938
- 400: BodhiApiError;
1938
+ 400: BodhiErrorResponse;
1939
1939
  /**
1940
1940
  * Not authenticated
1941
1941
  */
1942
- 401: BodhiApiError;
1942
+ 401: BodhiErrorResponse;
1943
1943
  /**
1944
1944
  * Insufficient permissions
1945
1945
  */
1946
- 403: BodhiApiError;
1946
+ 403: BodhiErrorResponse;
1947
1947
  /**
1948
1948
  * Not found or app_client_id mismatch
1949
1949
  */
1950
- 404: BodhiApiError;
1950
+ 404: BodhiErrorResponse;
1951
1951
  /**
1952
1952
  * Internal server error
1953
1953
  */
1954
- 500: BodhiApiError;
1954
+ 500: BodhiErrorResponse;
1955
1955
  };
1956
1956
 
1957
1957
  export type GetAccessRequestStatusError = GetAccessRequestStatusErrors[keyof GetAccessRequestStatusErrors];
@@ -1976,19 +1976,19 @@ export type AppsListMcpsErrors = {
1976
1976
  /**
1977
1977
  * Invalid request parameters
1978
1978
  */
1979
- 400: BodhiApiError;
1979
+ 400: BodhiErrorResponse;
1980
1980
  /**
1981
1981
  * Not authenticated
1982
1982
  */
1983
- 401: BodhiApiError;
1983
+ 401: BodhiErrorResponse;
1984
1984
  /**
1985
1985
  * Insufficient permissions
1986
1986
  */
1987
- 403: BodhiApiError;
1987
+ 403: BodhiErrorResponse;
1988
1988
  /**
1989
1989
  * Internal server error
1990
1990
  */
1991
- 500: BodhiApiError;
1991
+ 500: BodhiErrorResponse;
1992
1992
  };
1993
1993
 
1994
1994
  export type AppsListMcpsError = AppsListMcpsErrors[keyof AppsListMcpsErrors];
@@ -2018,15 +2018,15 @@ export type AppsGetMcpErrors = {
2018
2018
  /**
2019
2019
  * Invalid request parameters
2020
2020
  */
2021
- 400: BodhiApiError;
2021
+ 400: BodhiErrorResponse;
2022
2022
  /**
2023
2023
  * Not authenticated
2024
2024
  */
2025
- 401: BodhiApiError;
2025
+ 401: BodhiErrorResponse;
2026
2026
  /**
2027
2027
  * Insufficient permissions
2028
2028
  */
2029
- 403: BodhiApiError;
2029
+ 403: BodhiErrorResponse;
2030
2030
  /**
2031
2031
  * MCP not found
2032
2032
  */
@@ -2034,7 +2034,7 @@ export type AppsGetMcpErrors = {
2034
2034
  /**
2035
2035
  * Internal server error
2036
2036
  */
2037
- 500: BodhiApiError;
2037
+ 500: BodhiErrorResponse;
2038
2038
  };
2039
2039
 
2040
2040
  export type AppsGetMcpError = AppsGetMcpErrors[keyof AppsGetMcpErrors];
@@ -2064,19 +2064,19 @@ export type McpProxyErrors = {
2064
2064
  /**
2065
2065
  * Invalid request parameters
2066
2066
  */
2067
- 400: BodhiApiError;
2067
+ 400: BodhiErrorResponse;
2068
2068
  /**
2069
2069
  * Not authenticated
2070
2070
  */
2071
- 401: BodhiApiError;
2071
+ 401: BodhiErrorResponse;
2072
2072
  /**
2073
2073
  * Insufficient permissions
2074
2074
  */
2075
- 403: BodhiApiError;
2075
+ 403: BodhiErrorResponse;
2076
2076
  /**
2077
2077
  * Internal server error
2078
2078
  */
2079
- 500: BodhiApiError;
2079
+ 500: BodhiErrorResponse;
2080
2080
  };
2081
2081
 
2082
2082
  export type McpProxyError = McpProxyErrors[keyof McpProxyErrors];
@@ -2102,23 +2102,23 @@ export type CreateAccessRequestErrors = {
2102
2102
  /**
2103
2103
  * Invalid request parameters
2104
2104
  */
2105
- 400: BodhiApiError;
2105
+ 400: BodhiErrorResponse;
2106
2106
  /**
2107
2107
  * Not authenticated
2108
2108
  */
2109
- 401: BodhiApiError;
2109
+ 401: BodhiErrorResponse;
2110
2110
  /**
2111
2111
  * Insufficient permissions
2112
2112
  */
2113
- 403: BodhiApiError;
2113
+ 403: BodhiErrorResponse;
2114
2114
  /**
2115
2115
  * App client not found
2116
2116
  */
2117
- 404: BodhiApiError;
2117
+ 404: BodhiErrorResponse;
2118
2118
  /**
2119
2119
  * Internal server error
2120
2120
  */
2121
- 500: BodhiApiError;
2121
+ 500: BodhiErrorResponse;
2122
2122
  };
2123
2123
 
2124
2124
  export type CreateAccessRequestError = CreateAccessRequestErrors[keyof CreateAccessRequestErrors];
@@ -2146,23 +2146,23 @@ export type CompleteOAuthFlowErrors = {
2146
2146
  /**
2147
2147
  * Invalid request parameters
2148
2148
  */
2149
- 400: BodhiApiError;
2149
+ 400: BodhiErrorResponse;
2150
2150
  /**
2151
2151
  * Not authenticated
2152
2152
  */
2153
- 401: BodhiApiError;
2153
+ 401: BodhiErrorResponse;
2154
2154
  /**
2155
2155
  * Insufficient permissions
2156
2156
  */
2157
- 403: BodhiApiError;
2157
+ 403: BodhiErrorResponse;
2158
2158
  /**
2159
2159
  * OAuth error, invalid request parameters, or state mismatch
2160
2160
  */
2161
- 422: BodhiApiError;
2161
+ 422: BodhiErrorResponse;
2162
2162
  /**
2163
2163
  * Internal server error
2164
2164
  */
2165
- 500: BodhiApiError;
2165
+ 500: BodhiErrorResponse;
2166
2166
  };
2167
2167
 
2168
2168
  export type CompleteOAuthFlowError = CompleteOAuthFlowErrors[keyof CompleteOAuthFlowErrors];
@@ -2190,19 +2190,19 @@ export type CompleteDashboardOAuthFlowErrors = {
2190
2190
  /**
2191
2191
  * Invalid request parameters
2192
2192
  */
2193
- 400: BodhiApiError;
2193
+ 400: BodhiErrorResponse;
2194
2194
  /**
2195
2195
  * Not authenticated
2196
2196
  */
2197
- 401: BodhiApiError;
2197
+ 401: BodhiErrorResponse;
2198
2198
  /**
2199
2199
  * Insufficient permissions
2200
2200
  */
2201
- 403: BodhiApiError;
2201
+ 403: BodhiErrorResponse;
2202
2202
  /**
2203
2203
  * Internal server error
2204
2204
  */
2205
- 500: BodhiApiError;
2205
+ 500: BodhiErrorResponse;
2206
2206
  };
2207
2207
 
2208
2208
  export type CompleteDashboardOAuthFlowError = CompleteDashboardOAuthFlowErrors[keyof CompleteDashboardOAuthFlowErrors];
@@ -2227,19 +2227,19 @@ export type InitiateDashboardOAuthFlowErrors = {
2227
2227
  /**
2228
2228
  * Invalid request parameters
2229
2229
  */
2230
- 400: BodhiApiError;
2230
+ 400: BodhiErrorResponse;
2231
2231
  /**
2232
2232
  * Not authenticated
2233
2233
  */
2234
- 401: BodhiApiError;
2234
+ 401: BodhiErrorResponse;
2235
2235
  /**
2236
2236
  * Insufficient permissions
2237
2237
  */
2238
- 403: BodhiApiError;
2238
+ 403: BodhiErrorResponse;
2239
2239
  /**
2240
2240
  * Internal server error
2241
2241
  */
2242
- 500: BodhiApiError;
2242
+ 500: BodhiErrorResponse;
2243
2243
  };
2244
2244
 
2245
2245
  export type InitiateDashboardOAuthFlowError = InitiateDashboardOAuthFlowErrors[keyof InitiateDashboardOAuthFlowErrors];
@@ -2271,19 +2271,19 @@ export type InitiateOAuthFlowErrors = {
2271
2271
  /**
2272
2272
  * Invalid request parameters
2273
2273
  */
2274
- 400: BodhiApiError;
2274
+ 400: BodhiErrorResponse;
2275
2275
  /**
2276
2276
  * Not authenticated
2277
2277
  */
2278
- 401: BodhiApiError;
2278
+ 401: BodhiErrorResponse;
2279
2279
  /**
2280
2280
  * Insufficient permissions
2281
2281
  */
2282
- 403: BodhiApiError;
2282
+ 403: BodhiErrorResponse;
2283
2283
  /**
2284
2284
  * Internal server error
2285
2285
  */
2286
- 500: BodhiApiError;
2286
+ 500: BodhiErrorResponse;
2287
2287
  };
2288
2288
 
2289
2289
  export type InitiateOAuthFlowError = InitiateOAuthFlowErrors[keyof InitiateOAuthFlowErrors];
@@ -2312,11 +2312,11 @@ export type GetAppInfoErrors = {
2312
2312
  /**
2313
2313
  * Invalid request parameters
2314
2314
  */
2315
- 400: BodhiApiError;
2315
+ 400: BodhiErrorResponse;
2316
2316
  /**
2317
2317
  * Internal server error
2318
2318
  */
2319
- 500: BodhiApiError;
2319
+ 500: BodhiErrorResponse;
2320
2320
  };
2321
2321
 
2322
2322
  export type GetAppInfoError = GetAppInfoErrors[keyof GetAppInfoErrors];
@@ -2341,19 +2341,19 @@ export type LogoutUserErrors = {
2341
2341
  /**
2342
2342
  * Invalid request parameters
2343
2343
  */
2344
- 400: BodhiApiError;
2344
+ 400: BodhiErrorResponse;
2345
2345
  /**
2346
2346
  * Not authenticated
2347
2347
  */
2348
- 401: BodhiApiError;
2348
+ 401: BodhiErrorResponse;
2349
2349
  /**
2350
2350
  * Insufficient permissions
2351
2351
  */
2352
- 403: BodhiApiError;
2352
+ 403: BodhiErrorResponse;
2353
2353
  /**
2354
2354
  * Internal server error
2355
2355
  */
2356
- 500: BodhiApiError;
2356
+ 500: BodhiErrorResponse;
2357
2357
  };
2358
2358
 
2359
2359
  export type LogoutUserError = LogoutUserErrors[keyof LogoutUserErrors];
@@ -2378,19 +2378,19 @@ export type ListMcpsErrors = {
2378
2378
  /**
2379
2379
  * Invalid request parameters
2380
2380
  */
2381
- 400: BodhiApiError;
2381
+ 400: BodhiErrorResponse;
2382
2382
  /**
2383
2383
  * Not authenticated
2384
2384
  */
2385
- 401: BodhiApiError;
2385
+ 401: BodhiErrorResponse;
2386
2386
  /**
2387
2387
  * Insufficient permissions
2388
2388
  */
2389
- 403: BodhiApiError;
2389
+ 403: BodhiErrorResponse;
2390
2390
  /**
2391
2391
  * Internal server error
2392
2392
  */
2393
- 500: BodhiApiError;
2393
+ 500: BodhiErrorResponse;
2394
2394
  };
2395
2395
 
2396
2396
  export type ListMcpsError = ListMcpsErrors[keyof ListMcpsErrors];
@@ -2415,19 +2415,19 @@ export type CreateMcpErrors = {
2415
2415
  /**
2416
2416
  * Invalid request parameters
2417
2417
  */
2418
- 400: BodhiApiError;
2418
+ 400: BodhiErrorResponse;
2419
2419
  /**
2420
2420
  * Not authenticated
2421
2421
  */
2422
- 401: BodhiApiError;
2422
+ 401: BodhiErrorResponse;
2423
2423
  /**
2424
2424
  * Insufficient permissions
2425
2425
  */
2426
- 403: BodhiApiError;
2426
+ 403: BodhiErrorResponse;
2427
2427
  /**
2428
2428
  * Internal server error
2429
2429
  */
2430
- 500: BodhiApiError;
2430
+ 500: BodhiErrorResponse;
2431
2431
  };
2432
2432
 
2433
2433
  export type CreateMcpError = CreateMcpErrors[keyof CreateMcpErrors];
@@ -2454,19 +2454,19 @@ export type ListMcpAuthConfigsErrors = {
2454
2454
  /**
2455
2455
  * Invalid request parameters
2456
2456
  */
2457
- 400: BodhiApiError;
2457
+ 400: BodhiErrorResponse;
2458
2458
  /**
2459
2459
  * Not authenticated
2460
2460
  */
2461
- 401: BodhiApiError;
2461
+ 401: BodhiErrorResponse;
2462
2462
  /**
2463
2463
  * Insufficient permissions
2464
2464
  */
2465
- 403: BodhiApiError;
2465
+ 403: BodhiErrorResponse;
2466
2466
  /**
2467
2467
  * Internal server error
2468
2468
  */
2469
- 500: BodhiApiError;
2469
+ 500: BodhiErrorResponse;
2470
2470
  };
2471
2471
 
2472
2472
  export type ListMcpAuthConfigsError = ListMcpAuthConfigsErrors[keyof ListMcpAuthConfigsErrors];
@@ -2491,19 +2491,19 @@ export type CreateMcpAuthConfigErrors = {
2491
2491
  /**
2492
2492
  * Invalid request parameters
2493
2493
  */
2494
- 400: BodhiApiError;
2494
+ 400: BodhiErrorResponse;
2495
2495
  /**
2496
2496
  * Not authenticated
2497
2497
  */
2498
- 401: BodhiApiError;
2498
+ 401: BodhiErrorResponse;
2499
2499
  /**
2500
2500
  * Insufficient permissions
2501
2501
  */
2502
- 403: BodhiApiError;
2502
+ 403: BodhiErrorResponse;
2503
2503
  /**
2504
2504
  * Internal server error
2505
2505
  */
2506
- 500: BodhiApiError;
2506
+ 500: BodhiErrorResponse;
2507
2507
  };
2508
2508
 
2509
2509
  export type CreateMcpAuthConfigError = CreateMcpAuthConfigErrors[keyof CreateMcpAuthConfigErrors];
@@ -2533,15 +2533,15 @@ export type DeleteMcpAuthConfigErrors = {
2533
2533
  /**
2534
2534
  * Invalid request parameters
2535
2535
  */
2536
- 400: BodhiApiError;
2536
+ 400: BodhiErrorResponse;
2537
2537
  /**
2538
2538
  * Not authenticated
2539
2539
  */
2540
- 401: BodhiApiError;
2540
+ 401: BodhiErrorResponse;
2541
2541
  /**
2542
2542
  * Insufficient permissions
2543
2543
  */
2544
- 403: BodhiApiError;
2544
+ 403: BodhiErrorResponse;
2545
2545
  /**
2546
2546
  * Not found
2547
2547
  */
@@ -2549,7 +2549,7 @@ export type DeleteMcpAuthConfigErrors = {
2549
2549
  /**
2550
2550
  * Internal server error
2551
2551
  */
2552
- 500: BodhiApiError;
2552
+ 500: BodhiErrorResponse;
2553
2553
  };
2554
2554
 
2555
2555
  export type DeleteMcpAuthConfigError = DeleteMcpAuthConfigErrors[keyof DeleteMcpAuthConfigErrors];
@@ -2579,15 +2579,15 @@ export type GetMcpAuthConfigErrors = {
2579
2579
  /**
2580
2580
  * Invalid request parameters
2581
2581
  */
2582
- 400: BodhiApiError;
2582
+ 400: BodhiErrorResponse;
2583
2583
  /**
2584
2584
  * Not authenticated
2585
2585
  */
2586
- 401: BodhiApiError;
2586
+ 401: BodhiErrorResponse;
2587
2587
  /**
2588
2588
  * Insufficient permissions
2589
2589
  */
2590
- 403: BodhiApiError;
2590
+ 403: BodhiErrorResponse;
2591
2591
  /**
2592
2592
  * Not found
2593
2593
  */
@@ -2595,7 +2595,7 @@ export type GetMcpAuthConfigErrors = {
2595
2595
  /**
2596
2596
  * Internal server error
2597
2597
  */
2598
- 500: BodhiApiError;
2598
+ 500: BodhiErrorResponse;
2599
2599
  };
2600
2600
 
2601
2601
  export type GetMcpAuthConfigError = GetMcpAuthConfigErrors[keyof GetMcpAuthConfigErrors];
@@ -2625,15 +2625,15 @@ export type McpOAuthLoginErrors = {
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
  * Auth config not found
2639
2639
  */
@@ -2641,7 +2641,7 @@ export type McpOAuthLoginErrors = {
2641
2641
  /**
2642
2642
  * Internal server error
2643
2643
  */
2644
- 500: BodhiApiError;
2644
+ 500: BodhiErrorResponse;
2645
2645
  };
2646
2646
 
2647
2647
  export type McpOAuthLoginError = McpOAuthLoginErrors[keyof McpOAuthLoginErrors];
@@ -2671,15 +2671,15 @@ export type McpOAuthTokenExchangeErrors = {
2671
2671
  /**
2672
2672
  * Invalid request parameters
2673
2673
  */
2674
- 400: BodhiApiError;
2674
+ 400: BodhiErrorResponse;
2675
2675
  /**
2676
2676
  * Not authenticated
2677
2677
  */
2678
- 401: BodhiApiError;
2678
+ 401: BodhiErrorResponse;
2679
2679
  /**
2680
2680
  * Insufficient permissions
2681
2681
  */
2682
- 403: BodhiApiError;
2682
+ 403: BodhiErrorResponse;
2683
2683
  /**
2684
2684
  * Auth config not found
2685
2685
  */
@@ -2687,7 +2687,7 @@ export type McpOAuthTokenExchangeErrors = {
2687
2687
  /**
2688
2688
  * Internal server error
2689
2689
  */
2690
- 500: BodhiApiError;
2690
+ 500: BodhiErrorResponse;
2691
2691
  };
2692
2692
 
2693
2693
  export type McpOAuthTokenExchangeError = McpOAuthTokenExchangeErrors[keyof McpOAuthTokenExchangeErrors];
@@ -2717,15 +2717,15 @@ export type DeleteMcpOAuthTokenErrors = {
2717
2717
  /**
2718
2718
  * Invalid request parameters
2719
2719
  */
2720
- 400: BodhiApiError;
2720
+ 400: BodhiErrorResponse;
2721
2721
  /**
2722
2722
  * Not authenticated
2723
2723
  */
2724
- 401: BodhiApiError;
2724
+ 401: BodhiErrorResponse;
2725
2725
  /**
2726
2726
  * Insufficient permissions
2727
2727
  */
2728
- 403: BodhiApiError;
2728
+ 403: BodhiErrorResponse;
2729
2729
  /**
2730
2730
  * Not found
2731
2731
  */
@@ -2733,7 +2733,7 @@ export type DeleteMcpOAuthTokenErrors = {
2733
2733
  /**
2734
2734
  * Internal server error
2735
2735
  */
2736
- 500: BodhiApiError;
2736
+ 500: BodhiErrorResponse;
2737
2737
  };
2738
2738
 
2739
2739
  export type DeleteMcpOAuthTokenError = DeleteMcpOAuthTokenErrors[keyof DeleteMcpOAuthTokenErrors];
@@ -2763,15 +2763,15 @@ export type GetMcpOAuthTokenErrors = {
2763
2763
  /**
2764
2764
  * Invalid request parameters
2765
2765
  */
2766
- 400: BodhiApiError;
2766
+ 400: BodhiErrorResponse;
2767
2767
  /**
2768
2768
  * Not authenticated
2769
2769
  */
2770
- 401: BodhiApiError;
2770
+ 401: BodhiErrorResponse;
2771
2771
  /**
2772
2772
  * Insufficient permissions
2773
2773
  */
2774
- 403: BodhiApiError;
2774
+ 403: BodhiErrorResponse;
2775
2775
  /**
2776
2776
  * Not found
2777
2777
  */
@@ -2779,7 +2779,7 @@ export type GetMcpOAuthTokenErrors = {
2779
2779
  /**
2780
2780
  * Internal server error
2781
2781
  */
2782
- 500: BodhiApiError;
2782
+ 500: BodhiErrorResponse;
2783
2783
  };
2784
2784
 
2785
2785
  export type GetMcpOAuthTokenError = GetMcpOAuthTokenErrors[keyof GetMcpOAuthTokenErrors];
@@ -2804,19 +2804,19 @@ export type McpOAuthDiscoverAsErrors = {
2804
2804
  /**
2805
2805
  * Invalid request parameters
2806
2806
  */
2807
- 400: BodhiApiError;
2807
+ 400: BodhiErrorResponse;
2808
2808
  /**
2809
2809
  * Not authenticated
2810
2810
  */
2811
- 401: BodhiApiError;
2811
+ 401: BodhiErrorResponse;
2812
2812
  /**
2813
2813
  * Insufficient permissions
2814
2814
  */
2815
- 403: BodhiApiError;
2815
+ 403: BodhiErrorResponse;
2816
2816
  /**
2817
2817
  * Internal server error
2818
2818
  */
2819
- 500: BodhiApiError;
2819
+ 500: BodhiErrorResponse;
2820
2820
  };
2821
2821
 
2822
2822
  export type McpOAuthDiscoverAsError = McpOAuthDiscoverAsErrors[keyof McpOAuthDiscoverAsErrors];
@@ -2841,19 +2841,19 @@ export type McpOAuthDiscoverMcpErrors = {
2841
2841
  /**
2842
2842
  * Invalid request parameters
2843
2843
  */
2844
- 400: BodhiApiError;
2844
+ 400: BodhiErrorResponse;
2845
2845
  /**
2846
2846
  * Not authenticated
2847
2847
  */
2848
- 401: BodhiApiError;
2848
+ 401: BodhiErrorResponse;
2849
2849
  /**
2850
2850
  * Insufficient permissions
2851
2851
  */
2852
- 403: BodhiApiError;
2852
+ 403: BodhiErrorResponse;
2853
2853
  /**
2854
2854
  * Internal server error
2855
2855
  */
2856
- 500: BodhiApiError;
2856
+ 500: BodhiErrorResponse;
2857
2857
  };
2858
2858
 
2859
2859
  export type McpOAuthDiscoverMcpError = McpOAuthDiscoverMcpErrors[keyof McpOAuthDiscoverMcpErrors];
@@ -2878,19 +2878,19 @@ export type McpOAuthDynamicRegisterStandaloneErrors = {
2878
2878
  /**
2879
2879
  * Invalid request parameters
2880
2880
  */
2881
- 400: BodhiApiError;
2881
+ 400: BodhiErrorResponse;
2882
2882
  /**
2883
2883
  * Not authenticated
2884
2884
  */
2885
- 401: BodhiApiError;
2885
+ 401: BodhiErrorResponse;
2886
2886
  /**
2887
2887
  * Insufficient permissions
2888
2888
  */
2889
- 403: BodhiApiError;
2889
+ 403: BodhiErrorResponse;
2890
2890
  /**
2891
2891
  * Internal server error
2892
2892
  */
2893
- 500: BodhiApiError;
2893
+ 500: BodhiErrorResponse;
2894
2894
  };
2895
2895
 
2896
2896
  export type McpOAuthDynamicRegisterStandaloneError = McpOAuthDynamicRegisterStandaloneErrors[keyof McpOAuthDynamicRegisterStandaloneErrors];
@@ -2920,19 +2920,19 @@ export type ListMcpServersErrors = {
2920
2920
  /**
2921
2921
  * Invalid request parameters
2922
2922
  */
2923
- 400: BodhiApiError;
2923
+ 400: BodhiErrorResponse;
2924
2924
  /**
2925
2925
  * Not authenticated
2926
2926
  */
2927
- 401: BodhiApiError;
2927
+ 401: BodhiErrorResponse;
2928
2928
  /**
2929
2929
  * Insufficient permissions
2930
2930
  */
2931
- 403: BodhiApiError;
2931
+ 403: BodhiErrorResponse;
2932
2932
  /**
2933
2933
  * Internal server error
2934
2934
  */
2935
- 500: BodhiApiError;
2935
+ 500: BodhiErrorResponse;
2936
2936
  };
2937
2937
 
2938
2938
  export type ListMcpServersError = ListMcpServersErrors[keyof ListMcpServersErrors];
@@ -2957,15 +2957,15 @@ export type CreateMcpServerErrors = {
2957
2957
  /**
2958
2958
  * Invalid request parameters
2959
2959
  */
2960
- 400: BodhiApiError;
2960
+ 400: BodhiErrorResponse;
2961
2961
  /**
2962
2962
  * Not authenticated
2963
2963
  */
2964
- 401: BodhiApiError;
2964
+ 401: BodhiErrorResponse;
2965
2965
  /**
2966
2966
  * Insufficient permissions
2967
2967
  */
2968
- 403: BodhiApiError;
2968
+ 403: BodhiErrorResponse;
2969
2969
  /**
2970
2970
  * URL already exists
2971
2971
  */
@@ -2973,7 +2973,7 @@ export type CreateMcpServerErrors = {
2973
2973
  /**
2974
2974
  * Internal server error
2975
2975
  */
2976
- 500: BodhiApiError;
2976
+ 500: BodhiErrorResponse;
2977
2977
  };
2978
2978
 
2979
2979
  export type CreateMcpServerError = CreateMcpServerErrors[keyof CreateMcpServerErrors];
@@ -3003,15 +3003,15 @@ export type GetMcpServerErrors = {
3003
3003
  /**
3004
3004
  * Invalid request parameters
3005
3005
  */
3006
- 400: BodhiApiError;
3006
+ 400: BodhiErrorResponse;
3007
3007
  /**
3008
3008
  * Not authenticated
3009
3009
  */
3010
- 401: BodhiApiError;
3010
+ 401: BodhiErrorResponse;
3011
3011
  /**
3012
3012
  * Insufficient permissions
3013
3013
  */
3014
- 403: BodhiApiError;
3014
+ 403: BodhiErrorResponse;
3015
3015
  /**
3016
3016
  * Not found
3017
3017
  */
@@ -3019,7 +3019,7 @@ export type GetMcpServerErrors = {
3019
3019
  /**
3020
3020
  * Internal server error
3021
3021
  */
3022
- 500: BodhiApiError;
3022
+ 500: BodhiErrorResponse;
3023
3023
  };
3024
3024
 
3025
3025
  export type GetMcpServerError = GetMcpServerErrors[keyof GetMcpServerErrors];
@@ -3049,15 +3049,15 @@ export type UpdateMcpServerErrors = {
3049
3049
  /**
3050
3050
  * Invalid request parameters
3051
3051
  */
3052
- 400: BodhiApiError;
3052
+ 400: BodhiErrorResponse;
3053
3053
  /**
3054
3054
  * Not authenticated
3055
3055
  */
3056
- 401: BodhiApiError;
3056
+ 401: BodhiErrorResponse;
3057
3057
  /**
3058
3058
  * Insufficient permissions
3059
3059
  */
3060
- 403: BodhiApiError;
3060
+ 403: BodhiErrorResponse;
3061
3061
  /**
3062
3062
  * Not found
3063
3063
  */
@@ -3069,7 +3069,7 @@ export type UpdateMcpServerErrors = {
3069
3069
  /**
3070
3070
  * Internal server error
3071
3071
  */
3072
- 500: BodhiApiError;
3072
+ 500: BodhiErrorResponse;
3073
3073
  };
3074
3074
 
3075
3075
  export type UpdateMcpServerError = UpdateMcpServerErrors[keyof UpdateMcpServerErrors];
@@ -3099,15 +3099,15 @@ export type DeleteMcpErrors = {
3099
3099
  /**
3100
3100
  * Invalid request parameters
3101
3101
  */
3102
- 400: BodhiApiError;
3102
+ 400: BodhiErrorResponse;
3103
3103
  /**
3104
3104
  * Not authenticated
3105
3105
  */
3106
- 401: BodhiApiError;
3106
+ 401: BodhiErrorResponse;
3107
3107
  /**
3108
3108
  * Insufficient permissions
3109
3109
  */
3110
- 403: BodhiApiError;
3110
+ 403: BodhiErrorResponse;
3111
3111
  /**
3112
3112
  * MCP not found
3113
3113
  */
@@ -3115,7 +3115,7 @@ export type DeleteMcpErrors = {
3115
3115
  /**
3116
3116
  * Internal server error
3117
3117
  */
3118
- 500: BodhiApiError;
3118
+ 500: BodhiErrorResponse;
3119
3119
  };
3120
3120
 
3121
3121
  export type DeleteMcpError = DeleteMcpErrors[keyof DeleteMcpErrors];
@@ -3145,15 +3145,15 @@ export type GetMcpErrors = {
3145
3145
  /**
3146
3146
  * Invalid request parameters
3147
3147
  */
3148
- 400: BodhiApiError;
3148
+ 400: BodhiErrorResponse;
3149
3149
  /**
3150
3150
  * Not authenticated
3151
3151
  */
3152
- 401: BodhiApiError;
3152
+ 401: BodhiErrorResponse;
3153
3153
  /**
3154
3154
  * Insufficient permissions
3155
3155
  */
3156
- 403: BodhiApiError;
3156
+ 403: BodhiErrorResponse;
3157
3157
  /**
3158
3158
  * MCP not found
3159
3159
  */
@@ -3161,7 +3161,7 @@ export type GetMcpErrors = {
3161
3161
  /**
3162
3162
  * Internal server error
3163
3163
  */
3164
- 500: BodhiApiError;
3164
+ 500: BodhiErrorResponse;
3165
3165
  };
3166
3166
 
3167
3167
  export type GetMcpError = GetMcpErrors[keyof GetMcpErrors];
@@ -3191,15 +3191,15 @@ export type UpdateMcpErrors = {
3191
3191
  /**
3192
3192
  * Invalid request parameters
3193
3193
  */
3194
- 400: BodhiApiError;
3194
+ 400: BodhiErrorResponse;
3195
3195
  /**
3196
3196
  * Not authenticated
3197
3197
  */
3198
- 401: BodhiApiError;
3198
+ 401: BodhiErrorResponse;
3199
3199
  /**
3200
3200
  * Insufficient permissions
3201
3201
  */
3202
- 403: BodhiApiError;
3202
+ 403: BodhiErrorResponse;
3203
3203
  /**
3204
3204
  * MCP not found
3205
3205
  */
@@ -3207,7 +3207,7 @@ export type UpdateMcpErrors = {
3207
3207
  /**
3208
3208
  * Internal server error
3209
3209
  */
3210
- 500: BodhiApiError;
3210
+ 500: BodhiErrorResponse;
3211
3211
  };
3212
3212
 
3213
3213
  export type UpdateMcpError = UpdateMcpErrors[keyof UpdateMcpErrors];
@@ -3249,19 +3249,19 @@ export type ListAllModelsErrors = {
3249
3249
  /**
3250
3250
  * Invalid request parameters
3251
3251
  */
3252
- 400: BodhiApiError;
3252
+ 400: BodhiErrorResponse;
3253
3253
  /**
3254
3254
  * Not authenticated
3255
3255
  */
3256
- 401: BodhiApiError;
3256
+ 401: BodhiErrorResponse;
3257
3257
  /**
3258
3258
  * Insufficient permissions
3259
3259
  */
3260
- 403: BodhiApiError;
3260
+ 403: BodhiErrorResponse;
3261
3261
  /**
3262
3262
  * Internal server error
3263
3263
  */
3264
- 500: BodhiApiError;
3264
+ 500: BodhiErrorResponse;
3265
3265
  };
3266
3266
 
3267
3267
  export type ListAllModelsError = ListAllModelsErrors[keyof ListAllModelsErrors];
@@ -3286,19 +3286,19 @@ export type ModelsAliasCreateErrors = {
3286
3286
  /**
3287
3287
  * Invalid request parameters
3288
3288
  */
3289
- 400: BodhiApiError;
3289
+ 400: BodhiErrorResponse;
3290
3290
  /**
3291
3291
  * Not authenticated
3292
3292
  */
3293
- 401: BodhiApiError;
3293
+ 401: BodhiErrorResponse;
3294
3294
  /**
3295
3295
  * Insufficient permissions
3296
3296
  */
3297
- 403: BodhiApiError;
3297
+ 403: BodhiErrorResponse;
3298
3298
  /**
3299
3299
  * Internal server error
3300
3300
  */
3301
- 500: BodhiApiError;
3301
+ 500: BodhiErrorResponse;
3302
3302
  };
3303
3303
 
3304
3304
  export type ModelsAliasCreateError = ModelsAliasCreateErrors[keyof ModelsAliasCreateErrors];
@@ -3328,15 +3328,15 @@ export type ModelsAliasDestroyErrors = {
3328
3328
  /**
3329
3329
  * Invalid request parameters
3330
3330
  */
3331
- 400: BodhiApiError;
3331
+ 400: BodhiErrorResponse;
3332
3332
  /**
3333
3333
  * Not authenticated
3334
3334
  */
3335
- 401: BodhiApiError;
3335
+ 401: BodhiErrorResponse;
3336
3336
  /**
3337
3337
  * Insufficient permissions
3338
3338
  */
3339
- 403: BodhiApiError;
3339
+ 403: BodhiErrorResponse;
3340
3340
  /**
3341
3341
  * Alias not found
3342
3342
  */
@@ -3344,7 +3344,7 @@ export type ModelsAliasDestroyErrors = {
3344
3344
  /**
3345
3345
  * Internal server error
3346
3346
  */
3347
- 500: BodhiApiError;
3347
+ 500: BodhiErrorResponse;
3348
3348
  };
3349
3349
 
3350
3350
  export type ModelsAliasDestroyError = ModelsAliasDestroyErrors[keyof ModelsAliasDestroyErrors];
@@ -3372,19 +3372,19 @@ export type ModelsAliasUpdateErrors = {
3372
3372
  /**
3373
3373
  * Invalid request parameters
3374
3374
  */
3375
- 400: BodhiApiError;
3375
+ 400: BodhiErrorResponse;
3376
3376
  /**
3377
3377
  * Not authenticated
3378
3378
  */
3379
- 401: BodhiApiError;
3379
+ 401: BodhiErrorResponse;
3380
3380
  /**
3381
3381
  * Insufficient permissions
3382
3382
  */
3383
- 403: BodhiApiError;
3383
+ 403: BodhiErrorResponse;
3384
3384
  /**
3385
3385
  * Internal server error
3386
3386
  */
3387
- 500: BodhiApiError;
3387
+ 500: BodhiErrorResponse;
3388
3388
  };
3389
3389
 
3390
3390
  export type ModelsAliasUpdateError = ModelsAliasUpdateErrors[keyof ModelsAliasUpdateErrors];
@@ -3414,15 +3414,15 @@ export type ModelsAliasCopyErrors = {
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
  * Source alias not found
3428
3428
  */
@@ -3430,7 +3430,7 @@ export type ModelsAliasCopyErrors = {
3430
3430
  /**
3431
3431
  * Internal server error
3432
3432
  */
3433
- 500: BodhiApiError;
3433
+ 500: BodhiErrorResponse;
3434
3434
  };
3435
3435
 
3436
3436
  export type ModelsAliasCopyError = ModelsAliasCopyErrors[keyof ModelsAliasCopyErrors];
@@ -3455,23 +3455,23 @@ export type CreateApiModelErrors = {
3455
3455
  /**
3456
3456
  * Invalid request parameters
3457
3457
  */
3458
- 400: BodhiApiError;
3458
+ 400: BodhiErrorResponse;
3459
3459
  /**
3460
3460
  * Not authenticated
3461
3461
  */
3462
- 401: BodhiApiError;
3462
+ 401: BodhiErrorResponse;
3463
3463
  /**
3464
3464
  * Insufficient permissions
3465
3465
  */
3466
- 403: BodhiApiError;
3466
+ 403: BodhiErrorResponse;
3467
3467
  /**
3468
3468
  * Alias already exists
3469
3469
  */
3470
- 409: BodhiApiError;
3470
+ 409: BodhiErrorResponse;
3471
3471
  /**
3472
3472
  * Internal server error
3473
3473
  */
3474
- 500: BodhiApiError;
3474
+ 500: BodhiErrorResponse;
3475
3475
  };
3476
3476
 
3477
3477
  export type CreateApiModelError = CreateApiModelErrors[keyof CreateApiModelErrors];
@@ -3496,19 +3496,19 @@ export type FetchApiModelsErrors = {
3496
3496
  /**
3497
3497
  * Invalid request parameters
3498
3498
  */
3499
- 400: BodhiApiError;
3499
+ 400: BodhiErrorResponse;
3500
3500
  /**
3501
3501
  * Not authenticated
3502
3502
  */
3503
- 401: BodhiApiError;
3503
+ 401: BodhiErrorResponse;
3504
3504
  /**
3505
3505
  * Insufficient permissions
3506
3506
  */
3507
- 403: BodhiApiError;
3507
+ 403: BodhiErrorResponse;
3508
3508
  /**
3509
3509
  * Internal server error
3510
3510
  */
3511
- 500: BodhiApiError;
3511
+ 500: BodhiErrorResponse;
3512
3512
  };
3513
3513
 
3514
3514
  export type FetchApiModelsError = FetchApiModelsErrors[keyof FetchApiModelsErrors];
@@ -3533,19 +3533,19 @@ export type GetApiFormatsErrors = {
3533
3533
  /**
3534
3534
  * Invalid request parameters
3535
3535
  */
3536
- 400: BodhiApiError;
3536
+ 400: BodhiErrorResponse;
3537
3537
  /**
3538
3538
  * Not authenticated
3539
3539
  */
3540
- 401: BodhiApiError;
3540
+ 401: BodhiErrorResponse;
3541
3541
  /**
3542
3542
  * Insufficient permissions
3543
3543
  */
3544
- 403: BodhiApiError;
3544
+ 403: BodhiErrorResponse;
3545
3545
  /**
3546
3546
  * Internal server error
3547
3547
  */
3548
- 500: BodhiApiError;
3548
+ 500: BodhiErrorResponse;
3549
3549
  };
3550
3550
 
3551
3551
  export type GetApiFormatsError = GetApiFormatsErrors[keyof GetApiFormatsErrors];
@@ -3570,19 +3570,19 @@ export type TestApiModelErrors = {
3570
3570
  /**
3571
3571
  * Invalid request parameters
3572
3572
  */
3573
- 400: BodhiApiError;
3573
+ 400: BodhiErrorResponse;
3574
3574
  /**
3575
3575
  * Not authenticated
3576
3576
  */
3577
- 401: BodhiApiError;
3577
+ 401: BodhiErrorResponse;
3578
3578
  /**
3579
3579
  * Insufficient permissions
3580
3580
  */
3581
- 403: BodhiApiError;
3581
+ 403: BodhiErrorResponse;
3582
3582
  /**
3583
3583
  * Internal server error
3584
3584
  */
3585
- 500: BodhiApiError;
3585
+ 500: BodhiErrorResponse;
3586
3586
  };
3587
3587
 
3588
3588
  export type TestApiModelError = TestApiModelErrors[keyof TestApiModelErrors];
@@ -3612,23 +3612,23 @@ export type DeleteApiModelErrors = {
3612
3612
  /**
3613
3613
  * Invalid request parameters
3614
3614
  */
3615
- 400: BodhiApiError;
3615
+ 400: BodhiErrorResponse;
3616
3616
  /**
3617
3617
  * Not authenticated
3618
3618
  */
3619
- 401: BodhiApiError;
3619
+ 401: BodhiErrorResponse;
3620
3620
  /**
3621
3621
  * Insufficient permissions
3622
3622
  */
3623
- 403: BodhiApiError;
3623
+ 403: BodhiErrorResponse;
3624
3624
  /**
3625
3625
  * API model not found
3626
3626
  */
3627
- 404: BodhiApiError;
3627
+ 404: BodhiErrorResponse;
3628
3628
  /**
3629
3629
  * Internal server error
3630
3630
  */
3631
- 500: BodhiApiError;
3631
+ 500: BodhiErrorResponse;
3632
3632
  };
3633
3633
 
3634
3634
  export type DeleteApiModelError = DeleteApiModelErrors[keyof DeleteApiModelErrors];
@@ -3658,23 +3658,23 @@ export type GetApiModelErrors = {
3658
3658
  /**
3659
3659
  * Invalid request parameters
3660
3660
  */
3661
- 400: BodhiApiError;
3661
+ 400: BodhiErrorResponse;
3662
3662
  /**
3663
3663
  * Not authenticated
3664
3664
  */
3665
- 401: BodhiApiError;
3665
+ 401: BodhiErrorResponse;
3666
3666
  /**
3667
3667
  * Insufficient permissions
3668
3668
  */
3669
- 403: BodhiApiError;
3669
+ 403: BodhiErrorResponse;
3670
3670
  /**
3671
3671
  * API model with specified ID not found
3672
3672
  */
3673
- 404: BodhiApiError;
3673
+ 404: BodhiErrorResponse;
3674
3674
  /**
3675
3675
  * Internal server error
3676
3676
  */
3677
- 500: BodhiApiError;
3677
+ 500: BodhiErrorResponse;
3678
3678
  };
3679
3679
 
3680
3680
  export type GetApiModelError = GetApiModelErrors[keyof GetApiModelErrors];
@@ -3704,23 +3704,23 @@ export type UpdateApiModelErrors = {
3704
3704
  /**
3705
3705
  * Invalid request parameters
3706
3706
  */
3707
- 400: BodhiApiError;
3707
+ 400: BodhiErrorResponse;
3708
3708
  /**
3709
3709
  * Not authenticated
3710
3710
  */
3711
- 401: BodhiApiError;
3711
+ 401: BodhiErrorResponse;
3712
3712
  /**
3713
3713
  * Insufficient permissions
3714
3714
  */
3715
- 403: BodhiApiError;
3715
+ 403: BodhiErrorResponse;
3716
3716
  /**
3717
3717
  * API model not found
3718
3718
  */
3719
- 404: BodhiApiError;
3719
+ 404: BodhiErrorResponse;
3720
3720
  /**
3721
3721
  * Internal server error
3722
3722
  */
3723
- 500: BodhiApiError;
3723
+ 500: BodhiErrorResponse;
3724
3724
  };
3725
3725
 
3726
3726
  export type UpdateApiModelError = UpdateApiModelErrors[keyof UpdateApiModelErrors];
@@ -3750,15 +3750,15 @@ export type SyncModelsErrors = {
3750
3750
  /**
3751
3751
  * Invalid request parameters
3752
3752
  */
3753
- 400: BodhiApiError;
3753
+ 400: BodhiErrorResponse;
3754
3754
  /**
3755
3755
  * Not authenticated
3756
3756
  */
3757
- 401: BodhiApiError;
3757
+ 401: BodhiErrorResponse;
3758
3758
  /**
3759
3759
  * Insufficient permissions
3760
3760
  */
3761
- 403: BodhiApiError;
3761
+ 403: BodhiErrorResponse;
3762
3762
  /**
3763
3763
  * API model not found
3764
3764
  */
@@ -3766,7 +3766,7 @@ export type SyncModelsErrors = {
3766
3766
  /**
3767
3767
  * Internal server error
3768
3768
  */
3769
- 500: BodhiApiError;
3769
+ 500: BodhiErrorResponse;
3770
3770
  };
3771
3771
 
3772
3772
  export type SyncModelsError = SyncModelsErrors[keyof SyncModelsErrors];
@@ -3808,19 +3808,19 @@ export type ListModelFilesErrors = {
3808
3808
  /**
3809
3809
  * Invalid request parameters
3810
3810
  */
3811
- 400: BodhiApiError;
3811
+ 400: BodhiErrorResponse;
3812
3812
  /**
3813
3813
  * Not authenticated
3814
3814
  */
3815
- 401: BodhiApiError;
3815
+ 401: BodhiErrorResponse;
3816
3816
  /**
3817
3817
  * Insufficient permissions
3818
3818
  */
3819
- 403: BodhiApiError;
3819
+ 403: BodhiErrorResponse;
3820
3820
  /**
3821
3821
  * Internal server error
3822
3822
  */
3823
- 500: BodhiApiError;
3823
+ 500: BodhiErrorResponse;
3824
3824
  };
3825
3825
 
3826
3826
  export type ListModelFilesError = ListModelFilesErrors[keyof ListModelFilesErrors];
@@ -3862,19 +3862,19 @@ export type ListDownloadsErrors = {
3862
3862
  /**
3863
3863
  * Invalid request parameters
3864
3864
  */
3865
- 400: BodhiApiError;
3865
+ 400: BodhiErrorResponse;
3866
3866
  /**
3867
3867
  * Not authenticated
3868
3868
  */
3869
- 401: BodhiApiError;
3869
+ 401: BodhiErrorResponse;
3870
3870
  /**
3871
3871
  * Insufficient permissions
3872
3872
  */
3873
- 403: BodhiApiError;
3873
+ 403: BodhiErrorResponse;
3874
3874
  /**
3875
3875
  * Internal server error
3876
3876
  */
3877
- 500: BodhiApiError;
3877
+ 500: BodhiErrorResponse;
3878
3878
  };
3879
3879
 
3880
3880
  export type ListDownloadsError = ListDownloadsErrors[keyof ListDownloadsErrors];
@@ -3902,19 +3902,19 @@ export type PullModelFileErrors = {
3902
3902
  /**
3903
3903
  * Invalid request parameters
3904
3904
  */
3905
- 400: BodhiApiError;
3905
+ 400: BodhiErrorResponse;
3906
3906
  /**
3907
3907
  * Not authenticated
3908
3908
  */
3909
- 401: BodhiApiError;
3909
+ 401: BodhiErrorResponse;
3910
3910
  /**
3911
3911
  * Insufficient permissions
3912
3912
  */
3913
- 403: BodhiApiError;
3913
+ 403: BodhiErrorResponse;
3914
3914
  /**
3915
3915
  * Internal server error
3916
3916
  */
3917
- 500: BodhiApiError;
3917
+ 500: BodhiErrorResponse;
3918
3918
  };
3919
3919
 
3920
3920
  export type PullModelFileError = PullModelFileErrors[keyof PullModelFileErrors];
@@ -3948,23 +3948,23 @@ export type GetDownloadStatusErrors = {
3948
3948
  /**
3949
3949
  * Invalid request parameters
3950
3950
  */
3951
- 400: BodhiApiError;
3951
+ 400: BodhiErrorResponse;
3952
3952
  /**
3953
3953
  * Not authenticated
3954
3954
  */
3955
- 401: BodhiApiError;
3955
+ 401: BodhiErrorResponse;
3956
3956
  /**
3957
3957
  * Insufficient permissions
3958
3958
  */
3959
- 403: BodhiApiError;
3959
+ 403: BodhiErrorResponse;
3960
3960
  /**
3961
3961
  * Download request not found
3962
3962
  */
3963
- 404: BodhiApiError;
3963
+ 404: BodhiErrorResponse;
3964
3964
  /**
3965
3965
  * Internal server error
3966
3966
  */
3967
- 500: BodhiApiError;
3967
+ 500: BodhiErrorResponse;
3968
3968
  };
3969
3969
 
3970
3970
  export type GetDownloadStatusError = GetDownloadStatusErrors[keyof GetDownloadStatusErrors];
@@ -3992,15 +3992,15 @@ export type RefreshModelMetadataErrors = {
3992
3992
  /**
3993
3993
  * Invalid request parameters
3994
3994
  */
3995
- 400: BodhiApiError;
3995
+ 400: BodhiErrorResponse;
3996
3996
  /**
3997
3997
  * Not authenticated
3998
3998
  */
3999
- 401: BodhiApiError;
3999
+ 401: BodhiErrorResponse;
4000
4000
  /**
4001
4001
  * Insufficient permissions
4002
4002
  */
4003
- 403: BodhiApiError;
4003
+ 403: BodhiErrorResponse;
4004
4004
  /**
4005
4005
  * Model alias not found for specified repo/filename/snapshot
4006
4006
  */
@@ -4008,7 +4008,7 @@ export type RefreshModelMetadataErrors = {
4008
4008
  /**
4009
4009
  * Internal server error
4010
4010
  */
4011
- 500: BodhiApiError;
4011
+ 500: BodhiErrorResponse;
4012
4012
  };
4013
4013
 
4014
4014
  export type RefreshModelMetadataError = RefreshModelMetadataErrors[keyof RefreshModelMetadataErrors];
@@ -4042,23 +4042,23 @@ export type GetAliasErrors = {
4042
4042
  /**
4043
4043
  * Invalid request parameters
4044
4044
  */
4045
- 400: BodhiApiError;
4045
+ 400: BodhiErrorResponse;
4046
4046
  /**
4047
4047
  * Not authenticated
4048
4048
  */
4049
- 401: BodhiApiError;
4049
+ 401: BodhiErrorResponse;
4050
4050
  /**
4051
4051
  * Insufficient permissions
4052
4052
  */
4053
- 403: BodhiApiError;
4053
+ 403: BodhiErrorResponse;
4054
4054
  /**
4055
4055
  * Alias not found
4056
4056
  */
4057
- 404: BodhiApiError;
4057
+ 404: BodhiErrorResponse;
4058
4058
  /**
4059
4059
  * Internal server error
4060
4060
  */
4061
- 500: BodhiApiError;
4061
+ 500: BodhiErrorResponse;
4062
4062
  };
4063
4063
 
4064
4064
  export type GetAliasError = GetAliasErrors[keyof GetAliasErrors];
@@ -4083,19 +4083,19 @@ export type GetQueueStatusErrors = {
4083
4083
  /**
4084
4084
  * Invalid request parameters
4085
4085
  */
4086
- 400: BodhiApiError;
4086
+ 400: BodhiErrorResponse;
4087
4087
  /**
4088
4088
  * Not authenticated
4089
4089
  */
4090
- 401: BodhiApiError;
4090
+ 401: BodhiErrorResponse;
4091
4091
  /**
4092
4092
  * Insufficient permissions
4093
4093
  */
4094
- 403: BodhiApiError;
4094
+ 403: BodhiErrorResponse;
4095
4095
  /**
4096
4096
  * Internal server error
4097
4097
  */
4098
- 500: BodhiApiError;
4098
+ 500: BodhiErrorResponse;
4099
4099
  };
4100
4100
 
4101
4101
  export type GetQueueStatusError = GetQueueStatusErrors[keyof GetQueueStatusErrors];
@@ -4120,19 +4120,19 @@ export type ListSettingsErrors = {
4120
4120
  /**
4121
4121
  * Invalid request parameters
4122
4122
  */
4123
- 400: BodhiApiError;
4123
+ 400: BodhiErrorResponse;
4124
4124
  /**
4125
4125
  * Not authenticated
4126
4126
  */
4127
- 401: BodhiApiError;
4127
+ 401: BodhiErrorResponse;
4128
4128
  /**
4129
4129
  * Insufficient permissions
4130
4130
  */
4131
- 403: BodhiApiError;
4131
+ 403: BodhiErrorResponse;
4132
4132
  /**
4133
4133
  * Internal server error
4134
4134
  */
4135
- 500: BodhiApiError;
4135
+ 500: BodhiErrorResponse;
4136
4136
  };
4137
4137
 
4138
4138
  export type ListSettingsError = ListSettingsErrors[keyof ListSettingsErrors];
@@ -4162,23 +4162,23 @@ export type DeleteSettingErrors = {
4162
4162
  /**
4163
4163
  * Invalid request parameters
4164
4164
  */
4165
- 400: BodhiApiError;
4165
+ 400: BodhiErrorResponse;
4166
4166
  /**
4167
4167
  * Not authenticated
4168
4168
  */
4169
- 401: BodhiApiError;
4169
+ 401: BodhiErrorResponse;
4170
4170
  /**
4171
4171
  * Insufficient permissions
4172
4172
  */
4173
- 403: BodhiApiError;
4173
+ 403: BodhiErrorResponse;
4174
4174
  /**
4175
4175
  * Setting not found
4176
4176
  */
4177
- 404: BodhiApiError;
4177
+ 404: BodhiErrorResponse;
4178
4178
  /**
4179
4179
  * Internal server error
4180
4180
  */
4181
- 500: BodhiApiError;
4181
+ 500: BodhiErrorResponse;
4182
4182
  };
4183
4183
 
4184
4184
  export type DeleteSettingError = DeleteSettingErrors[keyof DeleteSettingErrors];
@@ -4216,23 +4216,23 @@ export type UpdateSettingErrors = {
4216
4216
  /**
4217
4217
  * Invalid request parameters
4218
4218
  */
4219
- 400: BodhiApiError;
4219
+ 400: BodhiErrorResponse;
4220
4220
  /**
4221
4221
  * Not authenticated
4222
4222
  */
4223
- 401: BodhiApiError;
4223
+ 401: BodhiErrorResponse;
4224
4224
  /**
4225
4225
  * Insufficient permissions
4226
4226
  */
4227
- 403: BodhiApiError;
4227
+ 403: BodhiErrorResponse;
4228
4228
  /**
4229
4229
  * Setting not found
4230
4230
  */
4231
- 404: BodhiApiError;
4231
+ 404: BodhiErrorResponse;
4232
4232
  /**
4233
4233
  * Internal server error
4234
4234
  */
4235
- 500: BodhiApiError;
4235
+ 500: BodhiErrorResponse;
4236
4236
  };
4237
4237
 
4238
4238
  export type UpdateSettingError = UpdateSettingErrors[keyof UpdateSettingErrors];
@@ -4260,11 +4260,11 @@ export type SetupAppErrors = {
4260
4260
  /**
4261
4261
  * Invalid request parameters
4262
4262
  */
4263
- 400: BodhiApiError;
4263
+ 400: BodhiErrorResponse;
4264
4264
  /**
4265
4265
  * Internal server error
4266
4266
  */
4267
- 500: BodhiApiError;
4267
+ 500: BodhiErrorResponse;
4268
4268
  };
4269
4269
 
4270
4270
  export type SetupAppError = SetupAppErrors[keyof SetupAppErrors];
@@ -4289,19 +4289,19 @@ export type TenantsListErrors = {
4289
4289
  /**
4290
4290
  * Invalid request parameters
4291
4291
  */
4292
- 400: BodhiApiError;
4292
+ 400: BodhiErrorResponse;
4293
4293
  /**
4294
4294
  * Not authenticated
4295
4295
  */
4296
- 401: BodhiApiError;
4296
+ 401: BodhiErrorResponse;
4297
4297
  /**
4298
4298
  * Insufficient permissions
4299
4299
  */
4300
- 403: BodhiApiError;
4300
+ 403: BodhiErrorResponse;
4301
4301
  /**
4302
4302
  * Internal server error
4303
4303
  */
4304
- 500: BodhiApiError;
4304
+ 500: BodhiErrorResponse;
4305
4305
  };
4306
4306
 
4307
4307
  export type TenantsListError = TenantsListErrors[keyof TenantsListErrors];
@@ -4329,19 +4329,19 @@ export type TenantsCreateErrors = {
4329
4329
  /**
4330
4330
  * Invalid request parameters
4331
4331
  */
4332
- 400: BodhiApiError;
4332
+ 400: BodhiErrorResponse;
4333
4333
  /**
4334
4334
  * Not authenticated
4335
4335
  */
4336
- 401: BodhiApiError;
4336
+ 401: BodhiErrorResponse;
4337
4337
  /**
4338
4338
  * Insufficient permissions
4339
4339
  */
4340
- 403: BodhiApiError;
4340
+ 403: BodhiErrorResponse;
4341
4341
  /**
4342
4342
  * Internal server error
4343
4343
  */
4344
- 500: BodhiApiError;
4344
+ 500: BodhiErrorResponse;
4345
4345
  };
4346
4346
 
4347
4347
  export type TenantsCreateError = TenantsCreateErrors[keyof TenantsCreateErrors];
@@ -4371,19 +4371,19 @@ export type TenantsActivateErrors = {
4371
4371
  /**
4372
4372
  * Invalid request parameters
4373
4373
  */
4374
- 400: BodhiApiError;
4374
+ 400: BodhiErrorResponse;
4375
4375
  /**
4376
4376
  * Not authenticated
4377
4377
  */
4378
- 401: BodhiApiError;
4378
+ 401: BodhiErrorResponse;
4379
4379
  /**
4380
4380
  * Insufficient permissions
4381
4381
  */
4382
- 403: BodhiApiError;
4382
+ 403: BodhiErrorResponse;
4383
4383
  /**
4384
4384
  * Internal server error
4385
4385
  */
4386
- 500: BodhiApiError;
4386
+ 500: BodhiErrorResponse;
4387
4387
  };
4388
4388
 
4389
4389
  export type TenantsActivateError = TenantsActivateErrors[keyof TenantsActivateErrors];
@@ -4423,19 +4423,19 @@ export type ListApiTokensErrors = {
4423
4423
  /**
4424
4424
  * Invalid request parameters
4425
4425
  */
4426
- 400: BodhiApiError;
4426
+ 400: BodhiErrorResponse;
4427
4427
  /**
4428
4428
  * Not authenticated
4429
4429
  */
4430
- 401: BodhiApiError;
4430
+ 401: BodhiErrorResponse;
4431
4431
  /**
4432
4432
  * Insufficient permissions
4433
4433
  */
4434
- 403: BodhiApiError;
4434
+ 403: BodhiErrorResponse;
4435
4435
  /**
4436
4436
  * Internal server error
4437
4437
  */
4438
- 500: BodhiApiError;
4438
+ 500: BodhiErrorResponse;
4439
4439
  };
4440
4440
 
4441
4441
  export type ListApiTokensError = ListApiTokensErrors[keyof ListApiTokensErrors];
@@ -4463,19 +4463,19 @@ export type CreateApiTokenErrors = {
4463
4463
  /**
4464
4464
  * Invalid request parameters
4465
4465
  */
4466
- 400: BodhiApiError;
4466
+ 400: BodhiErrorResponse;
4467
4467
  /**
4468
4468
  * Not authenticated
4469
4469
  */
4470
- 401: BodhiApiError;
4470
+ 401: BodhiErrorResponse;
4471
4471
  /**
4472
4472
  * Insufficient permissions
4473
4473
  */
4474
- 403: BodhiApiError;
4474
+ 403: BodhiErrorResponse;
4475
4475
  /**
4476
4476
  * Internal server error
4477
4477
  */
4478
- 500: BodhiApiError;
4478
+ 500: BodhiErrorResponse;
4479
4479
  };
4480
4480
 
4481
4481
  export type CreateApiTokenError = CreateApiTokenErrors[keyof CreateApiTokenErrors];
@@ -4508,23 +4508,23 @@ export type UpdateApiTokenErrors = {
4508
4508
  /**
4509
4509
  * Invalid request parameters
4510
4510
  */
4511
- 400: BodhiApiError;
4511
+ 400: BodhiErrorResponse;
4512
4512
  /**
4513
4513
  * Not authenticated
4514
4514
  */
4515
- 401: BodhiApiError;
4515
+ 401: BodhiErrorResponse;
4516
4516
  /**
4517
4517
  * Insufficient permissions
4518
4518
  */
4519
- 403: BodhiApiError;
4519
+ 403: BodhiErrorResponse;
4520
4520
  /**
4521
4521
  * Token not found
4522
4522
  */
4523
- 404: BodhiApiError;
4523
+ 404: BodhiErrorResponse;
4524
4524
  /**
4525
4525
  * Internal server error
4526
4526
  */
4527
- 500: BodhiApiError;
4527
+ 500: BodhiErrorResponse;
4528
4528
  };
4529
4529
 
4530
4530
  export type UpdateApiTokenError = UpdateApiTokenErrors[keyof UpdateApiTokenErrors];
@@ -4549,19 +4549,19 @@ export type GetCurrentUserErrors = {
4549
4549
  /**
4550
4550
  * Invalid request parameters
4551
4551
  */
4552
- 400: BodhiApiError;
4552
+ 400: BodhiErrorResponse;
4553
4553
  /**
4554
4554
  * Not authenticated
4555
4555
  */
4556
- 401: BodhiApiError;
4556
+ 401: BodhiErrorResponse;
4557
4557
  /**
4558
4558
  * Insufficient permissions
4559
4559
  */
4560
- 403: BodhiApiError;
4560
+ 403: BodhiErrorResponse;
4561
4561
  /**
4562
4562
  * Internal server error
4563
4563
  */
4564
- 500: BodhiApiError;
4564
+ 500: BodhiErrorResponse;
4565
4565
  };
4566
4566
 
4567
4567
  export type GetCurrentUserError = GetCurrentUserErrors[keyof GetCurrentUserErrors];
@@ -4586,27 +4586,27 @@ export type RequestUserAccessErrors = {
4586
4586
  /**
4587
4587
  * Invalid request parameters
4588
4588
  */
4589
- 400: BodhiApiError;
4589
+ 400: BodhiErrorResponse;
4590
4590
  /**
4591
4591
  * Not authenticated
4592
4592
  */
4593
- 401: BodhiApiError;
4593
+ 401: BodhiErrorResponse;
4594
4594
  /**
4595
4595
  * Insufficient permissions
4596
4596
  */
4597
- 403: BodhiApiError;
4597
+ 403: BodhiErrorResponse;
4598
4598
  /**
4599
4599
  * Pending request already exists
4600
4600
  */
4601
- 409: BodhiApiError;
4601
+ 409: BodhiErrorResponse;
4602
4602
  /**
4603
4603
  * User already has role
4604
4604
  */
4605
- 422: BodhiApiError;
4605
+ 422: BodhiErrorResponse;
4606
4606
  /**
4607
4607
  * Internal server error
4608
4608
  */
4609
- 500: BodhiApiError;
4609
+ 500: BodhiErrorResponse;
4610
4610
  };
4611
4611
 
4612
4612
  export type RequestUserAccessError = RequestUserAccessErrors[keyof RequestUserAccessErrors];
@@ -4629,23 +4629,23 @@ export type GetUserAccessStatusErrors = {
4629
4629
  /**
4630
4630
  * Invalid request parameters
4631
4631
  */
4632
- 400: BodhiApiError;
4632
+ 400: BodhiErrorResponse;
4633
4633
  /**
4634
4634
  * Not authenticated
4635
4635
  */
4636
- 401: BodhiApiError;
4636
+ 401: BodhiErrorResponse;
4637
4637
  /**
4638
4638
  * Insufficient permissions
4639
4639
  */
4640
- 403: BodhiApiError;
4640
+ 403: BodhiErrorResponse;
4641
4641
  /**
4642
4642
  * Request not found
4643
4643
  */
4644
- 404: BodhiApiError;
4644
+ 404: BodhiErrorResponse;
4645
4645
  /**
4646
4646
  * Internal server error
4647
4647
  */
4648
- 500: BodhiApiError;
4648
+ 500: BodhiErrorResponse;
4649
4649
  };
4650
4650
 
4651
4651
  export type GetUserAccessStatusError = GetUserAccessStatusErrors[keyof GetUserAccessStatusErrors];
@@ -4679,19 +4679,19 @@ export type ListUsersErrors = {
4679
4679
  /**
4680
4680
  * Invalid request parameters
4681
4681
  */
4682
- 400: BodhiApiError;
4682
+ 400: BodhiErrorResponse;
4683
4683
  /**
4684
4684
  * Not authenticated
4685
4685
  */
4686
- 401: BodhiApiError;
4686
+ 401: BodhiErrorResponse;
4687
4687
  /**
4688
4688
  * Insufficient permissions
4689
4689
  */
4690
- 403: BodhiApiError;
4690
+ 403: BodhiErrorResponse;
4691
4691
  /**
4692
4692
  * Internal server error
4693
4693
  */
4694
- 500: BodhiApiError;
4694
+ 500: BodhiErrorResponse;
4695
4695
  };
4696
4696
 
4697
4697
  export type ListUsersError = ListUsersErrors[keyof ListUsersErrors];
@@ -4721,23 +4721,23 @@ export type RemoveUserErrors = {
4721
4721
  /**
4722
4722
  * Invalid request parameters
4723
4723
  */
4724
- 400: BodhiApiError;
4724
+ 400: BodhiErrorResponse;
4725
4725
  /**
4726
4726
  * Not authenticated
4727
4727
  */
4728
- 401: BodhiApiError;
4728
+ 401: BodhiErrorResponse;
4729
4729
  /**
4730
4730
  * Insufficient permissions
4731
4731
  */
4732
- 403: BodhiApiError;
4732
+ 403: BodhiErrorResponse;
4733
4733
  /**
4734
4734
  * User not found
4735
4735
  */
4736
- 404: BodhiApiError;
4736
+ 404: BodhiErrorResponse;
4737
4737
  /**
4738
4738
  * Internal server error
4739
4739
  */
4740
- 500: BodhiApiError;
4740
+ 500: BodhiErrorResponse;
4741
4741
  };
4742
4742
 
4743
4743
  export type RemoveUserError = RemoveUserErrors[keyof RemoveUserErrors];
@@ -4765,23 +4765,23 @@ export type ChangeUserRoleErrors = {
4765
4765
  /**
4766
4766
  * Invalid request parameters
4767
4767
  */
4768
- 400: BodhiApiError;
4768
+ 400: BodhiErrorResponse;
4769
4769
  /**
4770
4770
  * Not authenticated
4771
4771
  */
4772
- 401: BodhiApiError;
4772
+ 401: BodhiErrorResponse;
4773
4773
  /**
4774
4774
  * Insufficient permissions
4775
4775
  */
4776
- 403: BodhiApiError;
4776
+ 403: BodhiErrorResponse;
4777
4777
  /**
4778
4778
  * User not found
4779
4779
  */
4780
- 404: BodhiApiError;
4780
+ 404: BodhiErrorResponse;
4781
4781
  /**
4782
4782
  * Internal server error
4783
4783
  */
4784
- 500: BodhiApiError;
4784
+ 500: BodhiErrorResponse;
4785
4785
  };
4786
4786
 
4787
4787
  export type ChangeUserRoleError = ChangeUserRoleErrors[keyof ChangeUserRoleErrors];
@@ -4804,11 +4804,11 @@ export type HealthCheckErrors = {
4804
4804
  /**
4805
4805
  * Invalid request parameters
4806
4806
  */
4807
- 400: BodhiApiError;
4807
+ 400: BodhiErrorResponse;
4808
4808
  /**
4809
4809
  * Internal server error
4810
4810
  */
4811
- 500: BodhiApiError;
4811
+ 500: BodhiErrorResponse;
4812
4812
  };
4813
4813
 
4814
4814
  export type HealthCheckError = HealthCheckErrors[keyof HealthCheckErrors];
@@ -4833,11 +4833,11 @@ export type PingServerErrors = {
4833
4833
  /**
4834
4834
  * Invalid request parameters
4835
4835
  */
4836
- 400: BodhiApiError;
4836
+ 400: BodhiErrorResponse;
4837
4837
  /**
4838
4838
  * Internal server error
4839
4839
  */
4840
- 500: BodhiApiError;
4840
+ 500: BodhiErrorResponse;
4841
4841
  };
4842
4842
 
4843
4843
  export type PingServerError = PingServerErrors[keyof PingServerErrors];