diff --git a/docs/api-docs/slack_sdk/index.html b/docs/api-docs/slack_sdk/index.html index 1097f7881..4d7caecaf 100644 --- a/docs/api-docs/slack_sdk/index.html +++ b/docs/api-docs/slack_sdk/index.html @@ -4926,6 +4926,42 @@

Note

""" return self.api_call("team.billing.info", params=kwargs) + def team_externalTeams_list( + self, + *, + connection_status_filter: Optional[str] = None, + slack_connect_pref_filter: Optional[Sequence[str]] = None, + sort_direction: Optional[str] = None, + sort_field: Optional[str] = None, + workspace_filter: Optional[Sequence[str]] = None, + cursor: Optional[str] = None, + limit: Optional[int] = None, + **kwargs, + ) -> SlackResponse: + """Returns a list of all the external teams connected and details about the connection. + https://api.slack.com/methods/team.externalTeams.list + """ + kwargs.update( + { + "connection_status_filter": connection_status_filter, + "sort_direction": sort_direction, + "sort_field": sort_field, + "cursor": cursor, + "limit": limit, + } + ) + if slack_connect_pref_filter is not None: + if isinstance(slack_connect_pref_filter, (list, Tuple)): + kwargs.update({"slack_connect_pref_filter": ",".join(slack_connect_pref_filter)}) + else: + kwargs.update({"slack_connect_pref_filter": slack_connect_pref_filter}) + if workspace_filter is not None: + if isinstance(workspace_filter, (list, Tuple)): + kwargs.update({"workspace_filter": ",".join(workspace_filter)}) + else: + kwargs.update({"workspace_filter": workspace_filter}) + return self.api_call("team.externalTeams.list", http_verb="GET", params=kwargs) + def team_info( self, *, @@ -12833,6 +12869,53 @@

Methods

return self.api_call("team.billing.info", params=kwargs) +
+def team_externalTeams_list(self, *, connection_status_filter: Optional[str] = None, slack_connect_pref_filter: Optional[Sequence[str]] = None, sort_direction: Optional[str] = None, sort_field: Optional[str] = None, workspace_filter: Optional[Sequence[str]] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +
+
+

Returns a list of all the external teams connected and details about the connection. +https://api.slack.com/methods/team.externalTeams.list

+
+ +Expand source code + +
def team_externalTeams_list(
+    self,
+    *,
+    connection_status_filter: Optional[str] = None,
+    slack_connect_pref_filter: Optional[Sequence[str]] = None,
+    sort_direction: Optional[str] = None,
+    sort_field: Optional[str] = None,
+    workspace_filter: Optional[Sequence[str]] = None,
+    cursor: Optional[str] = None,
+    limit: Optional[int] = None,
+    **kwargs,
+) -> SlackResponse:
+    """Returns a list of all the external teams connected and details about the connection.
+    https://api.slack.com/methods/team.externalTeams.list
+    """
+    kwargs.update(
+        {
+            "connection_status_filter": connection_status_filter,
+            "sort_direction": sort_direction,
+            "sort_field": sort_field,
+            "cursor": cursor,
+            "limit": limit,
+        }
+    )
+    if slack_connect_pref_filter is not None:
+        if isinstance(slack_connect_pref_filter, (list, Tuple)):
+            kwargs.update({"slack_connect_pref_filter": ",".join(slack_connect_pref_filter)})
+        else:
+            kwargs.update({"slack_connect_pref_filter": slack_connect_pref_filter})
+    if workspace_filter is not None:
+        if isinstance(workspace_filter, (list, Tuple)):
+            kwargs.update({"workspace_filter": ",".join(workspace_filter)})
+        else:
+            kwargs.update({"workspace_filter": workspace_filter})
+    return self.api_call("team.externalTeams.list", http_verb="GET", params=kwargs)
+
+
def team_info(self, *, team: Optional[str] = None, domain: Optional[str] = None, **kwargs) ‑> SlackResponse
@@ -14503,6 +14586,7 @@

WebClientteam_accessLogs
  • team_billableInfo
  • team_billing_info
  • +
  • team_externalTeams_list
  • team_info
  • team_integrationLogs
  • team_preferences_list
  • diff --git a/docs/api-docs/slack_sdk/oauth/installation_store/file/index.html b/docs/api-docs/slack_sdk/oauth/installation_store/file/index.html index 2ae413703..0c6946209 100644 --- a/docs/api-docs/slack_sdk/oauth/installation_store/file/index.html +++ b/docs/api-docs/slack_sdk/oauth/installation_store/file/index.html @@ -291,7 +291,7 @@

    Classes

    class FileInstallationStore -(*, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = <Logger slack_sdk.oauth.installation_store.file (WARNING)>) +(*, base_dir: str = '/Users/wbergamin/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = <Logger slack_sdk.oauth.installation_store.file (WARNING)>)

    The installation store interface.

    diff --git a/docs/api-docs/slack_sdk/oauth/installation_store/index.html b/docs/api-docs/slack_sdk/oauth/installation_store/index.html index 761c0921c..4fbd5ea85 100644 --- a/docs/api-docs/slack_sdk/oauth/installation_store/index.html +++ b/docs/api-docs/slack_sdk/oauth/installation_store/index.html @@ -327,7 +327,7 @@

    Methods

    class FileInstallationStore -(*, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = <Logger slack_sdk.oauth.installation_store.file (WARNING)>) +(*, base_dir: str = '/Users/wbergamin/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = <Logger slack_sdk.oauth.installation_store.file (WARNING)>)

    The installation store interface.

    diff --git a/docs/api-docs/slack_sdk/oauth/state_store/file/index.html b/docs/api-docs/slack_sdk/oauth/state_store/file/index.html index 416e6d781..9c0f6fcb0 100644 --- a/docs/api-docs/slack_sdk/oauth/state_store/file/index.html +++ b/docs/api-docs/slack_sdk/oauth/state_store/file/index.html @@ -110,7 +110,7 @@

    Classes

    class FileOAuthStateStore -(*, expiration_seconds: int, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = <Logger slack_sdk.oauth.state_store.file (WARNING)>) +(*, expiration_seconds: int, base_dir: str = '/Users/wbergamin/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = <Logger slack_sdk.oauth.state_store.file (WARNING)>)
    diff --git a/docs/api-docs/slack_sdk/oauth/state_store/index.html b/docs/api-docs/slack_sdk/oauth/state_store/index.html index a07fae3c7..0ffc19f3f 100644 --- a/docs/api-docs/slack_sdk/oauth/state_store/index.html +++ b/docs/api-docs/slack_sdk/oauth/state_store/index.html @@ -80,7 +80,7 @@

    Classes

    class FileOAuthStateStore -(*, expiration_seconds: int, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = <Logger slack_sdk.oauth.state_store.file (WARNING)>) +(*, expiration_seconds: int, base_dir: str = '/Users/wbergamin/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = <Logger slack_sdk.oauth.state_store.file (WARNING)>)
    diff --git a/docs/api-docs/slack_sdk/web/async_client.html b/docs/api-docs/slack_sdk/web/async_client.html index cd42c9aba..f5d4b0a05 100644 --- a/docs/api-docs/slack_sdk/web/async_client.html +++ b/docs/api-docs/slack_sdk/web/async_client.html @@ -4724,6 +4724,42 @@

    Module slack_sdk.web.async_client

    """ return await self.api_call("team.billing.info", params=kwargs) + async def team_externalTeams_list( + self, + *, + connection_status_filter: Optional[str] = None, + slack_connect_pref_filter: Optional[Sequence[str]] = None, + sort_direction: Optional[str] = None, + sort_field: Optional[str] = None, + workspace_filter: Optional[Sequence[str]] = None, + cursor: Optional[str] = None, + limit: Optional[int] = None, + **kwargs, + ) -> AsyncSlackResponse: + """Returns a list of all the external teams connected and details about the connection. + https://api.slack.com/methods/team.externalTeams.list + """ + kwargs.update( + { + "connection_status_filter": connection_status_filter, + "sort_direction": sort_direction, + "sort_field": sort_field, + "cursor": cursor, + "limit": limit, + } + ) + if slack_connect_pref_filter is not None: + if isinstance(slack_connect_pref_filter, (list, Tuple)): + kwargs.update({"slack_connect_pref_filter": ",".join(slack_connect_pref_filter)}) + else: + kwargs.update({"slack_connect_pref_filter": slack_connect_pref_filter}) + if workspace_filter is not None: + if isinstance(workspace_filter, (list, Tuple)): + kwargs.update({"workspace_filter": ",".join(workspace_filter)}) + else: + kwargs.update({"workspace_filter": workspace_filter}) + return await self.api_call("team.externalTeams.list", http_verb="GET", params=kwargs) + async def team_info( self, *, @@ -10017,6 +10053,42 @@

    Note

    """ return await self.api_call("team.billing.info", params=kwargs) + async def team_externalTeams_list( + self, + *, + connection_status_filter: Optional[str] = None, + slack_connect_pref_filter: Optional[Sequence[str]] = None, + sort_direction: Optional[str] = None, + sort_field: Optional[str] = None, + workspace_filter: Optional[Sequence[str]] = None, + cursor: Optional[str] = None, + limit: Optional[int] = None, + **kwargs, + ) -> AsyncSlackResponse: + """Returns a list of all the external teams connected and details about the connection. + https://api.slack.com/methods/team.externalTeams.list + """ + kwargs.update( + { + "connection_status_filter": connection_status_filter, + "sort_direction": sort_direction, + "sort_field": sort_field, + "cursor": cursor, + "limit": limit, + } + ) + if slack_connect_pref_filter is not None: + if isinstance(slack_connect_pref_filter, (list, Tuple)): + kwargs.update({"slack_connect_pref_filter": ",".join(slack_connect_pref_filter)}) + else: + kwargs.update({"slack_connect_pref_filter": slack_connect_pref_filter}) + if workspace_filter is not None: + if isinstance(workspace_filter, (list, Tuple)): + kwargs.update({"workspace_filter": ",".join(workspace_filter)}) + else: + kwargs.update({"workspace_filter": workspace_filter}) + return await self.api_call("team.externalTeams.list", http_verb="GET", params=kwargs) + async def team_info( self, *, @@ -17924,6 +17996,53 @@

    Methods

    return await self.api_call("team.billing.info", params=kwargs)
    +
    +async def team_externalTeams_list(self, *, connection_status_filter: Optional[str] = None, slack_connect_pref_filter: Optional[Sequence[str]] = None, sort_direction: Optional[str] = None, sort_field: Optional[str] = None, workspace_filter: Optional[Sequence[str]] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +
    +
    +

    Returns a list of all the external teams connected and details about the connection. +https://api.slack.com/methods/team.externalTeams.list

    +
    + +Expand source code + +
    async def team_externalTeams_list(
    +    self,
    +    *,
    +    connection_status_filter: Optional[str] = None,
    +    slack_connect_pref_filter: Optional[Sequence[str]] = None,
    +    sort_direction: Optional[str] = None,
    +    sort_field: Optional[str] = None,
    +    workspace_filter: Optional[Sequence[str]] = None,
    +    cursor: Optional[str] = None,
    +    limit: Optional[int] = None,
    +    **kwargs,
    +) -> AsyncSlackResponse:
    +    """Returns a list of all the external teams connected and details about the connection.
    +    https://api.slack.com/methods/team.externalTeams.list
    +    """
    +    kwargs.update(
    +        {
    +            "connection_status_filter": connection_status_filter,
    +            "sort_direction": sort_direction,
    +            "sort_field": sort_field,
    +            "cursor": cursor,
    +            "limit": limit,
    +        }
    +    )
    +    if slack_connect_pref_filter is not None:
    +        if isinstance(slack_connect_pref_filter, (list, Tuple)):
    +            kwargs.update({"slack_connect_pref_filter": ",".join(slack_connect_pref_filter)})
    +        else:
    +            kwargs.update({"slack_connect_pref_filter": slack_connect_pref_filter})
    +    if workspace_filter is not None:
    +        if isinstance(workspace_filter, (list, Tuple)):
    +            kwargs.update({"workspace_filter": ",".join(workspace_filter)})
    +        else:
    +            kwargs.update({"workspace_filter": workspace_filter})
    +    return await self.api_call("team.externalTeams.list", http_verb="GET", params=kwargs)
    +
    +
    async def team_info(self, *, team: Optional[str] = None, domain: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse
    @@ -19133,6 +19252,7 @@

    team_accessLogs
  • team_billableInfo
  • team_billing_info
  • +
  • team_externalTeams_list
  • team_info
  • team_integrationLogs
  • team_preferences_list
  • diff --git a/docs/api-docs/slack_sdk/web/client.html b/docs/api-docs/slack_sdk/web/client.html index e7b8dbc5a..24888cb25 100644 --- a/docs/api-docs/slack_sdk/web/client.html +++ b/docs/api-docs/slack_sdk/web/client.html @@ -4715,6 +4715,42 @@

    Module slack_sdk.web.client

    """ return self.api_call("team.billing.info", params=kwargs) + def team_externalTeams_list( + self, + *, + connection_status_filter: Optional[str] = None, + slack_connect_pref_filter: Optional[Sequence[str]] = None, + sort_direction: Optional[str] = None, + sort_field: Optional[str] = None, + workspace_filter: Optional[Sequence[str]] = None, + cursor: Optional[str] = None, + limit: Optional[int] = None, + **kwargs, + ) -> SlackResponse: + """Returns a list of all the external teams connected and details about the connection. + https://api.slack.com/methods/team.externalTeams.list + """ + kwargs.update( + { + "connection_status_filter": connection_status_filter, + "sort_direction": sort_direction, + "sort_field": sort_field, + "cursor": cursor, + "limit": limit, + } + ) + if slack_connect_pref_filter is not None: + if isinstance(slack_connect_pref_filter, (list, Tuple)): + kwargs.update({"slack_connect_pref_filter": ",".join(slack_connect_pref_filter)}) + else: + kwargs.update({"slack_connect_pref_filter": slack_connect_pref_filter}) + if workspace_filter is not None: + if isinstance(workspace_filter, (list, Tuple)): + kwargs.update({"workspace_filter": ",".join(workspace_filter)}) + else: + kwargs.update({"workspace_filter": workspace_filter}) + return self.api_call("team.externalTeams.list", http_verb="GET", params=kwargs) + def team_info( self, *, @@ -10008,6 +10044,42 @@

    Note

    """ return self.api_call("team.billing.info", params=kwargs) + def team_externalTeams_list( + self, + *, + connection_status_filter: Optional[str] = None, + slack_connect_pref_filter: Optional[Sequence[str]] = None, + sort_direction: Optional[str] = None, + sort_field: Optional[str] = None, + workspace_filter: Optional[Sequence[str]] = None, + cursor: Optional[str] = None, + limit: Optional[int] = None, + **kwargs, + ) -> SlackResponse: + """Returns a list of all the external teams connected and details about the connection. + https://api.slack.com/methods/team.externalTeams.list + """ + kwargs.update( + { + "connection_status_filter": connection_status_filter, + "sort_direction": sort_direction, + "sort_field": sort_field, + "cursor": cursor, + "limit": limit, + } + ) + if slack_connect_pref_filter is not None: + if isinstance(slack_connect_pref_filter, (list, Tuple)): + kwargs.update({"slack_connect_pref_filter": ",".join(slack_connect_pref_filter)}) + else: + kwargs.update({"slack_connect_pref_filter": slack_connect_pref_filter}) + if workspace_filter is not None: + if isinstance(workspace_filter, (list, Tuple)): + kwargs.update({"workspace_filter": ",".join(workspace_filter)}) + else: + kwargs.update({"workspace_filter": workspace_filter}) + return self.api_call("team.externalTeams.list", http_verb="GET", params=kwargs) + def team_info( self, *, @@ -17915,6 +17987,53 @@

    Methods

    return self.api_call("team.billing.info", params=kwargs)
    +
    +def team_externalTeams_list(self, *, connection_status_filter: Optional[str] = None, slack_connect_pref_filter: Optional[Sequence[str]] = None, sort_direction: Optional[str] = None, sort_field: Optional[str] = None, workspace_filter: Optional[Sequence[str]] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +
    +
    +

    Returns a list of all the external teams connected and details about the connection. +https://api.slack.com/methods/team.externalTeams.list

    +
    + +Expand source code + +
    def team_externalTeams_list(
    +    self,
    +    *,
    +    connection_status_filter: Optional[str] = None,
    +    slack_connect_pref_filter: Optional[Sequence[str]] = None,
    +    sort_direction: Optional[str] = None,
    +    sort_field: Optional[str] = None,
    +    workspace_filter: Optional[Sequence[str]] = None,
    +    cursor: Optional[str] = None,
    +    limit: Optional[int] = None,
    +    **kwargs,
    +) -> SlackResponse:
    +    """Returns a list of all the external teams connected and details about the connection.
    +    https://api.slack.com/methods/team.externalTeams.list
    +    """
    +    kwargs.update(
    +        {
    +            "connection_status_filter": connection_status_filter,
    +            "sort_direction": sort_direction,
    +            "sort_field": sort_field,
    +            "cursor": cursor,
    +            "limit": limit,
    +        }
    +    )
    +    if slack_connect_pref_filter is not None:
    +        if isinstance(slack_connect_pref_filter, (list, Tuple)):
    +            kwargs.update({"slack_connect_pref_filter": ",".join(slack_connect_pref_filter)})
    +        else:
    +            kwargs.update({"slack_connect_pref_filter": slack_connect_pref_filter})
    +    if workspace_filter is not None:
    +        if isinstance(workspace_filter, (list, Tuple)):
    +            kwargs.update({"workspace_filter": ",".join(workspace_filter)})
    +        else:
    +            kwargs.update({"workspace_filter": workspace_filter})
    +    return self.api_call("team.externalTeams.list", http_verb="GET", params=kwargs)
    +
    +
    def team_info(self, *, team: Optional[str] = None, domain: Optional[str] = None, **kwargs) ‑> SlackResponse
    @@ -19123,6 +19242,7 @@

    team_accessLogs
  • team_billableInfo
  • team_billing_info
  • +
  • team_externalTeams_list
  • team_info
  • team_integrationLogs
  • team_preferences_list
  • diff --git a/docs/api-docs/slack_sdk/web/index.html b/docs/api-docs/slack_sdk/web/index.html index 3a17f539c..d4c76f903 100644 --- a/docs/api-docs/slack_sdk/web/index.html +++ b/docs/api-docs/slack_sdk/web/index.html @@ -5141,6 +5141,42 @@

    Note

    """ return self.api_call("team.billing.info", params=kwargs) + def team_externalTeams_list( + self, + *, + connection_status_filter: Optional[str] = None, + slack_connect_pref_filter: Optional[Sequence[str]] = None, + sort_direction: Optional[str] = None, + sort_field: Optional[str] = None, + workspace_filter: Optional[Sequence[str]] = None, + cursor: Optional[str] = None, + limit: Optional[int] = None, + **kwargs, + ) -> SlackResponse: + """Returns a list of all the external teams connected and details about the connection. + https://api.slack.com/methods/team.externalTeams.list + """ + kwargs.update( + { + "connection_status_filter": connection_status_filter, + "sort_direction": sort_direction, + "sort_field": sort_field, + "cursor": cursor, + "limit": limit, + } + ) + if slack_connect_pref_filter is not None: + if isinstance(slack_connect_pref_filter, (list, Tuple)): + kwargs.update({"slack_connect_pref_filter": ",".join(slack_connect_pref_filter)}) + else: + kwargs.update({"slack_connect_pref_filter": slack_connect_pref_filter}) + if workspace_filter is not None: + if isinstance(workspace_filter, (list, Tuple)): + kwargs.update({"workspace_filter": ",".join(workspace_filter)}) + else: + kwargs.update({"workspace_filter": workspace_filter}) + return self.api_call("team.externalTeams.list", http_verb="GET", params=kwargs) + def team_info( self, *, @@ -13048,6 +13084,53 @@

    Methods

    return self.api_call("team.billing.info", params=kwargs)
    +
    +def team_externalTeams_list(self, *, connection_status_filter: Optional[str] = None, slack_connect_pref_filter: Optional[Sequence[str]] = None, sort_direction: Optional[str] = None, sort_field: Optional[str] = None, workspace_filter: Optional[Sequence[str]] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +
    +
    +

    Returns a list of all the external teams connected and details about the connection. +https://api.slack.com/methods/team.externalTeams.list

    +
    + +Expand source code + +
    def team_externalTeams_list(
    +    self,
    +    *,
    +    connection_status_filter: Optional[str] = None,
    +    slack_connect_pref_filter: Optional[Sequence[str]] = None,
    +    sort_direction: Optional[str] = None,
    +    sort_field: Optional[str] = None,
    +    workspace_filter: Optional[Sequence[str]] = None,
    +    cursor: Optional[str] = None,
    +    limit: Optional[int] = None,
    +    **kwargs,
    +) -> SlackResponse:
    +    """Returns a list of all the external teams connected and details about the connection.
    +    https://api.slack.com/methods/team.externalTeams.list
    +    """
    +    kwargs.update(
    +        {
    +            "connection_status_filter": connection_status_filter,
    +            "sort_direction": sort_direction,
    +            "sort_field": sort_field,
    +            "cursor": cursor,
    +            "limit": limit,
    +        }
    +    )
    +    if slack_connect_pref_filter is not None:
    +        if isinstance(slack_connect_pref_filter, (list, Tuple)):
    +            kwargs.update({"slack_connect_pref_filter": ",".join(slack_connect_pref_filter)})
    +        else:
    +            kwargs.update({"slack_connect_pref_filter": slack_connect_pref_filter})
    +    if workspace_filter is not None:
    +        if isinstance(workspace_filter, (list, Tuple)):
    +            kwargs.update({"workspace_filter": ",".join(workspace_filter)})
    +        else:
    +            kwargs.update({"workspace_filter": workspace_filter})
    +    return self.api_call("team.externalTeams.list", http_verb="GET", params=kwargs)
    +
    +
    def team_info(self, *, team: Optional[str] = None, domain: Optional[str] = None, **kwargs) ‑> SlackResponse
    @@ -14280,6 +14363,7 @@

    Web
  • team_accessLogs
  • team_billableInfo
  • team_billing_info
  • +
  • team_externalTeams_list
  • team_info
  • team_integrationLogs
  • team_preferences_list
  • diff --git a/docs/api-docs/slack_sdk/web/legacy_client.html b/docs/api-docs/slack_sdk/web/legacy_client.html index f63f65f63..6039f8ed3 100644 --- a/docs/api-docs/slack_sdk/web/legacy_client.html +++ b/docs/api-docs/slack_sdk/web/legacy_client.html @@ -4725,6 +4725,42 @@

    Module slack_sdk.web.legacy_client

    """ return self.api_call("team.billing.info", params=kwargs) + def team_externalTeams_list( + self, + *, + connection_status_filter: Optional[str] = None, + slack_connect_pref_filter: Optional[Sequence[str]] = None, + sort_direction: Optional[str] = None, + sort_field: Optional[str] = None, + workspace_filter: Optional[Sequence[str]] = None, + cursor: Optional[str] = None, + limit: Optional[int] = None, + **kwargs, + ) -> Union[Future, SlackResponse]: + """Returns a list of all the external teams connected and details about the connection. + https://api.slack.com/methods/team.externalTeams.list + """ + kwargs.update( + { + "connection_status_filter": connection_status_filter, + "sort_direction": sort_direction, + "sort_field": sort_field, + "cursor": cursor, + "limit": limit, + } + ) + if slack_connect_pref_filter is not None: + if isinstance(slack_connect_pref_filter, (list, Tuple)): + kwargs.update({"slack_connect_pref_filter": ",".join(slack_connect_pref_filter)}) + else: + kwargs.update({"slack_connect_pref_filter": slack_connect_pref_filter}) + if workspace_filter is not None: + if isinstance(workspace_filter, (list, Tuple)): + kwargs.update({"workspace_filter": ",".join(workspace_filter)}) + else: + kwargs.update({"workspace_filter": workspace_filter}) + return self.api_call("team.externalTeams.list", http_verb="GET", params=kwargs) + def team_info( self, *, @@ -10018,6 +10054,42 @@

    Note

    """ return self.api_call("team.billing.info", params=kwargs) + def team_externalTeams_list( + self, + *, + connection_status_filter: Optional[str] = None, + slack_connect_pref_filter: Optional[Sequence[str]] = None, + sort_direction: Optional[str] = None, + sort_field: Optional[str] = None, + workspace_filter: Optional[Sequence[str]] = None, + cursor: Optional[str] = None, + limit: Optional[int] = None, + **kwargs, + ) -> Union[Future, SlackResponse]: + """Returns a list of all the external teams connected and details about the connection. + https://api.slack.com/methods/team.externalTeams.list + """ + kwargs.update( + { + "connection_status_filter": connection_status_filter, + "sort_direction": sort_direction, + "sort_field": sort_field, + "cursor": cursor, + "limit": limit, + } + ) + if slack_connect_pref_filter is not None: + if isinstance(slack_connect_pref_filter, (list, Tuple)): + kwargs.update({"slack_connect_pref_filter": ",".join(slack_connect_pref_filter)}) + else: + kwargs.update({"slack_connect_pref_filter": slack_connect_pref_filter}) + if workspace_filter is not None: + if isinstance(workspace_filter, (list, Tuple)): + kwargs.update({"workspace_filter": ",".join(workspace_filter)}) + else: + kwargs.update({"workspace_filter": workspace_filter}) + return self.api_call("team.externalTeams.list", http_verb="GET", params=kwargs) + def team_info( self, *, @@ -17925,6 +17997,53 @@

    Methods

    return self.api_call("team.billing.info", params=kwargs)
    +
    +def team_externalTeams_list(self, *, connection_status_filter: Optional[str] = None, slack_connect_pref_filter: Optional[Sequence[str]] = None, sort_direction: Optional[str] = None, sort_field: Optional[str] = None, workspace_filter: Optional[Sequence[str]] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +
    +
    +

    Returns a list of all the external teams connected and details about the connection. +https://api.slack.com/methods/team.externalTeams.list

    +
    + +Expand source code + +
    def team_externalTeams_list(
    +    self,
    +    *,
    +    connection_status_filter: Optional[str] = None,
    +    slack_connect_pref_filter: Optional[Sequence[str]] = None,
    +    sort_direction: Optional[str] = None,
    +    sort_field: Optional[str] = None,
    +    workspace_filter: Optional[Sequence[str]] = None,
    +    cursor: Optional[str] = None,
    +    limit: Optional[int] = None,
    +    **kwargs,
    +) -> Union[Future, SlackResponse]:
    +    """Returns a list of all the external teams connected and details about the connection.
    +    https://api.slack.com/methods/team.externalTeams.list
    +    """
    +    kwargs.update(
    +        {
    +            "connection_status_filter": connection_status_filter,
    +            "sort_direction": sort_direction,
    +            "sort_field": sort_field,
    +            "cursor": cursor,
    +            "limit": limit,
    +        }
    +    )
    +    if slack_connect_pref_filter is not None:
    +        if isinstance(slack_connect_pref_filter, (list, Tuple)):
    +            kwargs.update({"slack_connect_pref_filter": ",".join(slack_connect_pref_filter)})
    +        else:
    +            kwargs.update({"slack_connect_pref_filter": slack_connect_pref_filter})
    +    if workspace_filter is not None:
    +        if isinstance(workspace_filter, (list, Tuple)):
    +            kwargs.update({"workspace_filter": ",".join(workspace_filter)})
    +        else:
    +            kwargs.update({"workspace_filter": workspace_filter})
    +    return self.api_call("team.externalTeams.list", http_verb="GET", params=kwargs)
    +
    +
    def team_info(self, *, team: Optional[str] = None, domain: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse]
    @@ -19133,6 +19252,7 @@

    team_accessLogs
  • team_billableInfo
  • team_billing_info
  • +
  • team_externalTeams_list
  • team_info
  • team_integrationLogs
  • team_preferences_list
  • diff --git a/slack_sdk/version.py b/slack_sdk/version.py index 27fd942ae..89dd93479 100644 --- a/slack_sdk/version.py +++ b/slack_sdk/version.py @@ -1,2 +1,2 @@ """Check the latest version at https://pypi.org/project/slack-sdk/""" -__version__ = "3.29.0" +__version__ = "3.30.0"