UNPKG

856 BTypeScriptView Raw
1import type { OptionalArgument } from '../helpers';
2import type { OptionalTeamAssignable, TokenOverridable } from './common';
3export type DndEndDndArguments = OptionalArgument<TokenOverridable>;
4export type DndEndSnoozeArguments = OptionalArgument<TokenOverridable>;
5export type DndInfoArguments = OptionalArgument<TokenOverridable & OptionalTeamAssignable & {
6 /** @description User to fetch status for (defaults to authed user). */
7 user?: string;
8}>;
9export interface DndSetSnoozeArguments extends TokenOverridable {
10 /** @description Number of minutes, from now, to snooze until. */
11 num_minutes: number;
12}
13export interface DndTeamInfoArguments extends TokenOverridable, OptionalTeamAssignable {
14 /** @description Comma-separated list of users to fetch Do Not Disturb status for. */
15 users: string;
16}
17//# sourceMappingURL=dnd.d.ts.map
\No newline at end of file