Skip to content

Commit df17795

Browse files
author
skamieniarz
committed
API-10478: Update docs after code review changes
1 parent 4243c3a commit df17795

File tree

1 file changed

+141
-0
lines changed

1 file changed

+141
-0
lines changed

docs/webhooks/v35.html

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,27 @@ <h1 class="title">Module <code>webhooks.v35</code></h1>
348348
agent_priorities: dict = None
349349

350350

351+
@dataclass
352+
class TagCreated:
353+
name: str
354+
author_id: str
355+
created_at: str
356+
group_ids: list
357+
358+
359+
@dataclass
360+
class TagDeleted:
361+
name: str
362+
363+
364+
@dataclass
365+
class TagUpdated:
366+
name: str
367+
group_ids: list
368+
author_id: str = None
369+
created_at: str = None
370+
371+
351372
# Other
352373

353374

@@ -395,6 +416,9 @@ <h1 class="title">Module <code>webhooks.v35</code></h1>
395416
&#39;group_created&#39;: GroupCreated,
396417
&#39;group_deleted&#39;: GroupDeleted,
397418
&#39;group_updated&#39;: GroupUpdated,
419+
&#39;tag_created&#39;: TagCreated,
420+
&#39;tag_deleted&#39;: TagDeleted,
421+
&#39;tag_updated&#39;: TagUpdated,
398422
&#39;events_marked_as_seen&#39;: EventsMarkedAsSeen,
399423
}</code></pre>
400424
</details>
@@ -1448,6 +1472,99 @@ <h3>Class variables</h3>
14481472
</dd>
14491473
</dl>
14501474
</dd>
1475+
<dt id="webhooks.v35.TagCreated"><code class="flex name class">
1476+
<span>class <span class="ident">TagCreated</span></span>
1477+
<span>(</span><span>name: str, author_id: str, created_at: str, group_ids: list)</span>
1478+
</code></dt>
1479+
<dd>
1480+
<div class="desc"><p>TagCreated(name: str, author_id: str, created_at: str, group_ids: list)</p></div>
1481+
<details class="source">
1482+
<summary>
1483+
<span>Expand source code</span>
1484+
</summary>
1485+
<pre><code class="python">class TagCreated:
1486+
name: str
1487+
author_id: str
1488+
created_at: str
1489+
group_ids: list</code></pre>
1490+
</details>
1491+
<h3>Class variables</h3>
1492+
<dl>
1493+
<dt id="webhooks.v35.TagCreated.author_id"><code class="name">var <span class="ident">author_id</span> : str</code></dt>
1494+
<dd>
1495+
<div class="desc"></div>
1496+
</dd>
1497+
<dt id="webhooks.v35.TagCreated.created_at"><code class="name">var <span class="ident">created_at</span> : str</code></dt>
1498+
<dd>
1499+
<div class="desc"></div>
1500+
</dd>
1501+
<dt id="webhooks.v35.TagCreated.group_ids"><code class="name">var <span class="ident">group_ids</span> : list</code></dt>
1502+
<dd>
1503+
<div class="desc"></div>
1504+
</dd>
1505+
<dt id="webhooks.v35.TagCreated.name"><code class="name">var <span class="ident">name</span> : str</code></dt>
1506+
<dd>
1507+
<div class="desc"></div>
1508+
</dd>
1509+
</dl>
1510+
</dd>
1511+
<dt id="webhooks.v35.TagDeleted"><code class="flex name class">
1512+
<span>class <span class="ident">TagDeleted</span></span>
1513+
<span>(</span><span>name: str)</span>
1514+
</code></dt>
1515+
<dd>
1516+
<div class="desc"><p>TagDeleted(name: str)</p></div>
1517+
<details class="source">
1518+
<summary>
1519+
<span>Expand source code</span>
1520+
</summary>
1521+
<pre><code class="python">class TagDeleted:
1522+
name: str</code></pre>
1523+
</details>
1524+
<h3>Class variables</h3>
1525+
<dl>
1526+
<dt id="webhooks.v35.TagDeleted.name"><code class="name">var <span class="ident">name</span> : str</code></dt>
1527+
<dd>
1528+
<div class="desc"></div>
1529+
</dd>
1530+
</dl>
1531+
</dd>
1532+
<dt id="webhooks.v35.TagUpdated"><code class="flex name class">
1533+
<span>class <span class="ident">TagUpdated</span></span>
1534+
<span>(</span><span>name: str, group_ids: list, author_id: str = None, created_at: str = None)</span>
1535+
</code></dt>
1536+
<dd>
1537+
<div class="desc"><p>TagUpdated(name: str, group_ids: list, author_id: str = None, created_at: str = None)</p></div>
1538+
<details class="source">
1539+
<summary>
1540+
<span>Expand source code</span>
1541+
</summary>
1542+
<pre><code class="python">class TagUpdated:
1543+
name: str
1544+
group_ids: list
1545+
author_id: str = None
1546+
created_at: str = None</code></pre>
1547+
</details>
1548+
<h3>Class variables</h3>
1549+
<dl>
1550+
<dt id="webhooks.v35.TagUpdated.author_id"><code class="name">var <span class="ident">author_id</span> : str</code></dt>
1551+
<dd>
1552+
<div class="desc"></div>
1553+
</dd>
1554+
<dt id="webhooks.v35.TagUpdated.created_at"><code class="name">var <span class="ident">created_at</span> : str</code></dt>
1555+
<dd>
1556+
<div class="desc"></div>
1557+
</dd>
1558+
<dt id="webhooks.v35.TagUpdated.group_ids"><code class="name">var <span class="ident">group_ids</span> : list</code></dt>
1559+
<dd>
1560+
<div class="desc"></div>
1561+
</dd>
1562+
<dt id="webhooks.v35.TagUpdated.name"><code class="name">var <span class="ident">name</span> : str</code></dt>
1563+
<dd>
1564+
<div class="desc"></div>
1565+
</dd>
1566+
</dl>
1567+
</dd>
14511568
<dt id="webhooks.v35.ThreadPropertiesDeleted"><code class="flex name class">
14521569
<span>class <span class="ident">ThreadPropertiesDeleted</span></span>
14531570
<span>(</span><span>chat_id: str, thread_id: str, properties: dict)</span>
@@ -2010,6 +2127,30 @@ <h4><code><a title="webhooks.v35.RoutingStatusSet" href="#webhooks.v35.RoutingSt
20102127
</ul>
20112128
</li>
20122129
<li>
2130+
<h4><code><a title="webhooks.v35.TagCreated" href="#webhooks.v35.TagCreated">TagCreated</a></code></h4>
2131+
<ul class="">
2132+
<li><code><a title="webhooks.v35.TagCreated.author_id" href="#webhooks.v35.TagCreated.author_id">author_id</a></code></li>
2133+
<li><code><a title="webhooks.v35.TagCreated.created_at" href="#webhooks.v35.TagCreated.created_at">created_at</a></code></li>
2134+
<li><code><a title="webhooks.v35.TagCreated.group_ids" href="#webhooks.v35.TagCreated.group_ids">group_ids</a></code></li>
2135+
<li><code><a title="webhooks.v35.TagCreated.name" href="#webhooks.v35.TagCreated.name">name</a></code></li>
2136+
</ul>
2137+
</li>
2138+
<li>
2139+
<h4><code><a title="webhooks.v35.TagDeleted" href="#webhooks.v35.TagDeleted">TagDeleted</a></code></h4>
2140+
<ul class="">
2141+
<li><code><a title="webhooks.v35.TagDeleted.name" href="#webhooks.v35.TagDeleted.name">name</a></code></li>
2142+
</ul>
2143+
</li>
2144+
<li>
2145+
<h4><code><a title="webhooks.v35.TagUpdated" href="#webhooks.v35.TagUpdated">TagUpdated</a></code></h4>
2146+
<ul class="">
2147+
<li><code><a title="webhooks.v35.TagUpdated.author_id" href="#webhooks.v35.TagUpdated.author_id">author_id</a></code></li>
2148+
<li><code><a title="webhooks.v35.TagUpdated.created_at" href="#webhooks.v35.TagUpdated.created_at">created_at</a></code></li>
2149+
<li><code><a title="webhooks.v35.TagUpdated.group_ids" href="#webhooks.v35.TagUpdated.group_ids">group_ids</a></code></li>
2150+
<li><code><a title="webhooks.v35.TagUpdated.name" href="#webhooks.v35.TagUpdated.name">name</a></code></li>
2151+
</ul>
2152+
</li>
2153+
<li>
20132154
<h4><code><a title="webhooks.v35.ThreadPropertiesDeleted" href="#webhooks.v35.ThreadPropertiesDeleted">ThreadPropertiesDeleted</a></code></h4>
20142155
<ul class="">
20152156
<li><code><a title="webhooks.v35.ThreadPropertiesDeleted.chat_id" href="#webhooks.v35.ThreadPropertiesDeleted.chat_id">chat_id</a></code></li>

0 commit comments

Comments
 (0)