1 | import type { OAuthCredentials, OAuthGrantRefresh } from './common';
|
2 | export interface OAuthAccessArguments extends OAuthCredentials {
|
3 | /** @description Request the user to add your app only to a single channel. Only valid with a {@link https://api.slack.com/legacy-workspace-apps legacy workspace app}. Defaults to `false`. */
|
4 | single_channel?: boolean;
|
5 | }
|
6 | export interface OAuthV2AccessArguments extends OAuthCredentials, OAuthGrantRefresh {
|
7 | }
|
8 | export interface OAuthV2ExchangeArguments extends Pick<OAuthCredentials, 'client_id' | 'client_secret'> {
|
9 | /** @description The legacy xoxb or xoxp token being migrated. */
|
10 | token: string;
|
11 | }
|
12 | //# sourceMappingURL=oauth.d.ts.map |
\ | No newline at end of file |