1 | import type { WebAPICallResult } from '../../WebClient';
|
2 | export type OauthV2ExchangeResponse = 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 | response_metadata?: ResponseMetadata;
|
17 | scope?: string;
|
18 | team?: Enterprise;
|
19 | token_type?: string;
|
20 | warning?: string;
|
21 | };
|
22 | export interface AuthedUser {
|
23 | access_token?: string;
|
24 | expires_in?: number;
|
25 | id?: string;
|
26 | refresh_token?: string;
|
27 | scope?: string;
|
28 | token_type?: string;
|
29 | }
|
30 | export interface Enterprise {
|
31 | id?: string;
|
32 | name?: string;
|
33 | }
|
34 | export interface IncomingWebhook {
|
35 | channel?: string;
|
36 | channel_id?: string;
|
37 | configuration_url?: string;
|
38 | url?: string;
|
39 | }
|
40 | export interface ResponseMetadata {
|
41 | messages?: string[];
|
42 | }
|
43 |
|
\ | No newline at end of file |