mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-04 05:56:09 +00:00
11 lines
484 B
TypeScript
11 lines
484 B
TypeScript
import type { RESTDeleteAPIInviteResult, RESTGetAPIInviteQuery, RESTGetAPIInviteResult } from 'discord-api-types/v10';
|
|
import type { ProxyRequestMethod } from '../Router';
|
|
import type { RestArguments } from '../api';
|
|
|
|
export interface InviteRoutes {
|
|
invites(id: string): {
|
|
get(args?: RestArguments<ProxyRequestMethod.Get, RESTGetAPIInviteQuery>): Promise<RESTGetAPIInviteResult>;
|
|
delete(args?: RestArguments<ProxyRequestMethod.Delete>): Promise<RESTDeleteAPIInviteResult>;
|
|
};
|
|
}
|