diff --git a/src/client.ts b/src/client.ts index e663068c5..fc7187aa6 100644 --- a/src/client.ts +++ b/src/client.ts @@ -1985,6 +1985,7 @@ export class StreamChat }; + membership_deletion_task_id?: string; } >(this.baseURL + '/users', { users: userMap }); } @@ -2037,6 +2038,7 @@ export class StreamChat }; + membership_deletion_task_id?: string; } >(this.baseURL + '/users', { users }); } diff --git a/src/types.ts b/src/types.ts index d3f35c6c2..70d1dd4d7 100644 --- a/src/types.ts +++ b/src/types.ts @@ -144,6 +144,7 @@ export type AppSettingsAPIResponse; poll_enabled?: boolean; + polls_enabled?: boolean; push_notifications?: { offline_only: boolean; version: string; @@ -818,16 +819,23 @@ export type UpdateUsersAPIResponse = User & { banned?: boolean; + channel_mutes?: ChannelMute[]; created_at?: string; deactivated_at?: string; deleted_at?: string; + devices?: Device[]; + invisible?: boolean | null; language?: TranslationLanguages | ''; last_active?: string; + mutes?: Mute[]; online?: boolean; privacy_settings?: PrivacySettings; push_notifications?: PushNotificationSettings; revoke_tokens_issued_before?: string; shadow_banned?: boolean; + total_unread_count?: number; + unread_channels?: number; + unread_threads?: number; updated_at?: string; };