@slack/web-api
Advanced tools
Comparing version 5.8.1 to 5.9.0
@@ -118,2 +118,16 @@ /// <reference types="node" /> | ||
} | ||
export interface AdminUsergroupsAddChannelsArguments extends WebAPICallOptions, TokenOverridable { | ||
usergroup_id: string; | ||
team_id: string; | ||
channel_ids: string | string[]; | ||
} | ||
export interface AdminUsergroupsListChannelsArguments extends WebAPICallOptions, TokenOverridable { | ||
usergroup_id: string; | ||
include_num_members?: boolean; | ||
team_id?: string; | ||
} | ||
export interface AdminUsergroupsRemoveChannelsArguments extends WebAPICallOptions, TokenOverridable { | ||
usergroup_id: string; | ||
channel_ids: string | string[]; | ||
} | ||
export interface AdminUsersAssignArguments extends WebAPICallOptions, TokenOverridable { | ||
@@ -120,0 +134,0 @@ team_id: string; |
@@ -136,2 +136,7 @@ /// <reference types="node" /> | ||
}; | ||
usergroups: { | ||
addChannels: Method<methods.AdminUsergroupsAddChannelsArguments>; | ||
listChannels: Method<methods.AdminUsergroupsListChannelsArguments>; | ||
removeChannels: Method<methods.AdminUsergroupsRemoveChannelsArguments>; | ||
}; | ||
users: { | ||
@@ -138,0 +143,0 @@ session: { |
@@ -113,2 +113,7 @@ "use strict"; | ||
}, | ||
usergroups: { | ||
addChannels: (this.apiCall.bind(this, 'admin.usergroups.addChannels')), | ||
listChannels: (this.apiCall.bind(this, 'admin.usergroups.listChannels')), | ||
removeChannels: (this.apiCall.bind(this, 'admin.usergroups.removeChannels')), | ||
}, | ||
users: { | ||
@@ -115,0 +120,0 @@ session: { |
{ | ||
"name": "@slack/web-api", | ||
"version": "5.8.1", | ||
"version": "5.9.0", | ||
"description": "Official library for using the Slack Platform's Web API", | ||
@@ -5,0 +5,0 @@ "author": "Slack Technologies, Inc.", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
181168
2428