import type { Snowflake } from '../../globals'; import type { APIAuditLog, AuditLogEvent } from '../../payloads/v9/auditLog'; /** * https://discord.com/developers/docs/resources/audit-log#get-guild-audit-log */ export interface RESTGetAPIAuditLogQuery { /** * Filter the log for actions made by a user */ user_id?: Snowflake; /** * The type of audit log events */ action_type?: AuditLogEvent; /** * Filter the log before a certain entry ID */ before?: Snowflake; /** * Filter the log after a certain entry ID */ after?: Snowflake; /** * How many entiries are returned (default 50, minimum 1, maximum 100) * * @default 50 */ limit?: number; } export type RESTGetAPIAuditLogResult = APIAuditLog;