chore: generate
This commit is contained in:
@@ -131,6 +131,7 @@ import type {
|
||||
SessionDeleteResponses,
|
||||
SessionDelivery,
|
||||
SessionDiffResponses,
|
||||
SessionForkErrors,
|
||||
SessionForkResponses,
|
||||
SessionGetErrors,
|
||||
SessionGetResponses,
|
||||
@@ -3320,7 +3321,7 @@ export class Session2 extends HeyApiClient {
|
||||
},
|
||||
],
|
||||
)
|
||||
return (options?.client ?? this.client).post<SessionForkResponses, unknown, ThrowOnError>({
|
||||
return (options?.client ?? this.client).post<SessionForkResponses, SessionForkErrors, ThrowOnError>({
|
||||
url: "/session/{sessionID}/fork",
|
||||
...options,
|
||||
...params,
|
||||
|
||||
@@ -1561,6 +1561,13 @@ export type McpUnsupportedOAuthError = {
|
||||
error: string
|
||||
}
|
||||
|
||||
export type NotFoundError = {
|
||||
name: "NotFoundError"
|
||||
data: {
|
||||
message: string
|
||||
}
|
||||
}
|
||||
|
||||
export type EffectHttpApiErrorForbidden = {
|
||||
_tag: "Forbidden"
|
||||
}
|
||||
@@ -3224,13 +3231,6 @@ export type BadRequestError = {
|
||||
success: false
|
||||
}
|
||||
|
||||
export type NotFoundError = {
|
||||
name: "NotFoundError"
|
||||
data: {
|
||||
message: string
|
||||
}
|
||||
}
|
||||
|
||||
export type AuthRemoveData = {
|
||||
body?: never
|
||||
path: {
|
||||
@@ -4571,7 +4571,7 @@ export type PtyRemoveData = {
|
||||
|
||||
export type PtyRemoveErrors = {
|
||||
/**
|
||||
* Not found
|
||||
* NotFoundError
|
||||
*/
|
||||
404: NotFoundError
|
||||
}
|
||||
@@ -4601,7 +4601,7 @@ export type PtyGetData = {
|
||||
|
||||
export type PtyGetErrors = {
|
||||
/**
|
||||
* Not found
|
||||
* NotFoundError
|
||||
*/
|
||||
404: NotFoundError
|
||||
}
|
||||
@@ -4671,7 +4671,7 @@ export type PtyConnectTokenErrors = {
|
||||
*/
|
||||
403: EffectHttpApiErrorForbidden
|
||||
/**
|
||||
* Not found
|
||||
* NotFoundError
|
||||
*/
|
||||
404: NotFoundError
|
||||
}
|
||||
@@ -5070,7 +5070,7 @@ export type SessionDeleteErrors = {
|
||||
*/
|
||||
400: BadRequestError
|
||||
/**
|
||||
* Not found
|
||||
* NotFoundError
|
||||
*/
|
||||
404: NotFoundError
|
||||
}
|
||||
@@ -5104,7 +5104,7 @@ export type SessionGetErrors = {
|
||||
*/
|
||||
400: BadRequestError
|
||||
/**
|
||||
* Not found
|
||||
* NotFoundError
|
||||
*/
|
||||
404: NotFoundError
|
||||
}
|
||||
@@ -5144,7 +5144,7 @@ export type SessionUpdateErrors = {
|
||||
*/
|
||||
400: BadRequestError
|
||||
/**
|
||||
* Not found
|
||||
* NotFoundError
|
||||
*/
|
||||
404: NotFoundError
|
||||
}
|
||||
@@ -5270,7 +5270,7 @@ export type SessionMessagesErrors = {
|
||||
*/
|
||||
400: BadRequestError
|
||||
/**
|
||||
* Not found
|
||||
* NotFoundError
|
||||
*/
|
||||
404: NotFoundError
|
||||
}
|
||||
@@ -5395,7 +5395,7 @@ export type SessionMessageErrors = {
|
||||
*/
|
||||
400: BadRequestError
|
||||
/**
|
||||
* Not found
|
||||
* NotFoundError
|
||||
*/
|
||||
404: NotFoundError
|
||||
}
|
||||
@@ -5428,6 +5428,15 @@ export type SessionForkData = {
|
||||
url: "/session/{sessionID}/fork"
|
||||
}
|
||||
|
||||
export type SessionForkErrors = {
|
||||
/**
|
||||
* NotFoundError
|
||||
*/
|
||||
404: NotFoundError
|
||||
}
|
||||
|
||||
export type SessionForkError = SessionForkErrors[keyof SessionForkErrors]
|
||||
|
||||
export type SessionForkResponses = {
|
||||
/**
|
||||
* 200
|
||||
@@ -5527,7 +5536,7 @@ export type SessionUnshareErrors = {
|
||||
*/
|
||||
400: BadRequestError
|
||||
/**
|
||||
* Not found
|
||||
* NotFoundError
|
||||
*/
|
||||
404: NotFoundError
|
||||
}
|
||||
@@ -5561,7 +5570,7 @@ export type SessionShareErrors = {
|
||||
*/
|
||||
400: BadRequestError
|
||||
/**
|
||||
* Not found
|
||||
* NotFoundError
|
||||
*/
|
||||
404: NotFoundError
|
||||
}
|
||||
@@ -5599,7 +5608,7 @@ export type SessionSummarizeErrors = {
|
||||
*/
|
||||
400: BadRequestError
|
||||
/**
|
||||
* Not found
|
||||
* NotFoundError
|
||||
*/
|
||||
404: NotFoundError
|
||||
}
|
||||
@@ -6463,7 +6472,7 @@ export type TuiSelectSessionErrors = {
|
||||
*/
|
||||
400: BadRequestError
|
||||
/**
|
||||
* Not found
|
||||
* NotFoundError
|
||||
*/
|
||||
404: NotFoundError
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user