import type { AuthedUser } from '../schemas/AuthedUser'; import type { Enterprise } from '../schemas/Enterprise'; import type { Team } from '../schemas/Team'; export interface SlackTokenResponseResponse { /** * The access token for the application. */ access_token?: string; /** * The ID of the Slack application. */ app_id?: string; /** * The authenticated user details. */ authed_user?: AuthedUser; /** * The bot user ID associated with the token. */ bot_user_id?: string; /** * Enterprise details if available. */ enterprise?: Enterprise; /** * The number of seconds until the token expires. */ expires_in?: number; /** * Indicates if the installation is for an enterprise. */ is_enterprise_install?: boolean; /** * Indicates whether the request was successful. */ ok?: boolean; /** * The refresh token for the application. */ refresh_token?: string; /** * The scopes granted to the application. */ scope?: string; /** * The team information. */ team?: Team; /** * The type of token issued. */ token_type?: string; }