import type { Snowflake } from "./runtime/snowflake"; export interface paths { "/auth/.well-known/jwks.json": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Retrieve JWKS * @description Expose the public JSON Web Key Set used to validate tokens issued by the authentication service. */ get: operations["AuthWellKnownJwksJsonGetJwks"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/admin/sessions/{session_id}/revoke": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** Revoke user session (admin) */ post: operations["AuthAdminSessionsSessionIdRevokeRevokeUserSessionAdmin"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/admin/users": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** List users (admin) */ get: operations["AuthAdminUsersListUsers"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/admin/users/by-minecraft-uuid/{uuid}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Find user by Minecraft UUID (admin) */ get: operations["AuthAdminUsersByMinecraftUuidGetUserByMinecraftUuid"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/admin/users/search": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Search users (admin) */ get: operations["AuthAdminUsersSearchSearchUsers"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/admin/users/{user_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Get user details (admin) */ get: operations["AuthAdminUsersUserIdGetUser"]; put?: never; post?: never; delete?: never; options?: never; head?: never; /** Update user (admin) */ patch: operations["AuthAdminUsersUserIdUpdateUser"]; trace?: never; }; "/auth/admin/users/{user_id}/discord": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; post?: never; delete?: never; options?: never; head?: never; /** Update linked Discord ID (admin) */ patch: operations["AuthAdminUsersUserIdDiscordUpdateUserDiscord"]; trace?: never; }; "/auth/admin/users/{user_id}/minecraft-accounts/offline": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** Create offline Minecraft account (admin) */ post: operations["AuthAdminUsersUserIdMinecraftAccountsOfflineCreateUserMinecraftAccount"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/admin/users/{user_id}/minecraft-accounts/{account_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; post?: never; /** Delete linked Minecraft account (admin) */ delete: operations["AuthAdminUsersUserIdMinecraftAccountsAccountIdDeleteUserMinecraftAccount"]; options?: never; head?: never; /** Update linked Minecraft account (admin) */ patch: operations["AuthAdminUsersUserIdMinecraftAccountsAccountIdUpdateUserMinecraftAccount"]; trace?: never; }; "/auth/admin/users/{user_id}/roles": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** List user platform roles */ get: operations["AuthAdminUsersUserIdRolesListUserRoles"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/admin/users/{user_id}/roles/{role_slug}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** Assign platform role */ post: operations["AuthAdminUsersUserIdRolesRoleSlugAssignUserRole"]; /** Remove platform role */ delete: operations["AuthAdminUsersUserIdRolesRoleSlugRemoveUserRole"]; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/admin/users/{user_id}/sessions": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** List user sessions (admin) */ get: operations["AuthAdminUsersUserIdSessionsListUserSessionsAdmin"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/internal/gateway-token": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Issue gateway token (internal) * @description Issue a server-scoped JWT for agent-gateway agents. */ post: operations["AuthInternalGatewayTokenIssueGatewayToken"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/internal/minecraft-accounts/stats": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Minecraft account stats (internal) * @description Return aggregate counters for linked Minecraft accounts. */ get: operations["AuthInternalMinecraftAccountsStatsGetMinecraftProfilesStats"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/internal/minecraft/by-nick/{minecraft_nick}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Resolve Minecraft account by nick (internal) * @description Resolve LeavePulse user id by linked Minecraft nickname. Returns not found when the nickname is ambiguous. */ get: operations["AuthInternalMinecraftByNickMinecraftNickResolveMinecraftNick"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/internal/minecraft/link-code/candidate": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Resolve Minecraft link candidate (internal) * @description Resolve the current official/offline candidate for a user nickname without issuing or mutating any proof code state. */ post: operations["AuthInternalMinecraftLinkCodeCandidateResolveMinecraftLinkCodeCandidate"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/internal/minecraft/link-code/complete": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Complete Minecraft link code (internal) * @description Consume a trusted in-game proof submission and upsert the linked Minecraft account for the target user. */ post: operations["AuthInternalMinecraftLinkCodeCompleteCompleteMinecraftLinkCode"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/internal/minecraft/link-code/issue": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Issue Minecraft link code (internal) * @description Issue a website-style Minecraft ownership proof code for one user. */ post: operations["AuthInternalMinecraftLinkCodeIssueIssueMinecraftLinkCode"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/internal/minecraft/link-code/store": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Store externally-issued Minecraft link code (internal) * @description Mirror one externally-issued Minecraft link challenge into auth-service during incremental verification-service rollout. */ post: operations["AuthInternalMinecraftLinkCodeStoreStoreMinecraftLinkCode"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/internal/minecraft/{minecraft_uuid}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Resolve Minecraft account (internal) * @description Resolve LeavePulse user id by linked Minecraft UUID. */ get: operations["AuthInternalMinecraftMinecraftUuidResolveMinecraftUuid"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/internal/oauth/discord/{discord_subject}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Resolve Discord subject (internal) * @description Resolve LeavePulse user id by Discord OAuth subject. */ get: operations["AuthInternalOauthDiscordDiscordSubjectResolveDiscordSubject"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/internal/oauth/discord/{discord_subject}/ensure-user": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Ensure user by Discord subject (internal) * @description Resolve LeavePulse user id by Discord OAuth subject, creating a shadow user + external identity if not found. */ post: operations["AuthInternalOauthDiscordDiscordSubjectEnsureUserEnsureDiscordSubjectUser"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/internal/roles": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** List platform roles */ get: operations["AuthInternalRolesListRoles"]; put?: never; /** Create platform role */ post: operations["AuthInternalRolesCreateRole"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/internal/roles/{role_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; post?: never; /** Delete platform role */ delete: operations["AuthInternalRolesRoleIdDeleteRole"]; options?: never; head?: never; /** Update platform role */ patch: operations["AuthInternalRolesRoleIdUpdateRole"]; trace?: never; }; "/auth/internal/users/identities": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Batch resolve user identities (internal) * @description Resolve Discord subject and Minecraft UUID for a batch of user ids. Used by gRPC sync servicers. */ post: operations["AuthInternalUsersIdentitiesBatchUserIdentities"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/internal/users/{user_id}/contact": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Resolve user contact (internal) * @description Resolve internal user contact fields used by service notifications. */ get: operations["AuthInternalUsersUserIdContactGetUserContact"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/internal/users/{user_id}/discord-subject": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Resolve Discord subject for user (internal) * @description Resolve linked Discord OAuth provider subject for an internal user id. */ get: operations["AuthInternalUsersUserIdDiscordSubjectGetUserDiscordSubject"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/internal/users/{user_id}/minecraft-accounts": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List Minecraft accounts for user (internal) * @description Resolve linked Minecraft accounts for an internal user id. */ get: operations["AuthInternalUsersUserIdMinecraftAccountsListUserMinecraftAccounts"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/introspect": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Introspect a token * @description Verify an access token, ensuring the originating session is still active, and return its claims when valid. */ post: operations["AuthIntrospectIntrospect"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/login": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Authenticate a user * @description Validate username/email and password, optionally check a TOTP code, and issue an access token together with the active session details. */ post: operations["auth.login"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/logout": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Logout * @description Revoke the current session and clear refresh cookies. */ post: operations["auth.logout"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/minecraft/accounts/link-code": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** Issue Minecraft in-game link code */ post: operations["AuthMinecraftAccountsLinkCodeIssueLinkCode"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/minecraft/accounts/resolve": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** Resolve Minecraft nickname */ post: operations["AuthMinecraftAccountsResolveResolveAccount"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/oauth/authorize": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Authorize OAuth client * @description Issue an Authorization Code bound to a registered public client, redirect URI, current user, and S256 PKCE challenge. */ get: operations["auth.oauth2.authorize"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/oauth/captcha/confirm": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Confirm OAuth signup with captcha * @description Finalize an OAuth signup after solving the captcha challenge. */ post: operations["auth.oauth.captcha_confirm"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/oauth/providers": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List OAuth providers * @description Return the OAuth providers linked to the current user. */ get: operations["AuthOauthProvidersOauthProviders"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/oauth/token": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Exchange OAuth authorization code * @description Exchange a one-time Authorization Code for LeavePulse access and refresh tokens after validating the registered client, redirect URI, and PKCE code verifier. */ post: operations["auth.oauth2.token"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/oauth/totp/confirm": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Confirm OAuth login with TOTP * @description Finalize an OAuth login after providing a valid TOTP code. */ post: operations["auth.oauth.totp_confirm"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/oauth/{provider}/callback": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Handle OAuth callback * @description Validate the returned state, exchange the authorization code, and log in or provision the user before issuing application tokens. */ post: operations["auth.oauth.callback"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/oauth/{provider}/link/start": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Start OAuth link flow * @description Generate an authorization URL to link a provider to the user. */ post: operations["AuthOauthProviderLinkStartOauthLinkStart"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/oauth/{provider}/start": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Start OAuth flow * @description Generate a provider-specific authorization URL and return the state payload required to begin the OAuth login sequence. */ get: operations["auth.oauth.start"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/oauth/{provider}/unlink": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Unlink OAuth provider * @description Remove a linked OAuth provider from the current account. */ post: operations["AuthOauthProviderUnlinkOauthUnlink"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/pat-tokens": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List personal access tokens * @description Return developer tokens owned by the current user. */ get: operations["auth.tokens.list"]; put?: never; /** * Create personal access token * @description Issue a long-lived developer token for the current user. */ post: operations["auth.tokens.create"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/pat-tokens/{token_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; post?: never; /** * Revoke personal access token * @description Revoke a developer token owned by the current user. */ delete: operations["auth.tokens.revoke"]; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/refresh": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Rotate refresh token * @description Validate a refresh token, rotate it, and issue a new access token while detecting and revoking reuse attempts. */ post: operations["auth.refresh"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/register": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Register a new user * @description Create a new user account, ensuring the username and optional email are unique before persisting credentials. */ post: operations["auth.register"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/session": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Resolve current session (non-rotating) * @description Resolve the current user, roles and scope from the refresh-token cookie and mint a short-lived access token WITHOUT rotating the refresh token. Used by SSR to render authenticated content without racing the client's rotating refresh. Issues no Set-Cookie. */ post: operations["auth.session"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/sessions": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List sessions * @description Return active and revoked sessions for the authenticated user. */ get: operations["AuthSessionsListSessions"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/sessions/revoke-others": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Revoke other sessions * @description Revoke all sessions except the current one. */ post: operations["AuthSessionsRevokeOthersRevokeOtherSessions"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/sessions/{session_id}/revoke": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Revoke session * @description Revoke a specific session for the authenticated user. */ post: operations["AuthSessionsSessionIdRevokeRevokeSession"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/status": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Check proxy login status * @description Verify whether a username exists and return recent login information when queried with the shared proxy secret. */ post: operations["AuthStatusStatus"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/token/exchange": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Exchange an access token * @description Downscope or retarget an existing access token, producing a new token that matches the requested audience, scope, and expiry. */ post: operations["AuthTokenExchangeExchangeToken"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/users/public-profiles": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Batch get public profiles * @description Resolve public profile fields for multiple users. */ post: operations["AuthUsersPublicProfilesGetPublicProfilesBatch"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/users/{user_ref}/public-profile": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Get public profile * @description Resolve public profile fields for a user by id or slug. */ get: operations["AuthUsersUserRefPublicProfileGetPublicProfile"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/ws-token": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Issue a WebSocket token * @description Create a short-lived token derived from the current session for authenticating WebSocket handshakes. */ post: operations["AuthWsTokenWebsocketToken"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; } export type webhooks = Record; export interface components { schemas: { /** AdminDiscordSubjectResponse */ AdminDiscordSubjectResponse: { discord_subject?: string | null; status: string; }; /** AdminMinecraftAccountCreateRequest */ AdminMinecraftAccountCreateRequest: { minecraft_nick: string; minecraft_uuid?: string | null; }; /** AdminMinecraftAccountDetailed */ AdminMinecraftAccountDetailed: { account_type: string; created_at?: string | null; id: number; identity_scope_id?: number | null; identity_scope_type: string; link_source: string; minecraft_nick?: string | null; minecraft_uuid?: string | null; proof_server_id?: number | null; updated_at?: string | null; uuid_type?: string | null; verification_status: string; verified_at?: string | null; }; /** AdminMinecraftAccountUpdateRequest */ AdminMinecraftAccountUpdateRequest: { minecraft_nick: string; minecraft_uuid?: string | null; }; /** AdminUserDetail */ AdminUserDetail: { avatar_url?: string | null; bio?: string | null; created_at: string; discord_subject?: string | null; email: string | null; id: string; /** @default false */ is_shadow: boolean; minecraft_accounts?: components["schemas"]["AdminMinecraftAccountDetailed"][]; roles?: string[]; status: string; updated_at?: string | null; username: string; }; /** AdminUserDiscordUpdateRequest */ AdminUserDiscordUpdateRequest: { discord_subject?: string | null; }; /** AdminUserUpdateRequest */ AdminUserUpdateRequest: { avatar_url?: string | null; bio?: string | null; email?: string | null; status: string; username: string; }; /** AuthStatusRequest */ AuthStatusRequest: { ip_address?: string | null; username: string; }; /** AuthStatusResponse */ AuthStatusResponse: { created_at?: string | null; exists: boolean; last_login_at?: string | null; /** @default false */ needs_password_change: boolean; status?: components["schemas"]["UserStatus"] | null; /** @default false */ trusted_login: boolean; }; /** GatewayTokenRequest */ GatewayTokenRequest: { expires_in_hours?: number | null; server_id: number; }; /** InternalBatchIdentitiesRequest */ InternalBatchIdentitiesRequest: { project_id?: number | null; user_ids: number[]; }; /** InternalBatchIdentitiesResponse */ InternalBatchIdentitiesResponse: { items: components["schemas"]["InternalBatchIdentityItem"][]; }; /** InternalBatchIdentityItem */ InternalBatchIdentityItem: { discord_subject?: string | null; minecraft_uuid?: string | null; user_id: number; }; /** InternalDiscordEnsureUserResponse */ InternalDiscordEnsureUserResponse: { /** @default false */ created: boolean; found: boolean; /** @default false */ is_shadow: boolean; user_id?: number | null; }; /** InternalDiscordIdentityLookupResponse */ InternalDiscordIdentityLookupResponse: { found: boolean; user_id?: number | null; }; /** InternalMinecraftIdentityLookupResponse */ InternalMinecraftIdentityLookupResponse: { found: boolean; user_id?: number | null; }; /** InternalMinecraftLinkCodeCandidateRequest */ InternalMinecraftLinkCodeCandidateRequest: { minecraft_nick: string; user_id: number; }; /** InternalMinecraftLinkCodeCompleteRequest */ InternalMinecraftLinkCodeCompleteRequest: { code: string; minecraft_nick?: string | null; minecraft_uuid?: string | null; project_id?: number | null; server_id: number; }; /** InternalMinecraftLinkCodeCompleteResponse */ InternalMinecraftLinkCodeCompleteResponse: { account: components["schemas"]["MinecraftAccountResponse"]; status: string; user_id: number; }; /** InternalMinecraftLinkCodeIssueRequest */ InternalMinecraftLinkCodeIssueRequest: { minecraft_nick: string; user_id: number; }; /** InternalMinecraftLinkCodeIssueResponse */ InternalMinecraftLinkCodeIssueResponse: { account: components["schemas"]["MinecraftAccountResolveResponse"]; code: string; expires_in: number; status: string; }; /** InternalMinecraftLinkCodeStoreRequest */ InternalMinecraftLinkCodeStoreRequest: { account_type: string; code: string; expires_in: number; minecraft_nick: string; minecraft_uuid?: string | null; user_id: number; }; /** InternalMinecraftLinkCodeStoreResponse */ InternalMinecraftLinkCodeStoreResponse: { status: string; }; /** InternalMinecraftProfilesStatsResponse */ InternalMinecraftProfilesStatsResponse: { registered_profiles: number; }; /** InternalUserContactResponse */ InternalUserContactResponse: { email?: string | null; found: boolean; username?: string | null; }; /** InternalUserDiscordSubjectResponse */ InternalUserDiscordSubjectResponse: { discord_subject?: string | null; found: boolean; }; /** IntrospectRequest */ IntrospectRequest: { token: string; }; /** IntrospectResponse */ IntrospectResponse: { active: boolean; aud?: string | null; exp?: number | null; iat?: number | null; jti?: string | null; roles?: string[] | null; scope?: string[] | null; tenant?: string | null; user_id?: string | null; }; /** IssuedTokenResponse */ IssuedTokenResponse: { audience: string; expires_in: number; roles: string[]; scope: string[]; session_id: string; tenant?: string | null; token: string; token_type: string; }; /** JWKSResponse */ JWKSResponse: { keys: components["schemas"]["PublicJWK"][]; }; /** LoginResponse */ LoginResponse: { access_jwt: string; audience: string; expires_in: number; refresh_token?: string | null; refresh_token_expires_in?: number | null; roles: string[]; scope: string[]; sid: string; user: components["schemas"]["UserPublic"]; }; /** LogoutResponse */ LogoutResponse: { status: string; }; /** MinecraftAccountLinkResponse */ MinecraftAccountLinkResponse: { account: components["schemas"]["MinecraftAccountResponse"]; status: string; }; /** MinecraftAccountListResponse */ MinecraftAccountListResponse: { items: components["schemas"]["MinecraftAccountResponse"][]; }; /** MinecraftAccountResolveRequest */ MinecraftAccountResolveRequest: { minecraft_nick: string; }; /** MinecraftAccountResolveResponse */ MinecraftAccountResolveResponse: { account_type: string; found: boolean; minecraft_nick: string | null; minecraft_uuid?: string | null; /** @default nickname */ source: string; }; /** MinecraftAccountResponse */ MinecraftAccountResponse: { account_type: string; created_at?: string | null; id: number; identity_scope_id?: number | null; identity_scope_type: string; link_source: string; minecraft_nick: string | null; minecraft_uuid: string | null; proof_server_id?: number | null; uuid_type?: string | null; verification_status: string; verified_at?: string | null; }; /** MinecraftLinkCodeIssueRequest */ MinecraftLinkCodeIssueRequest: { minecraft_nick: string; server_id?: string | number | null; }; /** MinecraftLinkCodeIssueResponse */ MinecraftLinkCodeIssueResponse: { account: components["schemas"]["MinecraftAccountResolveResponse"]; code: string; expires_in: number; status: string; }; /** OAuthAuthorizationTokenRequest */ OAuthAuthorizationTokenRequest: { client_id: string; code: string; code_verifier: string; grant_type: string; redirect_uri: string; }; /** OAuthAuthorizationTokenResponse */ OAuthAuthorizationTokenResponse: { access_token: string; audience: string; expires_in: number; refresh_token: string; refresh_token_expires_in: number; roles: string[]; scope: string; sid: string; token_type: string; user: components["schemas"]["UserPublic"]; }; /** OAuthCallbackRequest */ OAuthCallbackRequest: { audience?: string | null; code: string; scope?: string[]; state: string; tenant_id?: number | null; totp_code?: string | null; }; /** OAuthCaptchaChallengeResponse */ OAuthCaptchaChallengeResponse: { challenge_id: string; expires_in: number; status: string; }; /** OAuthCaptchaConfirmRequest */ OAuthCaptchaConfirmRequest: { captcha_token: string; challenge_id: string; }; /** OAuthProviderListResponse */ OAuthProviderListResponse: { providers: components["schemas"]["OAuthProviderStatus"][]; }; /** OAuthProviderStatus */ OAuthProviderStatus: { avatar_url?: string | null; connected: boolean; connected_at?: string | null; display_name?: string | null; email?: string | null; provider: string; subject?: string | null; }; /** OAuthStartResponse */ OAuthStartResponse: { authorization_url: string; expires_in: number; state: string; }; /** OAuthTotpChallengeResponse */ OAuthTotpChallengeResponse: { challenge_id: string; error?: string | null; expires_in: number; status: string; }; /** OAuthTotpConfirmRequest */ OAuthTotpConfirmRequest: { challenge_id: string; totp_code: string; }; /** PersonalAccessTokenCreateRequest */ PersonalAccessTokenCreateRequest: { audience?: string | null; /** @default 365 */ expires_in_days?: number; name: string; note?: string | null; scope?: string[]; tenant_id?: number | null; }; /** PersonalAccessTokenCreateResponse */ PersonalAccessTokenCreateResponse: { expires_in: number; item: components["schemas"]["PersonalAccessTokenItem"]; token: string; token_type: string; }; /** PersonalAccessTokenItem */ PersonalAccessTokenItem: { audience: string; /** Format: date-time */ created_at: string; /** Format: date-time */ expires_at: string; id: string; name: string; note?: string | null; revoked_at?: string | null; scope: string[]; tenant?: string | null; token_hint: string; }; /** PersonalAccessTokenListResponse */ PersonalAccessTokenListResponse: { items: components["schemas"]["PersonalAccessTokenItem"][]; }; /** PlatformRoleListResponse */ PlatformRoleListResponse: { items?: components["schemas"]["PlatformRoleResponse"][]; }; /** PlatformRoleRequest */ PlatformRoleRequest: { key: string; name: string; permissions?: string[]; }; /** PlatformRoleResponse */ PlatformRoleResponse: { id: string; key: string; name: string; permissions?: string[]; }; /** PublicJWK */ PublicJWK: { alg: string; e: string; kid: string; kty: string; n: string; use?: string | null; }; /** PublicProfileResponse */ PublicProfileResponse: { avatar_url?: string | null; bio?: string | null; created_at?: string | null; found: boolean; privacy?: components["schemas"]["UserProfilePrivacy"]; slug?: string | null; status?: string | null; user_id?: number | null; username?: string | null; }; /** PublicProfilesBatchItem */ PublicProfilesBatchItem: { avatar_url?: string | null; slug?: string | null; user_id: number; username?: string | null; }; /** PublicProfilesBatchRequest */ PublicProfilesBatchRequest: { user_ids: (number | string)[]; }; /** PublicProfilesBatchResponse */ PublicProfilesBatchResponse: { profiles: components["schemas"]["PublicProfilesBatchItem"][]; }; /** RefreshTokenRequest */ RefreshTokenRequest: { audience?: string | null; refresh_token?: string | null; scope?: string[]; tenant_id?: number | null; }; /** SessionInfo */ SessionInfo: { city?: string | null; country?: string | null; /** @default false */ current: boolean; expires_at?: string | null; id: string; ip_address?: string | null; issued_at?: string | null; revoked_at?: string | null; user_agent?: string | null; }; /** SessionListResponse */ SessionListResponse: { sessions: components["schemas"]["SessionInfo"][]; }; /** SessionRevokeOthersResponse */ SessionRevokeOthersResponse: { /** @default 0 */ revoked_count: number; status: string; }; /** SessionRevokeResponse */ SessionRevokeResponse: { status: string; }; /** StatusResponse */ StatusResponse: { status: string; }; /** TokenExchangeRequest */ TokenExchangeRequest: { audience: string; expires_in_minutes?: number | null; scope?: string[]; tenant_id?: number | null; }; /** UserDetailed */ UserDetailed: { avatar_url?: string | null; created_at: string; email: string | null; id: string; roles?: string[]; status: string; username: string; }; /** UserLogin */ UserLogin: { audience?: string | null; captcha_token?: string | null; ip_address?: string | null; password: string; scope?: string[]; tenant_id?: number | null; totp_code?: string | null; username: string; }; /** UserProfilePrivacy */ UserProfilePrivacy: { /** @default false */ show_activity_stats: boolean; /** @default true */ show_bio: boolean; /** @default true */ show_join_date: boolean; /** @default false */ show_linked_accounts: boolean; /** @default false */ show_ownership: boolean; /** @default false */ show_status: boolean; /** @default false */ show_streak: boolean; /** @default false */ show_top_server: boolean; /** @default false */ show_user_id: boolean; }; /** UserPublic */ UserPublic: { avatar_url?: string | null; bio?: string | null; created_at?: string | null; email?: string | null; /** @default false */ email_verified: boolean; id: number; phone?: string | null; privacy?: components["schemas"]["UserProfilePrivacy"]; slug?: string | null; status?: components["schemas"]["UserStatus"]; time_format_preference?: components["schemas"]["UserTimeFormatPreference"]; updated_at?: string | null; username: string; }; /** UserRegister */ UserRegister: { captcha_token?: string | null; email?: string | null; password: string; username: string; }; /** UserSearchResponse */ UserSearchResponse: { items: components["schemas"]["UserDetailed"][]; total: number; }; /** * UserStatus * @description User statuses. * @default active * @enum {string} */ UserStatus: "active" | "pending" | "disabled" | "banned"; /** * UserTimeFormatPreference * @description Supported user-facing time display preferences. * @default auto * @enum {string} */ UserTimeFormatPreference: "auto" | "12h" | "24h"; /** WebsocketTokenRequest */ WebsocketTokenRequest: { audience: string; scope?: string[]; }; }; responses: never; parameters: never; requestBodies: never; headers: never; pathItems: never; } export type $defs = Record; export interface operations { AuthWellKnownJwksJsonGetJwks: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { "cache-control"?: string; [name: string]: unknown; }; content: { "application/json": components["schemas"]["JWKSResponse"]; }; }; }; }; AuthAdminSessionsSessionIdRevokeRevokeUserSessionAdmin: { parameters: { query?: never; header?: never; path: { session_id: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionRevokeResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthAdminUsersListUsers: { parameters: { query?: { q?: string | null; page?: number; limit?: number; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["UserSearchResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthAdminUsersByMinecraftUuidGetUserByMinecraftUuid: { parameters: { query?: never; header?: never; path: { uuid: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["AdminUserDetail"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthAdminUsersSearchSearchUsers: { parameters: { query?: { q?: string | null; limit?: number; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["UserSearchResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthAdminUsersUserIdGetUser: { parameters: { query?: never; header?: never; path: { user_id: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["AdminUserDetail"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthAdminUsersUserIdUpdateUser: { parameters: { query?: never; header?: never; path: { user_id: number; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["AdminUserUpdateRequest"]; }; }; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["AdminUserDetail"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthAdminUsersUserIdDiscordUpdateUserDiscord: { parameters: { query?: never; header?: never; path: { user_id: number; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["AdminUserDiscordUpdateRequest"]; }; }; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["AdminDiscordSubjectResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthAdminUsersUserIdMinecraftAccountsOfflineCreateUserMinecraftAccount: { parameters: { query?: never; header?: never; path: { user_id: number; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["AdminMinecraftAccountCreateRequest"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["AdminMinecraftAccountDetailed"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthAdminUsersUserIdMinecraftAccountsAccountIdDeleteUserMinecraftAccount: { parameters: { query?: never; header?: never; path: { user_id: number; account_id: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, nothing follows */ 204: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthAdminUsersUserIdMinecraftAccountsAccountIdUpdateUserMinecraftAccount: { parameters: { query?: never; header?: never; path: { user_id: number; account_id: number; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["AdminMinecraftAccountUpdateRequest"]; }; }; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["AdminMinecraftAccountDetailed"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthAdminUsersUserIdRolesListUserRoles: { parameters: { query?: never; header?: never; path: { user_id: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": string[]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthAdminUsersUserIdRolesRoleSlugAssignUserRole: { parameters: { query?: never; header?: never; path: { user_id: number; role_slug: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthAdminUsersUserIdRolesRoleSlugRemoveUserRole: { parameters: { query?: never; header?: never; path: { user_id: number; role_slug: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, nothing follows */ 204: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthAdminUsersUserIdSessionsListUserSessionsAdmin: { parameters: { query?: never; header?: never; path: { user_id: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionListResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthInternalGatewayTokenIssueGatewayToken: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["GatewayTokenRequest"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["IssuedTokenResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthInternalMinecraftAccountsStatsGetMinecraftProfilesStats: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["InternalMinecraftProfilesStatsResponse"]; }; }; }; }; AuthInternalMinecraftByNickMinecraftNickResolveMinecraftNick: { parameters: { query?: { project_id?: number | null; }; header?: never; path: { minecraft_nick: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["InternalMinecraftIdentityLookupResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthInternalMinecraftLinkCodeCandidateResolveMinecraftLinkCodeCandidate: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["InternalMinecraftLinkCodeCandidateRequest"]; }; }; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["MinecraftAccountResolveResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthInternalMinecraftLinkCodeCompleteCompleteMinecraftLinkCode: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["InternalMinecraftLinkCodeCompleteRequest"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["InternalMinecraftLinkCodeCompleteResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthInternalMinecraftLinkCodeIssueIssueMinecraftLinkCode: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["InternalMinecraftLinkCodeIssueRequest"]; }; }; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["InternalMinecraftLinkCodeIssueResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthInternalMinecraftLinkCodeStoreStoreMinecraftLinkCode: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["InternalMinecraftLinkCodeStoreRequest"]; }; }; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["InternalMinecraftLinkCodeStoreResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthInternalMinecraftMinecraftUuidResolveMinecraftUuid: { parameters: { query?: { project_id?: number | null; }; header?: never; path: { minecraft_uuid: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["InternalMinecraftIdentityLookupResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthInternalOauthDiscordDiscordSubjectResolveDiscordSubject: { parameters: { query?: never; header?: never; path: { discord_subject: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["InternalDiscordIdentityLookupResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthInternalOauthDiscordDiscordSubjectEnsureUserEnsureDiscordSubjectUser: { parameters: { query?: never; header?: never; path: { discord_subject: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["InternalDiscordEnsureUserResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthInternalRolesListRoles: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PlatformRoleListResponse"]; }; }; }; }; AuthInternalRolesCreateRole: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["PlatformRoleRequest"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PlatformRoleResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthInternalRolesRoleIdDeleteRole: { parameters: { query?: never; header?: never; path: { role_id: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, nothing follows */ 204: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthInternalRolesRoleIdUpdateRole: { parameters: { query?: never; header?: never; path: { role_id: number; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["PlatformRoleRequest"]; }; }; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PlatformRoleResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthInternalUsersIdentitiesBatchUserIdentities: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["InternalBatchIdentitiesRequest"]; }; }; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["InternalBatchIdentitiesResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthInternalUsersUserIdContactGetUserContact: { parameters: { query?: never; header?: never; path: { user_id: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["InternalUserContactResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthInternalUsersUserIdDiscordSubjectGetUserDiscordSubject: { parameters: { query?: never; header?: never; path: { user_id: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["InternalUserDiscordSubjectResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthInternalUsersUserIdMinecraftAccountsListUserMinecraftAccounts: { parameters: { query?: never; header?: never; path: { user_id: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["MinecraftAccountListResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthIntrospectIntrospect: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["IntrospectRequest"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["IntrospectResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; "auth.login": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["UserLogin"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["LoginResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; "auth.logout": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["LogoutResponse"]; }; }; }; }; AuthMinecraftAccountsLinkCodeIssueLinkCode: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["MinecraftLinkCodeIssueRequest"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["MinecraftLinkCodeIssueResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthMinecraftAccountsResolveResolveAccount: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["MinecraftAccountResolveRequest"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["MinecraftAccountResolveResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; "auth.oauth2.authorize": { parameters: { query: { response_type: string; client_id: string; code_challenge: string; redirect_uri?: string | null; scope?: string | null; state?: string | null; code_challenge_method?: string | null; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Redirect Response */ 200: { headers: { /** @description target path for the redirect */ location?: string; [name: string]: unknown; }; content?: never; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; "auth.oauth.captcha_confirm": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["OAuthCaptchaConfirmRequest"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": | components["schemas"]["LoginResponse"] | components["schemas"]["OAuthTotpChallengeResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthOauthProvidersOauthProviders: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["OAuthProviderListResponse"]; }; }; }; }; "auth.oauth2.token": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/x-www-form-urlencoded": components["schemas"]["OAuthAuthorizationTokenRequest"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["OAuthAuthorizationTokenResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; "auth.oauth.totp_confirm": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["OAuthTotpConfirmRequest"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["LoginResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; "auth.oauth.callback": { parameters: { query?: never; header?: never; path: { provider: string; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["OAuthCallbackRequest"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": | components["schemas"]["LoginResponse"] | components["schemas"]["OAuthCaptchaChallengeResponse"] | components["schemas"]["OAuthTotpChallengeResponse"] | components["schemas"]["StatusResponse"] | components["schemas"]["MinecraftAccountLinkResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthOauthProviderLinkStartOauthLinkStart: { parameters: { query?: { audience?: string | null; }; header?: never; path: { provider: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["OAuthStartResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; "auth.oauth.start": { parameters: { query?: { audience?: string | null; }; header?: never; path: { provider: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["OAuthStartResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthOauthProviderUnlinkOauthUnlink: { parameters: { query?: never; header?: never; path: { provider: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["StatusResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; "auth.tokens.list": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PersonalAccessTokenListResponse"]; }; }; }; }; "auth.tokens.create": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["PersonalAccessTokenCreateRequest"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PersonalAccessTokenCreateResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; "auth.tokens.revoke": { parameters: { query?: never; header?: never; path: { token_id: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["StatusResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; "auth.refresh": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["RefreshTokenRequest"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["LoginResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; "auth.register": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["UserRegister"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["UserPublic"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; "auth.session": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["LoginResponse"]; }; }; }; }; AuthSessionsListSessions: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionListResponse"]; }; }; }; }; AuthSessionsRevokeOthersRevokeOtherSessions: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionRevokeOthersResponse"]; }; }; }; }; AuthSessionsSessionIdRevokeRevokeSession: { parameters: { query?: never; header?: never; path: { session_id: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionRevokeResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthStatusStatus: { parameters: { query?: never; header: { /** @description Shared secret used by Velocity/Paper to query auth status */ "X-Auth-Proxy-Key": string; }; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["AuthStatusRequest"]; }; }; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["AuthStatusResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthTokenExchangeExchangeToken: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["TokenExchangeRequest"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["IssuedTokenResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthUsersPublicProfilesGetPublicProfilesBatch: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["PublicProfilesBatchRequest"]; }; }; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PublicProfilesBatchResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthUsersUserRefPublicProfileGetPublicProfile: { parameters: { query?: never; header?: never; path: { user_ref: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description Request fulfilled, document follows */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PublicProfileResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; AuthWsTokenWebsocketToken: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["WebsocketTokenRequest"]; }; }; responses: { /** @description Document created, URL follows */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["IssuedTokenResponse"]; }; }; /** @description Bad request syntax or unsupported method */ 400: { headers: { [name: string]: unknown; }; content: { /** * @example { * "code": "VALIDATION_FAILED", * "detail": "Request validation failed", * "details": { * "info": "Example payload" * }, * "instance": "/docs/openapi.json", * "request_id": "req_example123", * "service": "auth-service", * "status": 400, * "timestamp": "2024-01-08T12:00:00Z", * "title": "Bad Request", * "type": "urn:auth-service:error:validation_failed" * } */ "application/problem+json": { code: string; detail: string; details?: { [key: string]: unknown; }; /** Format: uri */ instance: string; request_id: string; service?: string; status: number; /** Format: date-time */ timestamp: string; title: string; /** Format: uri */ type: string; } & { [key: string]: unknown; }; }; }; }; }; }