@slack/web-api
Version:
Official library for using the Slack Platform's Web API
39 lines • 979 B
TypeScript
import type { WebAPICallResult } from '../../WebClient';
export type OauthV2AccessResponse = WebAPICallResult & {
access_token?: string;
app_id?: string;
authed_user?: AuthedUser;
bot_user_id?: string;
enterprise?: Enterprise;
error?: string;
expires_in?: number;
incoming_webhook?: IncomingWebhook;
is_enterprise_install?: boolean;
needed?: string;
ok?: boolean;
provided?: string;
refresh_token?: string;
scope?: string;
team?: Enterprise;
token_type?: string;
warning?: string;
};
export interface AuthedUser {
access_token?: string;
expires_in?: number;
id?: string;
refresh_token?: string;
scope?: string;
token_type?: string;
}
export interface Enterprise {
id?: string;
name?: string;
}
export interface IncomingWebhook {
channel?: string;
channel_id?: string;
configuration_url?: string;
url?: string;
}
//# sourceMappingURL=OauthV2AccessResponse.d.ts.map