diff --git a/src/interfaces/api/community.ts b/src/interfaces/api/community.ts index e7d6a37..7d072ed 100644 --- a/src/interfaces/api/community.ts +++ b/src/interfaces/api/community.ts @@ -64,6 +64,9 @@ export interface BanFromCommunity { */ remove_data?: boolean; reason?: string; + /** + * The expire time in Unix seconds + */ expires?: number; auth: string; } @@ -110,6 +113,9 @@ export interface RemoveCommunity { community_id: number; removed: boolean; reason?: string; + /** + * The expire time in Unix seconds + */ expires?: number; auth: string; } diff --git a/src/interfaces/api/person.ts b/src/interfaces/api/person.ts index c85b1c6..8272552 100644 --- a/src/interfaces/api/person.ts +++ b/src/interfaces/api/person.ts @@ -173,6 +173,9 @@ export interface BanPerson { */ remove_data?: boolean; reason?: string; + /** + * The expire time in Unix seconds + */ expires?: number; auth: string; } diff --git a/src/interfaces/source.ts b/src/interfaces/source.ts index abf6b4a..838654f 100644 --- a/src/interfaces/source.ts +++ b/src/interfaces/source.ts @@ -35,6 +35,7 @@ export interface PersonSafe { matrix_user_id?: string; admin: boolean; bot_account: boolean; + ban_expires?: string; } export interface Site {