Skip to content

Commit 5bb8cce

Browse files
committed
version 3.14.0
1 parent d5e7b70 commit 5bb8cce

File tree

19 files changed

+606
-71
lines changed

19 files changed

+606
-71
lines changed

docs/api-docs/slack_sdk/audit_logs/v1/async_client.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ <h1 class="title">Module <code>slack_sdk.audit_logs.v1.async_client</code></h1>
181181
action: Optional[str] = None,
182182
actor: Optional[str] = None,
183183
entity: Optional[str] = None,
184+
cursor: Optional[str] = None,
184185
additional_query_params: Optional[Dict[str, Any]] = None,
185186
headers: Optional[Dict[str, str]] = None,
186187
) -&gt; AuditLogsResponse:
@@ -201,6 +202,7 @@ <h1 class="title">Module <code>slack_sdk.audit_logs.v1.async_client</code></h1>
201202
action: Name of the action.
202203
actor: User ID who initiated the action.
203204
entity: ID of the target entity of the action (such as a channel, workspace, organization, file).
205+
cursor: The next page cursor of pagination
204206
additional_query_params: Add anything else if you need to use the ones this library does not support
205207
headers: Additional request headers
206208

@@ -214,6 +216,7 @@ <h1 class="title">Module <code>slack_sdk.audit_logs.v1.async_client</code></h1>
214216
&#34;action&#34;: action,
215217
&#34;actor&#34;: actor,
216218
&#34;entity&#34;: entity,
219+
&#34;cursor&#34;: cursor,
217220
}
218221
if additional_query_params is not None:
219222
query_params.update(additional_query_params)
@@ -567,6 +570,7 @@ <h2 id="args">Args</h2>
567570
action: Optional[str] = None,
568571
actor: Optional[str] = None,
569572
entity: Optional[str] = None,
573+
cursor: Optional[str] = None,
570574
additional_query_params: Optional[Dict[str, Any]] = None,
571575
headers: Optional[Dict[str, str]] = None,
572576
) -&gt; AuditLogsResponse:
@@ -587,6 +591,7 @@ <h2 id="args">Args</h2>
587591
action: Name of the action.
588592
actor: User ID who initiated the action.
589593
entity: ID of the target entity of the action (such as a channel, workspace, organization, file).
594+
cursor: The next page cursor of pagination
590595
additional_query_params: Add anything else if you need to use the ones this library does not support
591596
headers: Additional request headers
592597

@@ -600,6 +605,7 @@ <h2 id="args">Args</h2>
600605
&#34;action&#34;: action,
601606
&#34;actor&#34;: actor,
602607
&#34;entity&#34;: entity,
608+
&#34;cursor&#34;: cursor,
603609
}
604610
if additional_query_params is not None:
605611
query_params.update(additional_query_params)
@@ -908,7 +914,7 @@ <h2 id="returns">Returns</h2>
908914
</details>
909915
</dd>
910916
<dt id="slack_sdk.audit_logs.v1.async_client.AsyncAuditLogsClient.logs"><code class="name flex">
911-
<span>async def <span class="ident">logs</span></span>(<span>self, *, latest: Optional[int] = None, oldest: Optional[int] = None, limit: Optional[int] = None, action: Optional[str] = None, actor: Optional[str] = None, entity: Optional[str] = None, additional_query_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> <a title="slack_sdk.audit_logs.v1.response.AuditLogsResponse" href="response.html#slack_sdk.audit_logs.v1.response.AuditLogsResponse">AuditLogsResponse</a></span>
917+
<span>async def <span class="ident">logs</span></span>(<span>self, *, latest: Optional[int] = None, oldest: Optional[int] = None, limit: Optional[int] = None, action: Optional[str] = None, actor: Optional[str] = None, entity: Optional[str] = None, cursor: Optional[str] = None, additional_query_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> <a title="slack_sdk.audit_logs.v1.response.AuditLogsResponse" href="response.html#slack_sdk.audit_logs.v1.response.AuditLogsResponse">AuditLogsResponse</a></span>
912918
</code></dt>
913919
<dd>
914920
<div class="desc"><p>This is the primary endpoint for retrieving actual audit events from your organization.
@@ -933,6 +939,8 @@ <h2 id="args">Args</h2>
933939
<dd>User ID who initiated the action.</dd>
934940
<dt><strong><code>entity</code></strong></dt>
935941
<dd>ID of the target entity of the action (such as a channel, workspace, organization, file).</dd>
942+
<dt><strong><code>cursor</code></strong></dt>
943+
<dd>The next page cursor of pagination</dd>
936944
<dt><strong><code>additional_query_params</code></strong></dt>
937945
<dd>Add anything else if you need to use the ones this library does not support</dd>
938946
<dt><strong><code>headers</code></strong></dt>
@@ -953,6 +961,7 @@ <h2 id="returns">Returns</h2>
953961
action: Optional[str] = None,
954962
actor: Optional[str] = None,
955963
entity: Optional[str] = None,
964+
cursor: Optional[str] = None,
956965
additional_query_params: Optional[Dict[str, Any]] = None,
957966
headers: Optional[Dict[str, str]] = None,
958967
) -&gt; AuditLogsResponse:
@@ -973,6 +982,7 @@ <h2 id="returns">Returns</h2>
973982
action: Name of the action.
974983
actor: User ID who initiated the action.
975984
entity: ID of the target entity of the action (such as a channel, workspace, organization, file).
985+
cursor: The next page cursor of pagination
976986
additional_query_params: Add anything else if you need to use the ones this library does not support
977987
headers: Additional request headers
978988

@@ -986,6 +996,7 @@ <h2 id="returns">Returns</h2>
986996
&#34;action&#34;: action,
987997
&#34;actor&#34;: actor,
988998
&#34;entity&#34;: entity,
999+
&#34;cursor&#34;: cursor,
9891000
}
9901001
if additional_query_params is not None:
9911002
query_params.update(additional_query_params)

docs/api-docs/slack_sdk/audit_logs/v1/client.html

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ <h1 class="title">Module <code>slack_sdk.audit_logs.v1.client</code></h1>
170170
action: Optional[str] = None,
171171
actor: Optional[str] = None,
172172
entity: Optional[str] = None,
173+
cursor: Optional[str] = None,
173174
additional_query_params: Optional[Dict[str, Any]] = None,
174175
headers: Optional[Dict[str, str]] = None,
175176
) -&gt; AuditLogsResponse:
@@ -190,6 +191,7 @@ <h1 class="title">Module <code>slack_sdk.audit_logs.v1.client</code></h1>
190191
action: Name of the action.
191192
actor: User ID who initiated the action.
192193
entity: ID of the target entity of the action (such as a channel, workspace, organization, file).
194+
cursor: The next page cursor of pagination
193195
additional_query_params: Add anything else if you need to use the ones this library does not support
194196
headers: Additional request headers
195197

@@ -203,6 +205,7 @@ <h1 class="title">Module <code>slack_sdk.audit_logs.v1.client</code></h1>
203205
&#34;action&#34;: action,
204206
&#34;actor&#34;: actor,
205207
&#34;entity&#34;: entity,
208+
&#34;cursor&#34;: cursor,
206209
}
207210
if additional_query_params is not None:
208211
query_params.update(additional_query_params)
@@ -287,11 +290,13 @@ <h1 class="title">Module <code>slack_sdk.audit_logs.v1.client</code></h1>
287290
# read the response body here
288291
charset = e.headers.get_content_charset() or &#34;utf-8&#34;
289292
response_body: str = e.read().decode(charset)
293+
# As adding new values to HTTPError#headers can be ignored, building a new dict object here
294+
response_headers = dict(e.headers.items())
290295
resp = AuditLogsResponse(
291296
url=url,
292297
status_code=e.code,
293298
raw_body=response_body,
294-
headers=dict(e.headers.items()),
299+
headers=response_headers,
295300
)
296301
if e.code == 429:
297302
# for backward-compatibility with WebClient (v.2.5.0 or older)
@@ -570,6 +575,7 @@ <h2 id="args">Args</h2>
570575
action: Optional[str] = None,
571576
actor: Optional[str] = None,
572577
entity: Optional[str] = None,
578+
cursor: Optional[str] = None,
573579
additional_query_params: Optional[Dict[str, Any]] = None,
574580
headers: Optional[Dict[str, str]] = None,
575581
) -&gt; AuditLogsResponse:
@@ -590,6 +596,7 @@ <h2 id="args">Args</h2>
590596
action: Name of the action.
591597
actor: User ID who initiated the action.
592598
entity: ID of the target entity of the action (such as a channel, workspace, organization, file).
599+
cursor: The next page cursor of pagination
593600
additional_query_params: Add anything else if you need to use the ones this library does not support
594601
headers: Additional request headers
595602

@@ -603,6 +610,7 @@ <h2 id="args">Args</h2>
603610
&#34;action&#34;: action,
604611
&#34;actor&#34;: actor,
605612
&#34;entity&#34;: entity,
613+
&#34;cursor&#34;: cursor,
606614
}
607615
if additional_query_params is not None:
608616
query_params.update(additional_query_params)
@@ -687,11 +695,13 @@ <h2 id="args">Args</h2>
687695
# read the response body here
688696
charset = e.headers.get_content_charset() or &#34;utf-8&#34;
689697
response_body: str = e.read().decode(charset)
698+
# As adding new values to HTTPError#headers can be ignored, building a new dict object here
699+
response_headers = dict(e.headers.items())
690700
resp = AuditLogsResponse(
691701
url=url,
692702
status_code=e.code,
693703
raw_body=response_body,
694-
headers=dict(e.headers.items()),
704+
headers=response_headers,
695705
)
696706
if e.code == 429:
697707
# for backward-compatibility with WebClient (v.2.5.0 or older)
@@ -935,7 +945,7 @@ <h2 id="returns">Returns</h2>
935945
</details>
936946
</dd>
937947
<dt id="slack_sdk.audit_logs.v1.client.AuditLogsClient.logs"><code class="name flex">
938-
<span>def <span class="ident">logs</span></span>(<span>self, *, latest: Optional[int] = None, oldest: Optional[int] = None, limit: Optional[int] = None, action: Optional[str] = None, actor: Optional[str] = None, entity: Optional[str] = None, additional_query_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> <a title="slack_sdk.audit_logs.v1.response.AuditLogsResponse" href="response.html#slack_sdk.audit_logs.v1.response.AuditLogsResponse">AuditLogsResponse</a></span>
948+
<span>def <span class="ident">logs</span></span>(<span>self, *, latest: Optional[int] = None, oldest: Optional[int] = None, limit: Optional[int] = None, action: Optional[str] = None, actor: Optional[str] = None, entity: Optional[str] = None, cursor: Optional[str] = None, additional_query_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> <a title="slack_sdk.audit_logs.v1.response.AuditLogsResponse" href="response.html#slack_sdk.audit_logs.v1.response.AuditLogsResponse">AuditLogsResponse</a></span>
939949
</code></dt>
940950
<dd>
941951
<div class="desc"><p>This is the primary endpoint for retrieving actual audit events from your organization.
@@ -960,6 +970,8 @@ <h2 id="args">Args</h2>
960970
<dd>User ID who initiated the action.</dd>
961971
<dt><strong><code>entity</code></strong></dt>
962972
<dd>ID of the target entity of the action (such as a channel, workspace, organization, file).</dd>
973+
<dt><strong><code>cursor</code></strong></dt>
974+
<dd>The next page cursor of pagination</dd>
963975
<dt><strong><code>additional_query_params</code></strong></dt>
964976
<dd>Add anything else if you need to use the ones this library does not support</dd>
965977
<dt><strong><code>headers</code></strong></dt>
@@ -980,6 +992,7 @@ <h2 id="returns">Returns</h2>
980992
action: Optional[str] = None,
981993
actor: Optional[str] = None,
982994
entity: Optional[str] = None,
995+
cursor: Optional[str] = None,
983996
additional_query_params: Optional[Dict[str, Any]] = None,
984997
headers: Optional[Dict[str, str]] = None,
985998
) -&gt; AuditLogsResponse:
@@ -1000,6 +1013,7 @@ <h2 id="returns">Returns</h2>
10001013
action: Name of the action.
10011014
actor: User ID who initiated the action.
10021015
entity: ID of the target entity of the action (such as a channel, workspace, organization, file).
1016+
cursor: The next page cursor of pagination
10031017
additional_query_params: Add anything else if you need to use the ones this library does not support
10041018
headers: Additional request headers
10051019

@@ -1013,6 +1027,7 @@ <h2 id="returns">Returns</h2>
10131027
&#34;action&#34;: action,
10141028
&#34;actor&#34;: actor,
10151029
&#34;entity&#34;: entity,
1030+
&#34;cursor&#34;: cursor,
10161031
}
10171032
if additional_query_params is not None:
10181033
query_params.update(additional_query_params)

0 commit comments

Comments
 (0)