@@ -906,6 +906,29 @@ async def admin_users_session_reset(
906906 )
907907 return await self .api_call ("admin.users.session.reset" , params = kwargs )
908908
909+ async def admin_users_session_resetBulk (
910+ self ,
911+ * ,
912+ user_ids : Union [str , Sequence [str ]],
913+ mobile_only : Optional [bool ] = None ,
914+ web_only : Optional [bool ] = None ,
915+ ** kwargs ,
916+ ) -> AsyncSlackResponse :
917+ """Enqueues an asynchronous job to wipe all valid sessions on all devices for a given list of users
918+ https://api.slack.com/methods/admin.users.session.resetBulk
919+ """
920+ if isinstance (user_ids , (list , Tuple )):
921+ kwargs .update ({"user_ids" : "," .join (user_ids )})
922+ else :
923+ kwargs .update ({"user_ids" : user_ids })
924+ kwargs .update (
925+ {
926+ "mobile_only" : mobile_only ,
927+ "web_only" : web_only ,
928+ }
929+ )
930+ return await self .api_call ("admin.users.session.resetBulk" , params = kwargs )
931+
909932 async def admin_users_session_invalidate (
910933 self ,
911934 * ,
@@ -3799,6 +3822,15 @@ async def team_billableInfo(
37993822 kwargs .update ({"team_id" : team_id , "user" : user })
38003823 return await self .api_call ("team.billableInfo" , http_verb = "GET" , params = kwargs )
38013824
3825+ async def team_billing_info (
3826+ self ,
3827+ ** kwargs ,
3828+ ) -> AsyncSlackResponse :
3829+ """Reads a workspace's billing plan information.
3830+ https://api.slack.com/methods/team.billing.info
3831+ """
3832+ return await self .api_call ("team.billing.info" , params = kwargs )
3833+
38023834 async def team_info (
38033835 self ,
38043836 * ,
@@ -3853,6 +3885,15 @@ async def team_profile_get(
38533885 kwargs .update ({"visibility" : visibility })
38543886 return await self .api_call ("team.profile.get" , http_verb = "GET" , params = kwargs )
38553887
3888+ async def team_preferences_list (
3889+ self ,
3890+ ** kwargs ,
3891+ ) -> AsyncSlackResponse :
3892+ """Retrieve a list of a workspace's team preferences.
3893+ https://api.slack.com/methods/team.preferences.list
3894+ """
3895+ return await self .api_call ("team.preferences.list" , params = kwargs )
3896+
38563897 async def usergroups_create (
38573898 self ,
38583899 * ,
0 commit comments