slack-web-api-client
Version:
Streamlined Slack Web API client for TypeScript
39 lines • 974 B
TypeScript
import type { SlackAPIResponse } from "../response";
export type OAuthV2AccessResponse = SlackAPIResponse & {
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