From a837085b63da00f2b39457d89dd8207db82eaed2 Mon Sep 17 00:00:00 2001 From: Steve Gill Date: Mon, 4 Jan 2021 15:39:35 -0800 Subject: [PATCH] added auth.teams.list method --- packages/web-api/src/methods.ts | 7 +++++++ 1 file changed, 7 insertions(+) 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 { } /*