UNPKG

593 BTypeScriptView Raw
1import type { OAuthCredentials, OAuthGrantRefresh } from './common';
2export 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}
6export interface OAuthV2AccessArguments extends OAuthCredentials, OAuthGrantRefresh {
7}
8export interface OAuthV2ExchangeArguments extends Pick<OAuthCredentials, 'client_id' | 'client_secret'> {
9}
10//# sourceMappingURL=oauth.d.ts.map
\No newline at end of file