Skip to content

Commit

Permalink
version 3.30.0 (#1514)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamBergamin authored Jun 21, 2024
1 parent 19dda82 commit aa3c792
Show file tree
Hide file tree
Showing 10 changed files with 533 additions and 5 deletions.
84 changes: 84 additions & 0 deletions docs/api-docs/slack_sdk/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4926,6 +4926,42 @@ <h2 id="note">Note</h2>
&#34;&#34;&#34;
return self.api_call(&#34;team.billing.info&#34;, 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,
) -&gt; SlackResponse:
&#34;&#34;&#34;Returns a list of all the external teams connected and details about the connection.
https://api.slack.com/methods/team.externalTeams.list
&#34;&#34;&#34;
kwargs.update(
{
&#34;connection_status_filter&#34;: connection_status_filter,
&#34;sort_direction&#34;: sort_direction,
&#34;sort_field&#34;: sort_field,
&#34;cursor&#34;: cursor,
&#34;limit&#34;: limit,
}
)
if slack_connect_pref_filter is not None:
if isinstance(slack_connect_pref_filter, (list, Tuple)):
kwargs.update({&#34;slack_connect_pref_filter&#34;: &#34;,&#34;.join(slack_connect_pref_filter)})
else:
kwargs.update({&#34;slack_connect_pref_filter&#34;: slack_connect_pref_filter})
if workspace_filter is not None:
if isinstance(workspace_filter, (list, Tuple)):
kwargs.update({&#34;workspace_filter&#34;: &#34;,&#34;.join(workspace_filter)})
else:
kwargs.update({&#34;workspace_filter&#34;: workspace_filter})
return self.api_call(&#34;team.externalTeams.list&#34;, http_verb=&#34;GET&#34;, params=kwargs)

def team_info(
self,
*,
Expand Down Expand Up @@ -12833,6 +12869,53 @@ <h3>Methods</h3>
return self.api_call(&#34;team.billing.info&#34;, params=kwargs)</code></pre>
</details>
</dd>
<dt id="slack_sdk.WebClient.team_externalTeams_list"><code class="name flex">
<span>def <span class="ident">team_externalTeams_list</span></span>(<span>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) ‑> <a title="slack_sdk.web.slack_response.SlackResponse" href="web/slack_response.html#slack_sdk.web.slack_response.SlackResponse">SlackResponse</a></span>
</code></dt>
<dd>
<div class="desc"><p>Returns a list of all the external teams connected and details about the connection.
<a href="https://api.slack.com/methods/team.externalTeams.list">https://api.slack.com/methods/team.externalTeams.list</a></p></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">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,
) -&gt; SlackResponse:
&#34;&#34;&#34;Returns a list of all the external teams connected and details about the connection.
https://api.slack.com/methods/team.externalTeams.list
&#34;&#34;&#34;
kwargs.update(
{
&#34;connection_status_filter&#34;: connection_status_filter,
&#34;sort_direction&#34;: sort_direction,
&#34;sort_field&#34;: sort_field,
&#34;cursor&#34;: cursor,
&#34;limit&#34;: limit,
}
)
if slack_connect_pref_filter is not None:
if isinstance(slack_connect_pref_filter, (list, Tuple)):
kwargs.update({&#34;slack_connect_pref_filter&#34;: &#34;,&#34;.join(slack_connect_pref_filter)})
else:
kwargs.update({&#34;slack_connect_pref_filter&#34;: slack_connect_pref_filter})
if workspace_filter is not None:
if isinstance(workspace_filter, (list, Tuple)):
kwargs.update({&#34;workspace_filter&#34;: &#34;,&#34;.join(workspace_filter)})
else:
kwargs.update({&#34;workspace_filter&#34;: workspace_filter})
return self.api_call(&#34;team.externalTeams.list&#34;, http_verb=&#34;GET&#34;, params=kwargs)</code></pre>
</details>
</dd>
<dt id="slack_sdk.WebClient.team_info"><code class="name flex">
<span>def <span class="ident">team_info</span></span>(<span>self, *, team: Optional[str] = None, domain: Optional[str] = None, **kwargs) ‑> <a title="slack_sdk.web.slack_response.SlackResponse" href="web/slack_response.html#slack_sdk.web.slack_response.SlackResponse">SlackResponse</a></span>
</code></dt>
Expand Down Expand Up @@ -14503,6 +14586,7 @@ <h4><code><a title="slack_sdk.WebClient" href="#slack_sdk.WebClient">WebClient</
<li><code><a title="slack_sdk.WebClient.team_accessLogs" href="#slack_sdk.WebClient.team_accessLogs">team_accessLogs</a></code></li>
<li><code><a title="slack_sdk.WebClient.team_billableInfo" href="#slack_sdk.WebClient.team_billableInfo">team_billableInfo</a></code></li>
<li><code><a title="slack_sdk.WebClient.team_billing_info" href="#slack_sdk.WebClient.team_billing_info">team_billing_info</a></code></li>
<li><code><a title="slack_sdk.WebClient.team_externalTeams_list" href="#slack_sdk.WebClient.team_externalTeams_list">team_externalTeams_list</a></code></li>
<li><code><a title="slack_sdk.WebClient.team_info" href="#slack_sdk.WebClient.team_info">team_info</a></code></li>
<li><code><a title="slack_sdk.WebClient.team_integrationLogs" href="#slack_sdk.WebClient.team_integrationLogs">team_integrationLogs</a></code></li>
<li><code><a title="slack_sdk.WebClient.team_preferences_list" href="#slack_sdk.WebClient.team_preferences_list">team_preferences_list</a></code></li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<dl>
<dt id="slack_sdk.oauth.installation_store.file.FileInstallationStore"><code class="flex name class">
<span>class <span class="ident">FileInstallationStore</span></span>
<span>(</span><span>*, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.installation_store.file (WARNING)&gt;)</span>
<span>(</span><span>*, base_dir: str = '/Users/wbergamin/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.installation_store.file (WARNING)&gt;)</span>
</code></dt>
<dd>
<div class="desc"><p>The installation store interface.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ <h3>Methods</h3>
</dd>
<dt id="slack_sdk.oauth.installation_store.FileInstallationStore"><code class="flex name class">
<span>class <span class="ident">FileInstallationStore</span></span>
<span>(</span><span>*, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.installation_store.file (WARNING)&gt;)</span>
<span>(</span><span>*, base_dir: str = '/Users/wbergamin/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.installation_store.file (WARNING)&gt;)</span>
</code></dt>
<dd>
<div class="desc"><p>The installation store interface.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/api-docs/slack_sdk/oauth/state_store/file/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<dl>
<dt id="slack_sdk.oauth.state_store.file.FileOAuthStateStore"><code class="flex name class">
<span>class <span class="ident">FileOAuthStateStore</span></span>
<span>(</span><span>*, expiration_seconds: int, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.state_store.file (WARNING)&gt;)</span>
<span>(</span><span>*, expiration_seconds: int, base_dir: str = '/Users/wbergamin/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.state_store.file (WARNING)&gt;)</span>
</code></dt>
<dd>
<div class="desc"></div>
Expand Down
2 changes: 1 addition & 1 deletion docs/api-docs/slack_sdk/oauth/state_store/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<dl>
<dt id="slack_sdk.oauth.state_store.FileOAuthStateStore"><code class="flex name class">
<span>class <span class="ident">FileOAuthStateStore</span></span>
<span>(</span><span>*, expiration_seconds: int, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.state_store.file (WARNING)&gt;)</span>
<span>(</span><span>*, expiration_seconds: int, base_dir: str = '/Users/wbergamin/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.state_store.file (WARNING)&gt;)</span>
</code></dt>
<dd>
<div class="desc"></div>
Expand Down
120 changes: 120 additions & 0 deletions docs/api-docs/slack_sdk/web/async_client.html
Original file line number Diff line number Diff line change
Expand Up @@ -4724,6 +4724,42 @@ <h1 class="title">Module <code>slack_sdk.web.async_client</code></h1>
&#34;&#34;&#34;
return await self.api_call(&#34;team.billing.info&#34;, 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,
) -&gt; AsyncSlackResponse:
&#34;&#34;&#34;Returns a list of all the external teams connected and details about the connection.
https://api.slack.com/methods/team.externalTeams.list
&#34;&#34;&#34;
kwargs.update(
{
&#34;connection_status_filter&#34;: connection_status_filter,
&#34;sort_direction&#34;: sort_direction,
&#34;sort_field&#34;: sort_field,
&#34;cursor&#34;: cursor,
&#34;limit&#34;: limit,
}
)
if slack_connect_pref_filter is not None:
if isinstance(slack_connect_pref_filter, (list, Tuple)):
kwargs.update({&#34;slack_connect_pref_filter&#34;: &#34;,&#34;.join(slack_connect_pref_filter)})
else:
kwargs.update({&#34;slack_connect_pref_filter&#34;: slack_connect_pref_filter})
if workspace_filter is not None:
if isinstance(workspace_filter, (list, Tuple)):
kwargs.update({&#34;workspace_filter&#34;: &#34;,&#34;.join(workspace_filter)})
else:
kwargs.update({&#34;workspace_filter&#34;: workspace_filter})
return await self.api_call(&#34;team.externalTeams.list&#34;, http_verb=&#34;GET&#34;, params=kwargs)

async def team_info(
self,
*,
Expand Down Expand Up @@ -10017,6 +10053,42 @@ <h2 id="note">Note</h2>
&#34;&#34;&#34;
return await self.api_call(&#34;team.billing.info&#34;, 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,
) -&gt; AsyncSlackResponse:
&#34;&#34;&#34;Returns a list of all the external teams connected and details about the connection.
https://api.slack.com/methods/team.externalTeams.list
&#34;&#34;&#34;
kwargs.update(
{
&#34;connection_status_filter&#34;: connection_status_filter,
&#34;sort_direction&#34;: sort_direction,
&#34;sort_field&#34;: sort_field,
&#34;cursor&#34;: cursor,
&#34;limit&#34;: limit,
}
)
if slack_connect_pref_filter is not None:
if isinstance(slack_connect_pref_filter, (list, Tuple)):
kwargs.update({&#34;slack_connect_pref_filter&#34;: &#34;,&#34;.join(slack_connect_pref_filter)})
else:
kwargs.update({&#34;slack_connect_pref_filter&#34;: slack_connect_pref_filter})
if workspace_filter is not None:
if isinstance(workspace_filter, (list, Tuple)):
kwargs.update({&#34;workspace_filter&#34;: &#34;,&#34;.join(workspace_filter)})
else:
kwargs.update({&#34;workspace_filter&#34;: workspace_filter})
return await self.api_call(&#34;team.externalTeams.list&#34;, http_verb=&#34;GET&#34;, params=kwargs)

async def team_info(
self,
*,
Expand Down Expand Up @@ -17924,6 +17996,53 @@ <h3>Methods</h3>
return await self.api_call(&#34;team.billing.info&#34;, params=kwargs)</code></pre>
</details>
</dd>
<dt id="slack_sdk.web.async_client.AsyncWebClient.team_externalTeams_list"><code class="name flex">
<span>async def <span class="ident">team_externalTeams_list</span></span>(<span>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) ‑> <a title="slack_sdk.web.async_slack_response.AsyncSlackResponse" href="async_slack_response.html#slack_sdk.web.async_slack_response.AsyncSlackResponse">AsyncSlackResponse</a></span>
</code></dt>
<dd>
<div class="desc"><p>Returns a list of all the external teams connected and details about the connection.
<a href="https://api.slack.com/methods/team.externalTeams.list">https://api.slack.com/methods/team.externalTeams.list</a></p></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">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,
) -&gt; AsyncSlackResponse:
&#34;&#34;&#34;Returns a list of all the external teams connected and details about the connection.
https://api.slack.com/methods/team.externalTeams.list
&#34;&#34;&#34;
kwargs.update(
{
&#34;connection_status_filter&#34;: connection_status_filter,
&#34;sort_direction&#34;: sort_direction,
&#34;sort_field&#34;: sort_field,
&#34;cursor&#34;: cursor,
&#34;limit&#34;: limit,
}
)
if slack_connect_pref_filter is not None:
if isinstance(slack_connect_pref_filter, (list, Tuple)):
kwargs.update({&#34;slack_connect_pref_filter&#34;: &#34;,&#34;.join(slack_connect_pref_filter)})
else:
kwargs.update({&#34;slack_connect_pref_filter&#34;: slack_connect_pref_filter})
if workspace_filter is not None:
if isinstance(workspace_filter, (list, Tuple)):
kwargs.update({&#34;workspace_filter&#34;: &#34;,&#34;.join(workspace_filter)})
else:
kwargs.update({&#34;workspace_filter&#34;: workspace_filter})
return await self.api_call(&#34;team.externalTeams.list&#34;, http_verb=&#34;GET&#34;, params=kwargs)</code></pre>
</details>
</dd>
<dt id="slack_sdk.web.async_client.AsyncWebClient.team_info"><code class="name flex">
<span>async def <span class="ident">team_info</span></span>(<span>self, *, team: Optional[str] = None, domain: Optional[str] = None, **kwargs) ‑> <a title="slack_sdk.web.async_slack_response.AsyncSlackResponse" href="async_slack_response.html#slack_sdk.web.async_slack_response.AsyncSlackResponse">AsyncSlackResponse</a></span>
</code></dt>
Expand Down Expand Up @@ -19133,6 +19252,7 @@ <h4><code><a title="slack_sdk.web.async_client.AsyncWebClient" href="#slack_sdk.
<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.team_accessLogs" href="#slack_sdk.web.async_client.AsyncWebClient.team_accessLogs">team_accessLogs</a></code></li>
<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.team_billableInfo" href="#slack_sdk.web.async_client.AsyncWebClient.team_billableInfo">team_billableInfo</a></code></li>
<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.team_billing_info" href="#slack_sdk.web.async_client.AsyncWebClient.team_billing_info">team_billing_info</a></code></li>
<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.team_externalTeams_list" href="#slack_sdk.web.async_client.AsyncWebClient.team_externalTeams_list">team_externalTeams_list</a></code></li>
<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.team_info" href="#slack_sdk.web.async_client.AsyncWebClient.team_info">team_info</a></code></li>
<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.team_integrationLogs" href="#slack_sdk.web.async_client.AsyncWebClient.team_integrationLogs">team_integrationLogs</a></code></li>
<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.team_preferences_list" href="#slack_sdk.web.async_client.AsyncWebClient.team_preferences_list">team_preferences_list</a></code></li>
Expand Down
Loading

0 comments on commit aa3c792

Please sign in to comment.