|
|
@@ -197,17 +197,23 @@ import type {
|
|
|
TuiSelectSessionResponses,
|
|
|
TuiShowToastResponses,
|
|
|
TuiSubmitPromptResponses,
|
|
|
+ V2ModelListErrors,
|
|
|
V2ModelListResponses,
|
|
|
V2ProviderGetErrors,
|
|
|
V2ProviderGetResponses,
|
|
|
+ V2ProviderListErrors,
|
|
|
V2ProviderListResponses,
|
|
|
+ V2SessionCompactErrors,
|
|
|
V2SessionCompactResponses,
|
|
|
+ V2SessionContextErrors,
|
|
|
V2SessionContextResponses,
|
|
|
V2SessionListErrors,
|
|
|
V2SessionListResponses,
|
|
|
V2SessionMessagesErrors,
|
|
|
V2SessionMessagesResponses,
|
|
|
+ V2SessionPromptErrors,
|
|
|
V2SessionPromptResponses,
|
|
|
+ V2SessionWaitErrors,
|
|
|
V2SessionWaitResponses,
|
|
|
VcsApplyErrors,
|
|
|
VcsApplyResponses,
|
|
|
@@ -4232,7 +4238,7 @@ export class Session3 extends HeyApiClient {
|
|
|
},
|
|
|
],
|
|
|
)
|
|
|
- return (options?.client ?? this.client).post<V2SessionPromptResponses, unknown, ThrowOnError>({
|
|
|
+ return (options?.client ?? this.client).post<V2SessionPromptResponses, V2SessionPromptErrors, ThrowOnError>({
|
|
|
url: "/api/session/{sessionID}/prompt",
|
|
|
...options,
|
|
|
...params,
|
|
|
@@ -4269,7 +4275,7 @@ export class Session3 extends HeyApiClient {
|
|
|
},
|
|
|
],
|
|
|
)
|
|
|
- return (options?.client ?? this.client).post<V2SessionCompactResponses, unknown, ThrowOnError>({
|
|
|
+ return (options?.client ?? this.client).post<V2SessionCompactResponses, V2SessionCompactErrors, ThrowOnError>({
|
|
|
url: "/api/session/{sessionID}/compact",
|
|
|
...options,
|
|
|
...params,
|
|
|
@@ -4301,7 +4307,7 @@ export class Session3 extends HeyApiClient {
|
|
|
},
|
|
|
],
|
|
|
)
|
|
|
- return (options?.client ?? this.client).post<V2SessionWaitResponses, unknown, ThrowOnError>({
|
|
|
+ return (options?.client ?? this.client).post<V2SessionWaitResponses, V2SessionWaitErrors, ThrowOnError>({
|
|
|
url: "/api/session/{sessionID}/wait",
|
|
|
...options,
|
|
|
...params,
|
|
|
@@ -4333,7 +4339,7 @@ export class Session3 extends HeyApiClient {
|
|
|
},
|
|
|
],
|
|
|
)
|
|
|
- return (options?.client ?? this.client).get<V2SessionContextResponses, unknown, ThrowOnError>({
|
|
|
+ return (options?.client ?? this.client).get<V2SessionContextResponses, V2SessionContextErrors, ThrowOnError>({
|
|
|
url: "/api/session/{sessionID}/context",
|
|
|
...options,
|
|
|
...params,
|
|
|
@@ -4395,7 +4401,7 @@ export class Model extends HeyApiClient {
|
|
|
options?: Options<never, ThrowOnError>,
|
|
|
) {
|
|
|
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "location" }] }])
|
|
|
- return (options?.client ?? this.client).get<V2ModelListResponses, unknown, ThrowOnError>({
|
|
|
+ return (options?.client ?? this.client).get<V2ModelListResponses, V2ModelListErrors, ThrowOnError>({
|
|
|
url: "/api/model",
|
|
|
...options,
|
|
|
...params,
|
|
|
@@ -4419,7 +4425,7 @@ export class Provider2 extends HeyApiClient {
|
|
|
options?: Options<never, ThrowOnError>,
|
|
|
) {
|
|
|
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "location" }] }])
|
|
|
- return (options?.client ?? this.client).get<V2ProviderListResponses, unknown, ThrowOnError>({
|
|
|
+ return (options?.client ?? this.client).get<V2ProviderListResponses, V2ProviderListErrors, ThrowOnError>({
|
|
|
url: "/api/provider",
|
|
|
...options,
|
|
|
...params,
|