diff --git a/packages/web-api/src/methods.ts b/packages/web-api/src/methods.ts index 4d2cae33c..7c4a14883 100644 --- a/packages/web-api/src/methods.ts +++ b/packages/web-api/src/methods.ts @@ -185,6 +185,9 @@ export abstract class Methods extends EventEmitter { public readonly auth = { revoke: bindApiCall(this, 'auth.revoke'), + teams: { + list: bindApiCall(this, 'auth.teams.list'), + }, test: bindApiCall(this, 'auth.test'), }; @@ -796,6 +799,10 @@ export interface AppsUninstallArguments extends WebAPICallOptions { export interface AuthRevokeArguments extends WebAPICallOptions, TokenOverridable { test: boolean; } +export interface AuthTeamsListArguments extends WebAPICallOptions, TokenOverridable, CursorPaginationEnabled { + include_icon?: boolean; +} +cursorPaginationEnabledMethods.add('auth.teams.list'); export interface AuthTestArguments extends WebAPICallOptions, TokenOverridable { } /*