@opencode-ai/sdk 0.0.0-next-202606271755 → 0.0.0-next-202606280005
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.
- package/dist/v2/gen/sdk.gen.d.ts +10 -1
- package/dist/v2/gen/sdk.gen.js +25 -0
- package/dist/v2/gen/types.gen.d.ts +115 -3
- package/package.json +1 -1
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
|
|
2
|
-
import type { AgentPartInput, AppAgentsErrors, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsErrors, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListErrors, CommandListResponses, Config as Config3, ConfigGetErrors, ConfigGetResponses, ConfigProvidersErrors, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalCapabilitiesGetErrors, ExperimentalCapabilitiesGetResponses, ExperimentalConsoleGetErrors, ExperimentalConsoleGetResponses, ExperimentalConsoleListOrgsErrors, ExperimentalConsoleListOrgsResponses, ExperimentalConsoleSwitchOrgResponses, ExperimentalControlPlaneMoveSessionErrors, ExperimentalControlPlaneMoveSessionResponses, ExperimentalProjectCopyGenerateNameErrors, ExperimentalProjectCopyGenerateNameResponses, ExperimentalResourceListErrors, ExperimentalResourceListResponses, ExperimentalSessionBackgroundErrors, ExperimentalSessionBackgroundResponses, ExperimentalSessionListErrors, ExperimentalSessionListResponses, ExperimentalWorkspaceAdapterListErrors, ExperimentalWorkspaceAdapterListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListErrors, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceStatusErrors, ExperimentalWorkspaceStatusResponses, ExperimentalWorkspaceSyncListErrors, ExperimentalWorkspaceSyncListResponses, ExperimentalWorkspaceWarpErrors, ExperimentalWorkspaceWarpResponses, FileListErrors, FileListResponses, FilePartInput, FilePartSource, FileReadErrors, FileReadResponses, FileStatusErrors, FileStatusResponses, FindFilesErrors, FindFilesResponses, FindSymbolsErrors, FindSymbolsResponses, FindTextErrors, FindTextResponses, FormatterStatusErrors, FormatterStatusResponses, GlobalConfigGetErrors, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeErrors, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthErrors, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, InstanceDisposeErrors, InstanceDisposeResponses, LocationRef, LspStatusErrors, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectErrors, McpConnectResponses, McpDisconnectErrors, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusErrors, McpStatusResponses, ModelRef, MoveSessionDestination, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetErrors, PathGetResponses, PermissionListErrors, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionV2Reply, PermissionV2Source, ProjectCommands, ProjectCurrentErrors, ProjectCurrentResponses, ProjectDirectoriesErrors, ProjectDirectoriesResponses, ProjectIcon, ProjectInitGitErrors, ProjectInitGitResponses, ProjectListErrors, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, PromptInput, ProviderAuthErrors, ProviderAuthResponses, ProviderListErrors, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyConnectTokenErrors, PtyConnectTokenResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListErrors, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyShellsErrors, PtyShellsResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListErrors, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, QuestionV2Reply, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteMessageErrors, SessionDeleteMessageResponses, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionForkErrors, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListErrors, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SubtaskPartInput, SyncHistoryListErrors, SyncHistoryListResponses, SyncReplayErrors, SyncReplayResponses, SyncStartErrors, SyncStartResponses, SyncStealErrors, SyncStealResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptErrors, TuiClearPromptResponses, TuiControlNextErrors, TuiControlNextResponses, TuiControlResponseErrors, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpErrors, TuiOpenHelpResponses, TuiOpenModelsErrors, TuiOpenModelsResponses, TuiOpenSessionsErrors, TuiOpenSessionsResponses, TuiOpenThemesErrors, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastErrors, TuiShowToastResponses, TuiSubmitPromptErrors, TuiSubmitPromptResponses, V2AgentListErrors, V2AgentListResponses, V2CommandListErrors, V2CommandListResponses, V2CredentialRemoveErrors, V2CredentialRemoveResponses, V2CredentialUpdateErrors, V2CredentialUpdateResponses, V2EventSubscribeResponses, V2FsFindErrors, V2FsFindResponses, V2FsListErrors, V2FsListResponses, V2FsReadErrors, V2FsReadResponses, V2HealthGetErrors, V2HealthGetResponses, V2IntegrationAttemptCancelErrors, V2IntegrationAttemptCancelResponses, V2IntegrationAttemptCompleteErrors, V2IntegrationAttemptCompleteResponses, V2IntegrationAttemptStatusErrors, V2IntegrationAttemptStatusResponses, V2IntegrationConnectKeyErrors, V2IntegrationConnectKeyResponses, V2IntegrationConnectOauthErrors, V2IntegrationConnectOauthResponses, V2IntegrationGetErrors, V2IntegrationGetResponses, V2IntegrationListErrors, V2IntegrationListResponses, V2LocationGetErrors, V2LocationGetResponses, V2ModelListErrors, V2ModelListResponses, V2PermissionRequestListErrors, V2PermissionRequestListResponses, V2PermissionSavedListErrors, V2PermissionSavedListResponses, V2PermissionSavedRemoveErrors, V2PermissionSavedRemoveResponses, V2ProjectCopyCreateErrors, V2ProjectCopyCreateResponses, V2ProjectCopyRefreshErrors, V2ProjectCopyRefreshResponses, V2ProjectCopyRemoveErrors, V2ProjectCopyRemoveResponses, V2ProviderGetErrors, V2ProviderGetResponses, V2ProviderListErrors, V2ProviderListResponses, V2PtyConnectErrors, V2PtyConnectResponses, V2PtyConnectTokenErrors, V2PtyConnectTokenResponses, V2PtyCreateErrors, V2PtyCreateResponses, V2PtyGetErrors, V2PtyGetResponses, V2PtyListErrors, V2PtyListResponses, V2PtyRemoveErrors, V2PtyRemoveResponses, V2PtyUpdateErrors, V2PtyUpdateResponses, V2QuestionRequestListErrors, V2QuestionRequestListResponses, V2ReferenceListErrors, V2ReferenceListResponses, V2SessionActiveErrors, V2SessionActiveResponses, V2SessionCompactErrors, V2SessionCompactResponses, V2SessionContextErrors, V2SessionContextResponses, V2SessionCreateErrors, V2SessionCreateResponses, V2SessionEventsResponses, V2SessionGetErrors, V2SessionGetResponses, V2SessionInterruptErrors, V2SessionInterruptResponses, V2SessionListErrors, V2SessionListResponses, V2SessionMessageErrors, V2SessionMessageResponses, V2SessionMessagesErrors, V2SessionMessagesResponses, V2SessionPermissionCreateErrors, V2SessionPermissionCreateResponses, V2SessionPermissionGetErrors, V2SessionPermissionGetResponses, V2SessionPermissionListErrors, V2SessionPermissionListResponses, V2SessionPermissionReplyErrors, V2SessionPermissionReplyResponses, V2SessionPromptErrors, V2SessionPromptResponses, V2SessionQuestionListErrors, V2SessionQuestionListResponses, V2SessionQuestionRejectErrors, V2SessionQuestionRejectResponses, V2SessionQuestionReplyErrors, V2SessionQuestionReplyResponses, V2SessionRevertClearErrors, V2SessionRevertClearResponses, V2SessionRevertCommitErrors, V2SessionRevertCommitResponses, V2SessionRevertStageErrors, V2SessionRevertStageResponses, V2SessionSwitchAgentErrors, V2SessionSwitchAgentResponses, V2SessionSwitchModelErrors, V2SessionSwitchModelResponses, V2SessionWaitErrors, V2SessionWaitResponses, V2SkillListErrors, V2SkillListResponses, VcsApplyErrors, VcsApplyResponses, VcsDiffErrors, VcsDiffRawErrors, VcsDiffRawResponses, VcsDiffResponses, VcsGetErrors, VcsGetResponses, VcsStatusErrors, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListErrors, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
|
|
2
|
+
import type { AgentPartInput, AppAgentsErrors, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsErrors, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListErrors, CommandListResponses, Config as Config3, ConfigGetErrors, ConfigGetResponses, ConfigProvidersErrors, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalCapabilitiesGetErrors, ExperimentalCapabilitiesGetResponses, ExperimentalConsoleGetErrors, ExperimentalConsoleGetResponses, ExperimentalConsoleListOrgsErrors, ExperimentalConsoleListOrgsResponses, ExperimentalConsoleSwitchOrgResponses, ExperimentalControlPlaneMoveSessionErrors, ExperimentalControlPlaneMoveSessionResponses, ExperimentalProjectCopyGenerateNameErrors, ExperimentalProjectCopyGenerateNameResponses, ExperimentalResourceListErrors, ExperimentalResourceListResponses, ExperimentalSessionBackgroundErrors, ExperimentalSessionBackgroundResponses, ExperimentalSessionListErrors, ExperimentalSessionListResponses, ExperimentalWorkspaceAdapterListErrors, ExperimentalWorkspaceAdapterListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListErrors, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceStatusErrors, ExperimentalWorkspaceStatusResponses, ExperimentalWorkspaceSyncListErrors, ExperimentalWorkspaceSyncListResponses, ExperimentalWorkspaceWarpErrors, ExperimentalWorkspaceWarpResponses, FileListErrors, FileListResponses, FilePartInput, FilePartSource, FileReadErrors, FileReadResponses, FileStatusErrors, FileStatusResponses, FindFilesErrors, FindFilesResponses, FindSymbolsErrors, FindSymbolsResponses, FindTextErrors, FindTextResponses, FormatterStatusErrors, FormatterStatusResponses, GlobalConfigGetErrors, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeErrors, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthErrors, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, InstanceDisposeErrors, InstanceDisposeResponses, LocationRef, LspStatusErrors, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectErrors, McpConnectResponses, McpDisconnectErrors, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusErrors, McpStatusResponses, ModelRef, MoveSessionDestination, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetErrors, PathGetResponses, PermissionListErrors, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionV2Reply, PermissionV2Source, ProjectCommands, ProjectCurrentErrors, ProjectCurrentResponses, ProjectDirectoriesErrors, ProjectDirectoriesResponses, ProjectIcon, ProjectInitGitErrors, ProjectInitGitResponses, ProjectListErrors, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, PromptInput, ProviderAuthErrors, ProviderAuthResponses, ProviderListErrors, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyConnectTokenErrors, PtyConnectTokenResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListErrors, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyShellsErrors, PtyShellsResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListErrors, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, QuestionV2Reply, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteMessageErrors, SessionDeleteMessageResponses, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionForkErrors, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListErrors, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SubtaskPartInput, SyncHistoryListErrors, SyncHistoryListResponses, SyncReplayErrors, SyncReplayResponses, SyncStartErrors, SyncStartResponses, SyncStealErrors, SyncStealResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptErrors, TuiClearPromptResponses, TuiControlNextErrors, TuiControlNextResponses, TuiControlResponseErrors, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpErrors, TuiOpenHelpResponses, TuiOpenModelsErrors, TuiOpenModelsResponses, TuiOpenSessionsErrors, TuiOpenSessionsResponses, TuiOpenThemesErrors, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastErrors, TuiShowToastResponses, TuiSubmitPromptErrors, TuiSubmitPromptResponses, V2AgentListErrors, V2AgentListResponses, V2CommandListErrors, V2CommandListResponses, V2CredentialRemoveErrors, V2CredentialRemoveResponses, V2CredentialUpdateErrors, V2CredentialUpdateResponses, V2EventSubscribeResponses, V2FsFindErrors, V2FsFindResponses, V2FsListErrors, V2FsListResponses, V2FsReadErrors, V2FsReadResponses, V2HealthGetErrors, V2HealthGetResponses, V2IntegrationAttemptCancelErrors, V2IntegrationAttemptCancelResponses, V2IntegrationAttemptCompleteErrors, V2IntegrationAttemptCompleteResponses, V2IntegrationAttemptStatusErrors, V2IntegrationAttemptStatusResponses, V2IntegrationConnectKeyErrors, V2IntegrationConnectKeyResponses, V2IntegrationConnectOauthErrors, V2IntegrationConnectOauthResponses, V2IntegrationGetErrors, V2IntegrationGetResponses, V2IntegrationListErrors, V2IntegrationListResponses, V2LocationGetErrors, V2LocationGetResponses, V2ModelListErrors, V2ModelListResponses, V2PermissionRequestListErrors, V2PermissionRequestListResponses, V2PermissionSavedListErrors, V2PermissionSavedListResponses, V2PermissionSavedRemoveErrors, V2PermissionSavedRemoveResponses, V2ProjectCopyCreateErrors, V2ProjectCopyCreateResponses, V2ProjectCopyRefreshErrors, V2ProjectCopyRefreshResponses, V2ProjectCopyRemoveErrors, V2ProjectCopyRemoveResponses, V2ProviderGetErrors, V2ProviderGetResponses, V2ProviderListErrors, V2ProviderListResponses, V2PtyConnectErrors, V2PtyConnectResponses, V2PtyConnectTokenErrors, V2PtyConnectTokenResponses, V2PtyCreateErrors, V2PtyCreateResponses, V2PtyGetErrors, V2PtyGetResponses, V2PtyListErrors, V2PtyListResponses, V2PtyRemoveErrors, V2PtyRemoveResponses, V2PtyUpdateErrors, V2PtyUpdateResponses, V2QuestionRequestListErrors, V2QuestionRequestListResponses, V2ReferenceListErrors, V2ReferenceListResponses, V2SessionActiveErrors, V2SessionActiveResponses, V2SessionCompactErrors, V2SessionCompactResponses, V2SessionContextErrors, V2SessionContextResponses, V2SessionCreateErrors, V2SessionCreateResponses, V2SessionEventsResponses, V2SessionGetErrors, V2SessionGetResponses, V2SessionInterruptErrors, V2SessionInterruptResponses, V2SessionListErrors, V2SessionListResponses, V2SessionMessageErrors, V2SessionMessageResponses, V2SessionMessagesErrors, V2SessionMessagesResponses, V2SessionPermissionCreateErrors, V2SessionPermissionCreateResponses, V2SessionPermissionGetErrors, V2SessionPermissionGetResponses, V2SessionPermissionListErrors, V2SessionPermissionListResponses, V2SessionPermissionReplyErrors, V2SessionPermissionReplyResponses, V2SessionPromptErrors, V2SessionPromptResponses, V2SessionQuestionListErrors, V2SessionQuestionListResponses, V2SessionQuestionRejectErrors, V2SessionQuestionRejectResponses, V2SessionQuestionReplyErrors, V2SessionQuestionReplyResponses, V2SessionRenameErrors, V2SessionRenameResponses, V2SessionRevertClearErrors, V2SessionRevertClearResponses, V2SessionRevertCommitErrors, V2SessionRevertCommitResponses, V2SessionRevertStageErrors, V2SessionRevertStageResponses, V2SessionSwitchAgentErrors, V2SessionSwitchAgentResponses, V2SessionSwitchModelErrors, V2SessionSwitchModelResponses, V2SessionWaitErrors, V2SessionWaitResponses, V2SkillListErrors, V2SkillListResponses, VcsApplyErrors, VcsApplyResponses, VcsDiffErrors, VcsDiffRawErrors, VcsDiffRawResponses, VcsDiffResponses, VcsGetErrors, VcsGetResponses, VcsStatusErrors, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListErrors, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -1682,6 +1682,15 @@ export declare class Session3 extends HeyApiClient {
|
|
|
1682
1682
|
sessionID: string;
|
|
1683
1683
|
model?: ModelRef;
|
|
1684
1684
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionSwitchModelResponses, V2SessionSwitchModelErrors, ThrowOnError, "fields">;
|
|
1685
|
+
/**
|
|
1686
|
+
* Rename session
|
|
1687
|
+
*
|
|
1688
|
+
* Update the session title.
|
|
1689
|
+
*/
|
|
1690
|
+
rename<ThrowOnError extends boolean = false>(parameters: {
|
|
1691
|
+
sessionID: string;
|
|
1692
|
+
title?: string;
|
|
1693
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionRenameResponses, V2SessionRenameErrors, ThrowOnError, "fields">;
|
|
1685
1694
|
/**
|
|
1686
1695
|
* Send message
|
|
1687
1696
|
*
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -3422,6 +3422,31 @@ export class Session3 extends HeyApiClient {
|
|
|
3422
3422
|
},
|
|
3423
3423
|
});
|
|
3424
3424
|
}
|
|
3425
|
+
/**
|
|
3426
|
+
* Rename session
|
|
3427
|
+
*
|
|
3428
|
+
* Update the session title.
|
|
3429
|
+
*/
|
|
3430
|
+
rename(parameters, options) {
|
|
3431
|
+
const params = buildClientParams([parameters], [
|
|
3432
|
+
{
|
|
3433
|
+
args: [
|
|
3434
|
+
{ in: "path", key: "sessionID" },
|
|
3435
|
+
{ in: "body", key: "title" },
|
|
3436
|
+
],
|
|
3437
|
+
},
|
|
3438
|
+
]);
|
|
3439
|
+
return (options?.client ?? this.client).post({
|
|
3440
|
+
url: "/api/session/{sessionID}/rename",
|
|
3441
|
+
...options,
|
|
3442
|
+
...params,
|
|
3443
|
+
headers: {
|
|
3444
|
+
"Content-Type": "application/json",
|
|
3445
|
+
...options?.headers,
|
|
3446
|
+
...params.headers,
|
|
3447
|
+
},
|
|
3448
|
+
});
|
|
3449
|
+
}
|
|
3425
3450
|
/**
|
|
3426
3451
|
* Send message
|
|
3427
3452
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
-
export type Event = EventModelsDevRefreshed | EventIntegrationUpdated | EventIntegrationConnectionUpdated | EventCatalogUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextContextUpdated | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventSessionNextRevertStaged | EventSessionNextRevertCleared | EventSessionNextRevertCommitted | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventFileEdited | EventReferenceUpdated | EventPermissionV2Asked | EventPermissionV2Replied | EventPluginAdded | EventProjectDirectoriesUpdated | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventLspUpdated | EventPermissionAsked | EventPermissionReplied | EventTuiPromptAppend2 | EventTuiCommandExecute2 | EventTuiToastShow2 | EventTuiSessionSelect2 | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventProjectUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventServerConnected | EventGlobalDisposed | EventServerInstanceDisposed;
|
|
4
|
+
export type Event = EventModelsDevRefreshed | EventIntegrationUpdated | EventIntegrationConnectionUpdated | EventCatalogUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextRenamed | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextContextUpdated | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventSessionNextRevertStaged | EventSessionNextRevertCleared | EventSessionNextRevertCommitted | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventFileEdited | EventReferenceUpdated | EventPermissionV2Asked | EventPermissionV2Replied | EventPluginAdded | EventProjectDirectoriesUpdated | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventLspUpdated | EventPermissionAsked | EventPermissionReplied | EventTuiPromptAppend2 | EventTuiCommandExecute2 | EventTuiToastShow2 | EventTuiSessionSelect2 | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventProjectUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventServerConnected | EventGlobalDisposed | EventServerInstanceDisposed;
|
|
5
5
|
export type QuestionReplied = {
|
|
6
6
|
sessionID: string;
|
|
7
7
|
requestID: string;
|
|
@@ -656,6 +656,14 @@ export type GlobalEvent = {
|
|
|
656
656
|
location: LocationRef;
|
|
657
657
|
subdirectory?: string;
|
|
658
658
|
};
|
|
659
|
+
} | {
|
|
660
|
+
id: string;
|
|
661
|
+
type: "session.next.renamed";
|
|
662
|
+
properties: {
|
|
663
|
+
timestamp: number;
|
|
664
|
+
sessionID: string;
|
|
665
|
+
title: string;
|
|
666
|
+
};
|
|
659
667
|
} | {
|
|
660
668
|
id: string;
|
|
661
669
|
type: "session.next.prompted";
|
|
@@ -1309,7 +1317,7 @@ export type GlobalEvent = {
|
|
|
1309
1317
|
properties: {
|
|
1310
1318
|
[key: string]: unknown;
|
|
1311
1319
|
};
|
|
1312
|
-
} | EventServerInstanceDisposed | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionNextAgentSwitched | SyncEventSessionNextModelSwitched | SyncEventSessionNextMoved | SyncEventSessionNextPrompted | SyncEventSessionNextPromptAdmitted | SyncEventSessionNextContextUpdated | SyncEventSessionNextSynthetic | SyncEventSessionNextShellStarted | SyncEventSessionNextShellEnded | SyncEventSessionNextStepStarted | SyncEventSessionNextStepEnded | SyncEventSessionNextStepFailed | SyncEventSessionNextTextStarted | SyncEventSessionNextTextEnded | SyncEventSessionNextReasoningStarted | SyncEventSessionNextReasoningEnded | SyncEventSessionNextToolInputStarted | SyncEventSessionNextToolInputEnded | SyncEventSessionNextToolCalled | SyncEventSessionNextToolProgress | SyncEventSessionNextToolSuccess | SyncEventSessionNextToolFailed | SyncEventSessionNextRetried | SyncEventSessionNextCompactionStarted | SyncEventSessionNextCompactionEnded | SyncEventSessionNextRevertStaged | SyncEventSessionNextRevertCleared | SyncEventSessionNextRevertCommitted;
|
|
1320
|
+
} | EventServerInstanceDisposed | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionNextAgentSwitched | SyncEventSessionNextModelSwitched | SyncEventSessionNextMoved | SyncEventSessionNextRenamed | SyncEventSessionNextPrompted | SyncEventSessionNextPromptAdmitted | SyncEventSessionNextContextUpdated | SyncEventSessionNextSynthetic | SyncEventSessionNextShellStarted | SyncEventSessionNextShellEnded | SyncEventSessionNextStepStarted | SyncEventSessionNextStepEnded | SyncEventSessionNextStepFailed | SyncEventSessionNextTextStarted | SyncEventSessionNextTextEnded | SyncEventSessionNextReasoningStarted | SyncEventSessionNextReasoningEnded | SyncEventSessionNextToolInputStarted | SyncEventSessionNextToolInputEnded | SyncEventSessionNextToolCalled | SyncEventSessionNextToolProgress | SyncEventSessionNextToolSuccess | SyncEventSessionNextToolFailed | SyncEventSessionNextRetried | SyncEventSessionNextCompactionStarted | SyncEventSessionNextCompactionEnded | SyncEventSessionNextRevertStaged | SyncEventSessionNextRevertCleared | SyncEventSessionNextRevertCommitted;
|
|
1313
1321
|
};
|
|
1314
1322
|
/**
|
|
1315
1323
|
* Log level
|
|
@@ -2255,7 +2263,7 @@ export type ProviderNotFoundError = {
|
|
|
2255
2263
|
providerID: string;
|
|
2256
2264
|
message: string;
|
|
2257
2265
|
};
|
|
2258
|
-
export type V2Event = V2EventModelsDevRefreshed | V2EventIntegrationUpdated | V2EventIntegrationConnectionUpdated | V2EventCatalogUpdated | V2EventSessionCreated | V2EventSessionUpdated | V2EventSessionDeleted | V2EventMessageUpdated | V2EventMessageRemoved | V2EventMessagePartUpdated | V2EventMessagePartRemoved | V2EventSessionNextAgentSwitched | V2EventSessionNextModelSwitched | V2EventSessionNextMoved | V2EventSessionNextPrompted | V2EventSessionNextPromptAdmitted | V2EventSessionNextContextUpdated | V2EventSessionNextSynthetic | V2EventSessionNextShellStarted | V2EventSessionNextShellEnded | V2EventSessionNextStepStarted | V2EventSessionNextStepEnded | V2EventSessionNextStepFailed | V2EventSessionNextTextStarted | V2EventSessionNextTextDelta | V2EventSessionNextTextEnded | V2EventSessionNextReasoningStarted | V2EventSessionNextReasoningDelta | V2EventSessionNextReasoningEnded | V2EventSessionNextToolInputStarted | V2EventSessionNextToolInputDelta | V2EventSessionNextToolInputEnded | V2EventSessionNextToolCalled | V2EventSessionNextToolProgress | V2EventSessionNextToolSuccess | V2EventSessionNextToolFailed | V2EventSessionNextRetried | V2EventSessionNextCompactionStarted | V2EventSessionNextCompactionDelta | V2EventSessionNextCompactionEnded | V2EventSessionNextRevertStaged | V2EventSessionNextRevertCleared | V2EventSessionNextRevertCommitted | V2EventMessagePartDelta | V2EventSessionDiff | V2EventSessionError | V2EventInstallationUpdated | V2EventInstallationUpdateAvailable | V2EventFileEdited | V2EventReferenceUpdated | V2EventPermissionV2Asked | V2EventPermissionV2Replied | V2EventPluginAdded | V2EventProjectDirectoriesUpdated | V2EventFileWatcherUpdated | V2EventPtyCreated | V2EventPtyUpdated | V2EventPtyExited | V2EventPtyDeleted | V2EventQuestionV2Asked | V2EventQuestionV2Replied | V2EventQuestionV2Rejected | V2EventTodoUpdated | V2EventLspUpdated | V2EventPermissionAsked | V2EventPermissionReplied | V2EventTuiPromptAppend | V2EventTuiCommandExecute | V2EventTuiToastShow | V2EventTuiSessionSelect | V2EventMcpToolsChanged | V2EventMcpBrowserOpenFailed | V2EventCommandExecuted | V2EventProjectUpdated | V2EventSessionStatus | V2EventSessionIdle | V2EventQuestionAsked | V2EventQuestionReplied | V2EventQuestionRejected | V2EventSessionCompacted | V2EventVcsBranchUpdated | V2EventWorkspaceReady | V2EventWorkspaceFailed | V2EventWorkspaceStatus | V2EventWorktreeReady | V2EventWorktreeFailed | V2EventServerConnected | V2EventGlobalDisposed;
|
|
2266
|
+
export type V2Event = V2EventModelsDevRefreshed | V2EventIntegrationUpdated | V2EventIntegrationConnectionUpdated | V2EventCatalogUpdated | V2EventSessionCreated | V2EventSessionUpdated | V2EventSessionDeleted | V2EventMessageUpdated | V2EventMessageRemoved | V2EventMessagePartUpdated | V2EventMessagePartRemoved | V2EventSessionNextAgentSwitched | V2EventSessionNextModelSwitched | V2EventSessionNextMoved | V2EventSessionNextRenamed | V2EventSessionNextPrompted | V2EventSessionNextPromptAdmitted | V2EventSessionNextContextUpdated | V2EventSessionNextSynthetic | V2EventSessionNextShellStarted | V2EventSessionNextShellEnded | V2EventSessionNextStepStarted | V2EventSessionNextStepEnded | V2EventSessionNextStepFailed | V2EventSessionNextTextStarted | V2EventSessionNextTextDelta | V2EventSessionNextTextEnded | V2EventSessionNextReasoningStarted | V2EventSessionNextReasoningDelta | V2EventSessionNextReasoningEnded | V2EventSessionNextToolInputStarted | V2EventSessionNextToolInputDelta | V2EventSessionNextToolInputEnded | V2EventSessionNextToolCalled | V2EventSessionNextToolProgress | V2EventSessionNextToolSuccess | V2EventSessionNextToolFailed | V2EventSessionNextRetried | V2EventSessionNextCompactionStarted | V2EventSessionNextCompactionDelta | V2EventSessionNextCompactionEnded | V2EventSessionNextRevertStaged | V2EventSessionNextRevertCleared | V2EventSessionNextRevertCommitted | V2EventMessagePartDelta | V2EventSessionDiff | V2EventSessionError | V2EventInstallationUpdated | V2EventInstallationUpdateAvailable | V2EventFileEdited | V2EventReferenceUpdated | V2EventPermissionV2Asked | V2EventPermissionV2Replied | V2EventPluginAdded | V2EventProjectDirectoriesUpdated | V2EventFileWatcherUpdated | V2EventPtyCreated | V2EventPtyUpdated | V2EventPtyExited | V2EventPtyDeleted | V2EventQuestionV2Asked | V2EventQuestionV2Replied | V2EventQuestionV2Rejected | V2EventTodoUpdated | V2EventLspUpdated | V2EventPermissionAsked | V2EventPermissionReplied | V2EventTuiPromptAppend | V2EventTuiCommandExecute | V2EventTuiToastShow | V2EventTuiSessionSelect | V2EventMcpToolsChanged | V2EventMcpBrowserOpenFailed | V2EventCommandExecuted | V2EventProjectUpdated | V2EventSessionStatus | V2EventSessionIdle | V2EventQuestionAsked | V2EventQuestionReplied | V2EventQuestionRejected | V2EventSessionCompacted | V2EventVcsBranchUpdated | V2EventWorkspaceReady | V2EventWorkspaceFailed | V2EventWorkspaceStatus | V2EventWorktreeReady | V2EventWorktreeFailed | V2EventServerConnected | V2EventGlobalDisposed;
|
|
2259
2267
|
export type ForbiddenError = {
|
|
2260
2268
|
_tag: "ForbiddenError";
|
|
2261
2269
|
message: string;
|
|
@@ -2597,6 +2605,21 @@ export type SyncEventSessionNextMoved = {
|
|
|
2597
2605
|
};
|
|
2598
2606
|
};
|
|
2599
2607
|
};
|
|
2608
|
+
export type SyncEventSessionNextRenamed = {
|
|
2609
|
+
type: "sync";
|
|
2610
|
+
id: string;
|
|
2611
|
+
syncEvent: {
|
|
2612
|
+
type: "session.next.renamed.1";
|
|
2613
|
+
id: string;
|
|
2614
|
+
seq: number;
|
|
2615
|
+
aggregateID: string;
|
|
2616
|
+
data: {
|
|
2617
|
+
timestamp: number;
|
|
2618
|
+
sessionID: string;
|
|
2619
|
+
title: string;
|
|
2620
|
+
};
|
|
2621
|
+
};
|
|
2622
|
+
};
|
|
2600
2623
|
export type SyncEventSessionNextPrompted = {
|
|
2601
2624
|
type: "sync";
|
|
2602
2625
|
id: string;
|
|
@@ -3397,6 +3420,24 @@ export type SessionNextMoved = {
|
|
|
3397
3420
|
subdirectory?: string;
|
|
3398
3421
|
};
|
|
3399
3422
|
};
|
|
3423
|
+
export type SessionNextRenamed = {
|
|
3424
|
+
id: string;
|
|
3425
|
+
metadata?: {
|
|
3426
|
+
[key: string]: unknown;
|
|
3427
|
+
};
|
|
3428
|
+
type: "session.next.renamed";
|
|
3429
|
+
durable?: {
|
|
3430
|
+
aggregateID: string;
|
|
3431
|
+
seq: number | "NaN" | "Infinity" | "-Infinity";
|
|
3432
|
+
version: number | "NaN" | "Infinity" | "-Infinity";
|
|
3433
|
+
};
|
|
3434
|
+
location?: LocationRef;
|
|
3435
|
+
data: {
|
|
3436
|
+
timestamp: number;
|
|
3437
|
+
sessionID: string;
|
|
3438
|
+
title: string;
|
|
3439
|
+
};
|
|
3440
|
+
};
|
|
3400
3441
|
export type SessionNextPrompted = {
|
|
3401
3442
|
id: string;
|
|
3402
3443
|
metadata?: {
|
|
@@ -4382,6 +4423,24 @@ export type V2EventSessionNextMoved = {
|
|
|
4382
4423
|
subdirectory?: string;
|
|
4383
4424
|
};
|
|
4384
4425
|
};
|
|
4426
|
+
export type V2EventSessionNextRenamed = {
|
|
4427
|
+
id: string;
|
|
4428
|
+
metadata?: {
|
|
4429
|
+
[key: string]: unknown;
|
|
4430
|
+
};
|
|
4431
|
+
durable?: {
|
|
4432
|
+
aggregateID: string;
|
|
4433
|
+
seq: number;
|
|
4434
|
+
version: number;
|
|
4435
|
+
};
|
|
4436
|
+
location?: LocationRef;
|
|
4437
|
+
type: "session.next.renamed";
|
|
4438
|
+
data: {
|
|
4439
|
+
timestamp: number;
|
|
4440
|
+
sessionID: string;
|
|
4441
|
+
title: string;
|
|
4442
|
+
};
|
|
4443
|
+
};
|
|
4385
4444
|
export type V2EventSessionNextPrompted = {
|
|
4386
4445
|
id: string;
|
|
4387
4446
|
metadata?: {
|
|
@@ -5930,6 +5989,15 @@ export type EventSessionNextMoved = {
|
|
|
5930
5989
|
subdirectory?: string;
|
|
5931
5990
|
};
|
|
5932
5991
|
};
|
|
5992
|
+
export type EventSessionNextRenamed = {
|
|
5993
|
+
id: string;
|
|
5994
|
+
type: "session.next.renamed";
|
|
5995
|
+
properties: {
|
|
5996
|
+
timestamp: number;
|
|
5997
|
+
sessionID: string;
|
|
5998
|
+
title: string;
|
|
5999
|
+
};
|
|
6000
|
+
};
|
|
5933
6001
|
export type EventSessionNextPrompted = {
|
|
5934
6002
|
id: string;
|
|
5935
6003
|
type: "session.next.prompted";
|
|
@@ -10418,6 +10486,38 @@ export type V2SessionSwitchModelResponses = {
|
|
|
10418
10486
|
204: void;
|
|
10419
10487
|
};
|
|
10420
10488
|
export type V2SessionSwitchModelResponse = V2SessionSwitchModelResponses[keyof V2SessionSwitchModelResponses];
|
|
10489
|
+
export type V2SessionRenameData = {
|
|
10490
|
+
body: {
|
|
10491
|
+
title: string;
|
|
10492
|
+
};
|
|
10493
|
+
path: {
|
|
10494
|
+
sessionID: string;
|
|
10495
|
+
};
|
|
10496
|
+
query?: never;
|
|
10497
|
+
url: "/api/session/{sessionID}/rename";
|
|
10498
|
+
};
|
|
10499
|
+
export type V2SessionRenameErrors = {
|
|
10500
|
+
/**
|
|
10501
|
+
* InvalidRequestError
|
|
10502
|
+
*/
|
|
10503
|
+
400: InvalidRequestError;
|
|
10504
|
+
/**
|
|
10505
|
+
* UnauthorizedError
|
|
10506
|
+
*/
|
|
10507
|
+
401: UnauthorizedError;
|
|
10508
|
+
/**
|
|
10509
|
+
* SessionNotFoundError
|
|
10510
|
+
*/
|
|
10511
|
+
404: SessionNotFoundError;
|
|
10512
|
+
};
|
|
10513
|
+
export type V2SessionRenameError = V2SessionRenameErrors[keyof V2SessionRenameErrors];
|
|
10514
|
+
export type V2SessionRenameResponses = {
|
|
10515
|
+
/**
|
|
10516
|
+
* <No Content>
|
|
10517
|
+
*/
|
|
10518
|
+
204: void;
|
|
10519
|
+
};
|
|
10520
|
+
export type V2SessionRenameResponse = V2SessionRenameResponses[keyof V2SessionRenameResponses];
|
|
10421
10521
|
export type V2SessionPromptData = {
|
|
10422
10522
|
body: {
|
|
10423
10523
|
id?: string;
|
|
@@ -10551,6 +10651,10 @@ export type V2SessionRevertStageErrors = {
|
|
|
10551
10651
|
* MessageNotFoundError | SessionNotFoundError
|
|
10552
10652
|
*/
|
|
10553
10653
|
404: MessageNotFoundError | SessionNotFoundError;
|
|
10654
|
+
/**
|
|
10655
|
+
* SessionBusyError
|
|
10656
|
+
*/
|
|
10657
|
+
409: SessionBusyError;
|
|
10554
10658
|
/**
|
|
10555
10659
|
* UnknownError
|
|
10556
10660
|
*/
|
|
@@ -10587,6 +10691,10 @@ export type V2SessionRevertClearErrors = {
|
|
|
10587
10691
|
* SessionNotFoundError
|
|
10588
10692
|
*/
|
|
10589
10693
|
404: SessionNotFoundError;
|
|
10694
|
+
/**
|
|
10695
|
+
* SessionBusyError
|
|
10696
|
+
*/
|
|
10697
|
+
409: SessionBusyError;
|
|
10590
10698
|
/**
|
|
10591
10699
|
* UnknownError
|
|
10592
10700
|
*/
|
|
@@ -10621,6 +10729,10 @@ export type V2SessionRevertCommitErrors = {
|
|
|
10621
10729
|
* SessionNotFoundError
|
|
10622
10730
|
*/
|
|
10623
10731
|
404: SessionNotFoundError;
|
|
10732
|
+
/**
|
|
10733
|
+
* SessionBusyError
|
|
10734
|
+
*/
|
|
10735
|
+
409: SessionBusyError;
|
|
10624
10736
|
};
|
|
10625
10737
|
export type V2SessionRevertCommitError = V2SessionRevertCommitErrors[keyof V2SessionRevertCommitErrors];
|
|
10626
10738
|
export type V2SessionRevertCommitResponses = {
|