UNPKG

974 BTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export type OauthV2AccessResponse = WebAPICallResult & {
3 access_token?: string;
4 app_id?: string;
5 authed_user?: AuthedUser;
6 bot_user_id?: string;
7 enterprise?: Enterprise;
8 error?: string;
9 expires_in?: number;
10 incoming_webhook?: IncomingWebhook;
11 is_enterprise_install?: boolean;
12 needed?: string;
13 ok?: boolean;
14 provided?: string;
15 refresh_token?: string;
16 scope?: string;
17 team?: Enterprise;
18 token_type?: string;
19 warning?: string;
20};
21export interface AuthedUser {
22 access_token?: string;
23 expires_in?: number;
24 id?: string;
25 refresh_token?: string;
26 scope?: string;
27 token_type?: string;
28}
29export interface Enterprise {
30 id?: string;
31 name?: string;
32}
33export interface IncomingWebhook {
34 channel?: string;
35 channel_id?: string;
36 configuration_url?: string;
37 url?: string;
38}
39//# sourceMappingURL=OauthV2AccessResponse.d.ts.map
\No newline at end of file