import { RuntimeMethodIds } from '../method-ids.js';
import { Ack } from '../generated/runtime/v1/common.js';
import { OpenExternalPrincipalSessionRequest, OpenExternalPrincipalSessionResponse, OpenSessionRequest, OpenSessionResponse, RefreshSessionRequest, RefreshSessionResponse, RegisterAppRequest, RegisterAppResponse, RegisterExternalPrincipalRequest, RegisterExternalPrincipalResponse, RevokeExternalPrincipalSessionRequest, RevokeSessionRequest, } from '../generated/runtime/v1/auth.js';
import { AuthorizeExternalPrincipalRequest, AuthorizeExternalPrincipalResponse, IssueDelegatedAccessTokenRequest, IssueDelegatedAccessTokenResponse, ListTokenChainRequest, ListTokenChainResponse, RevokeAppAccessTokenRequest, ValidateAppAccessTokenRequest, ValidateAppAccessTokenResponse, } from '../generated/runtime/v1/grant.js';
import { BeginLoginRequest, BeginLoginResponse, CompleteLoginRequest, CompleteLoginResponse, GetAccessTokenRequest, GetAccessTokenResponse, GetAccountSessionStatusRequest, GetAccountSessionStatusResponse, IssueScopedAppBindingRequest, IssueScopedAppBindingResponse, IssueWorkspaceBindingRequest, IssueWorkspaceBindingResponse, LogoutRequest, LogoutResponse, RefreshAccountSessionRequest, RefreshAccountSessionResponse, RevokeScopedAppBindingRequest, RevokeScopedAppBindingResponse, RevokeWorkspaceBindingRequest, RevokeWorkspaceBindingResponse, SwitchAccountRequest, SwitchAccountResponse, } from '../generated/runtime/v1/account.js';
import { AppendRealtimeInputRequest, AppendRealtimeInputResponse, CancelScenarioJobRequest, CancelScenarioJobResponse, CloseRealtimeSessionRequest, CloseRealtimeSessionResponse, ExecuteScenarioRequest, ExecuteScenarioResponse, GetScenarioArtifactsRequest, GetScenarioArtifactsResponse, GetScenarioJobRequest, GetScenarioJobResponse, ListScenarioProfilesRequest, ListScenarioProfilesResponse, OpenRealtimeSessionRequest, OpenRealtimeSessionResponse, SubmitScenarioJobRequest, SubmitScenarioJobResponse, } from '../generated/runtime/v1/ai.js';
import { PeekSchedulingRequest, PeekSchedulingResponse, } from '../generated/runtime/v1/ai_scheduling.js';
import { ReadArtifactBytesRequest, ReadArtifactBytesResponse, } from '../generated/runtime/v1/artifact_service.js';
import { DeleteVoiceAssetRequest, DeleteVoiceAssetResponse, GetVoiceAssetRequest, GetVoiceAssetResponse, ListPresetVoicesRequest, ListPresetVoicesResponse, ListVoiceAssetsRequest, ListVoiceAssetsResponse, } from '../generated/runtime/v1/voice.js';
export const runtimeUnaryMethodCodecsAuthAi = {
    [RuntimeMethodIds.auth.registerApp]: {
        requestType: RegisterAppRequest,
        responseType: RegisterAppResponse,
    },
    [RuntimeMethodIds.auth.openSession]: {
        requestType: OpenSessionRequest,
        responseType: OpenSessionResponse,
    },
    [RuntimeMethodIds.auth.refreshSession]: {
        requestType: RefreshSessionRequest,
        responseType: RefreshSessionResponse,
    },
    [RuntimeMethodIds.auth.revokeSession]: {
        requestType: RevokeSessionRequest,
        responseType: Ack,
    },
    [RuntimeMethodIds.auth.registerExternalPrincipal]: {
        requestType: RegisterExternalPrincipalRequest,
        responseType: RegisterExternalPrincipalResponse,
    },
    [RuntimeMethodIds.auth.openExternalPrincipalSession]: {
        requestType: OpenExternalPrincipalSessionRequest,
        responseType: OpenExternalPrincipalSessionResponse,
    },
    [RuntimeMethodIds.auth.revokeExternalPrincipalSession]: {
        requestType: RevokeExternalPrincipalSessionRequest,
        responseType: Ack,
    },
    [RuntimeMethodIds.account.getAccountSessionStatus]: {
        requestType: GetAccountSessionStatusRequest,
        responseType: GetAccountSessionStatusResponse,
    },
    [RuntimeMethodIds.account.beginLogin]: {
        requestType: BeginLoginRequest,
        responseType: BeginLoginResponse,
    },
    [RuntimeMethodIds.account.completeLogin]: {
        requestType: CompleteLoginRequest,
        responseType: CompleteLoginResponse,
    },
    [RuntimeMethodIds.account.getAccessToken]: {
        requestType: GetAccessTokenRequest,
        responseType: GetAccessTokenResponse,
    },
    [RuntimeMethodIds.account.refreshAccountSession]: {
        requestType: RefreshAccountSessionRequest,
        responseType: RefreshAccountSessionResponse,
    },
    [RuntimeMethodIds.account.logout]: {
        requestType: LogoutRequest,
        responseType: LogoutResponse,
    },
    [RuntimeMethodIds.account.switchAccount]: {
        requestType: SwitchAccountRequest,
        responseType: SwitchAccountResponse,
    },
    [RuntimeMethodIds.account.issueScopedAppBinding]: {
        requestType: IssueScopedAppBindingRequest,
        responseType: IssueScopedAppBindingResponse,
    },
    [RuntimeMethodIds.account.revokeScopedAppBinding]: {
        requestType: RevokeScopedAppBindingRequest,
        responseType: RevokeScopedAppBindingResponse,
    },
    [RuntimeMethodIds.account.issueWorkspaceBinding]: {
        requestType: IssueWorkspaceBindingRequest,
        responseType: IssueWorkspaceBindingResponse,
    },
    [RuntimeMethodIds.account.revokeWorkspaceBinding]: {
        requestType: RevokeWorkspaceBindingRequest,
        responseType: RevokeWorkspaceBindingResponse,
    },
    [RuntimeMethodIds.appAuth.authorizeExternalPrincipal]: {
        requestType: AuthorizeExternalPrincipalRequest,
        responseType: AuthorizeExternalPrincipalResponse,
    },
    [RuntimeMethodIds.appAuth.validateToken]: {
        requestType: ValidateAppAccessTokenRequest,
        responseType: ValidateAppAccessTokenResponse,
    },
    [RuntimeMethodIds.appAuth.revokeToken]: {
        requestType: RevokeAppAccessTokenRequest,
        responseType: Ack,
    },
    [RuntimeMethodIds.appAuth.issueDelegatedToken]: {
        requestType: IssueDelegatedAccessTokenRequest,
        responseType: IssueDelegatedAccessTokenResponse,
    },
    [RuntimeMethodIds.appAuth.listTokenChain]: {
        requestType: ListTokenChainRequest,
        responseType: ListTokenChainResponse,
    },
    [RuntimeMethodIds.artifact.readArtifactBytes]: {
        requestType: ReadArtifactBytesRequest,
        responseType: ReadArtifactBytesResponse,
    },
    [RuntimeMethodIds.ai.executeScenario]: {
        requestType: ExecuteScenarioRequest,
        responseType: ExecuteScenarioResponse,
    },
    [RuntimeMethodIds.ai.submitScenarioJob]: {
        requestType: SubmitScenarioJobRequest,
        responseType: SubmitScenarioJobResponse,
    },
    [RuntimeMethodIds.ai.getScenarioJob]: {
        requestType: GetScenarioJobRequest,
        responseType: GetScenarioJobResponse,
    },
    [RuntimeMethodIds.ai.cancelScenarioJob]: {
        requestType: CancelScenarioJobRequest,
        responseType: CancelScenarioJobResponse,
    },
    [RuntimeMethodIds.ai.getScenarioArtifacts]: {
        requestType: GetScenarioArtifactsRequest,
        responseType: GetScenarioArtifactsResponse,
    },
    [RuntimeMethodIds.ai.listScenarioProfiles]: {
        requestType: ListScenarioProfilesRequest,
        responseType: ListScenarioProfilesResponse,
    },
    [RuntimeMethodIds.ai.getVoiceAsset]: {
        requestType: GetVoiceAssetRequest,
        responseType: GetVoiceAssetResponse,
    },
    [RuntimeMethodIds.ai.listVoiceAssets]: {
        requestType: ListVoiceAssetsRequest,
        responseType: ListVoiceAssetsResponse,
    },
    [RuntimeMethodIds.ai.deleteVoiceAsset]: {
        requestType: DeleteVoiceAssetRequest,
        responseType: DeleteVoiceAssetResponse,
    },
    [RuntimeMethodIds.ai.listPresetVoices]: {
        requestType: ListPresetVoicesRequest,
        responseType: ListPresetVoicesResponse,
    },
    [RuntimeMethodIds.ai.peekScheduling]: {
        requestType: PeekSchedulingRequest,
        responseType: PeekSchedulingResponse,
    },
    [RuntimeMethodIds.aiRealtime.openRealtimeSession]: {
        requestType: OpenRealtimeSessionRequest,
        responseType: OpenRealtimeSessionResponse,
    },
    [RuntimeMethodIds.aiRealtime.appendRealtimeInput]: {
        requestType: AppendRealtimeInputRequest,
        responseType: AppendRealtimeInputResponse,
    },
    [RuntimeMethodIds.aiRealtime.closeRealtimeSession]: {
        requestType: CloseRealtimeSessionRequest,
        responseType: CloseRealtimeSessionResponse,
    },
};
//# sourceMappingURL=method-codecs-unary-auth-ai.js.map