Skip to content

Commit 5518cf5

Browse files
committed
Release 0.0.59
1 parent 53dd45e commit 5518cf5

6 files changed

Lines changed: 3 additions & 413 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "agentmail"
33

44
[tool.poetry]
55
name = "agentmail"
6-
version = "0.0.58"
6+
version = "0.0.59"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 0 additions & 278 deletions
Original file line numberDiff line numberDiff line change
@@ -1516,145 +1516,6 @@ client.inboxes.messages.get(
15161516
</dl>
15171517

15181518

1519-
</dd>
1520-
</dl>
1521-
</details>
1522-
1523-
<details><summary><code>client.inboxes.messages.<a href="src/agentmail/inboxes/messages/client.py">get_attachment</a>(...)</code></summary>
1524-
<dl>
1525-
<dd>
1526-
1527-
#### 🔌 Usage
1528-
1529-
<dl>
1530-
<dd>
1531-
1532-
<dl>
1533-
<dd>
1534-
1535-
```python
1536-
from agentmail import AgentMail
1537-
1538-
client = AgentMail(
1539-
api_key="YOUR_API_KEY",
1540-
)
1541-
client.inboxes.messages.get_attachment(
1542-
inbox_id="inbox_id",
1543-
message_id="message_id",
1544-
attachment_id="attachment_id",
1545-
)
1546-
1547-
```
1548-
</dd>
1549-
</dl>
1550-
</dd>
1551-
</dl>
1552-
1553-
#### ⚙️ Parameters
1554-
1555-
<dl>
1556-
<dd>
1557-
1558-
<dl>
1559-
<dd>
1560-
1561-
**inbox_id:** `InboxId`
1562-
1563-
</dd>
1564-
</dl>
1565-
1566-
<dl>
1567-
<dd>
1568-
1569-
**message_id:** `MessageId`
1570-
1571-
</dd>
1572-
</dl>
1573-
1574-
<dl>
1575-
<dd>
1576-
1577-
**attachment_id:** `AttachmentId`
1578-
1579-
</dd>
1580-
</dl>
1581-
1582-
<dl>
1583-
<dd>
1584-
1585-
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
1586-
1587-
</dd>
1588-
</dl>
1589-
</dd>
1590-
</dl>
1591-
1592-
1593-
</dd>
1594-
</dl>
1595-
</details>
1596-
1597-
<details><summary><code>client.inboxes.messages.<a href="src/agentmail/inboxes/messages/client.py">get_raw</a>(...)</code></summary>
1598-
<dl>
1599-
<dd>
1600-
1601-
#### 🔌 Usage
1602-
1603-
<dl>
1604-
<dd>
1605-
1606-
<dl>
1607-
<dd>
1608-
1609-
```python
1610-
from agentmail import AgentMail
1611-
1612-
client = AgentMail(
1613-
api_key="YOUR_API_KEY",
1614-
)
1615-
client.inboxes.messages.get_raw(
1616-
inbox_id="inbox_id",
1617-
message_id="message_id",
1618-
)
1619-
1620-
```
1621-
</dd>
1622-
</dl>
1623-
</dd>
1624-
</dl>
1625-
1626-
#### ⚙️ Parameters
1627-
1628-
<dl>
1629-
<dd>
1630-
1631-
<dl>
1632-
<dd>
1633-
1634-
**inbox_id:** `InboxId`
1635-
1636-
</dd>
1637-
</dl>
1638-
1639-
<dl>
1640-
<dd>
1641-
1642-
**message_id:** `MessageId`
1643-
1644-
</dd>
1645-
</dl>
1646-
1647-
<dl>
1648-
<dd>
1649-
1650-
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
1651-
1652-
</dd>
1653-
</dl>
1654-
</dd>
1655-
</dl>
1656-
1657-
16581519
</dd>
16591520
</dl>
16601521
</details>
@@ -2252,80 +2113,6 @@ client.inboxes.threads.get(
22522113
</dl>
22532114

22542115

2255-
</dd>
2256-
</dl>
2257-
</details>
2258-
2259-
<details><summary><code>client.inboxes.threads.<a href="src/agentmail/inboxes/threads/client.py">get_attachment</a>(...)</code></summary>
2260-
<dl>
2261-
<dd>
2262-
2263-
#### 🔌 Usage
2264-
2265-
<dl>
2266-
<dd>
2267-
2268-
<dl>
2269-
<dd>
2270-
2271-
```python
2272-
from agentmail import AgentMail
2273-
2274-
client = AgentMail(
2275-
api_key="YOUR_API_KEY",
2276-
)
2277-
client.inboxes.threads.get_attachment(
2278-
inbox_id="inbox_id",
2279-
thread_id="thread_id",
2280-
attachment_id="attachment_id",
2281-
)
2282-
2283-
```
2284-
</dd>
2285-
</dl>
2286-
</dd>
2287-
</dl>
2288-
2289-
#### ⚙️ Parameters
2290-
2291-
<dl>
2292-
<dd>
2293-
2294-
<dl>
2295-
<dd>
2296-
2297-
**inbox_id:** `InboxId`
2298-
2299-
</dd>
2300-
</dl>
2301-
2302-
<dl>
2303-
<dd>
2304-
2305-
**thread_id:** `ThreadId`
2306-
2307-
</dd>
2308-
</dl>
2309-
2310-
<dl>
2311-
<dd>
2312-
2313-
**attachment_id:** `AttachmentId`
2314-
2315-
</dd>
2316-
</dl>
2317-
2318-
<dl>
2319-
<dd>
2320-
2321-
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
2322-
2323-
</dd>
2324-
</dl>
2325-
</dd>
2326-
</dl>
2327-
2328-
23292116
</dd>
23302117
</dl>
23312118
</details>
@@ -2622,71 +2409,6 @@ client.threads.get(
26222409
</dl>
26232410

26242411

2625-
</dd>
2626-
</dl>
2627-
</details>
2628-
2629-
<details><summary><code>client.threads.<a href="src/agentmail/threads/client.py">get_attachment</a>(...)</code></summary>
2630-
<dl>
2631-
<dd>
2632-
2633-
#### 🔌 Usage
2634-
2635-
<dl>
2636-
<dd>
2637-
2638-
<dl>
2639-
<dd>
2640-
2641-
```python
2642-
from agentmail import AgentMail
2643-
2644-
client = AgentMail(
2645-
api_key="YOUR_API_KEY",
2646-
)
2647-
client.threads.get_attachment(
2648-
thread_id="thread_id",
2649-
attachment_id="attachment_id",
2650-
)
2651-
2652-
```
2653-
</dd>
2654-
</dl>
2655-
</dd>
2656-
</dl>
2657-
2658-
#### ⚙️ Parameters
2659-
2660-
<dl>
2661-
<dd>
2662-
2663-
<dl>
2664-
<dd>
2665-
2666-
**thread_id:** `ThreadId`
2667-
2668-
</dd>
2669-
</dl>
2670-
2671-
<dl>
2672-
<dd>
2673-
2674-
**attachment_id:** `AttachmentId`
2675-
2676-
</dd>
2677-
</dl>
2678-
2679-
<dl>
2680-
<dd>
2681-
2682-
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
2683-
2684-
</dd>
2685-
</dl>
2686-
</dd>
2687-
</dl>
2688-
2689-
26902412
</dd>
26912413
</dl>
26922414
</details>

src/agentmail/core/client_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ def __init__(
2323

2424
def get_headers(self) -> typing.Dict[str, str]:
2525
headers: typing.Dict[str, str] = {
26-
"User-Agent": "agentmail/0.0.58",
26+
"User-Agent": "agentmail/0.0.59",
2727
"X-Fern-Language": "Python",
2828
"X-Fern-SDK-Name": "agentmail",
29-
"X-Fern-SDK-Version": "0.0.58",
29+
"X-Fern-SDK-Version": "0.0.59",
3030
**(self.get_custom_headers() or {}),
3131
}
3232
headers["Authorization"] = f"Bearer {self._get_api_key()}"

0 commit comments

Comments
 (0)