Skip to content

Commit 27fda5a

Browse files
committed
Release 0.0.17
1 parent 36b4868 commit 27fda5a

File tree

7 files changed

+11
-15
lines changed

7 files changed

+11
-15
lines changed

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.16"
6+
version = "0.0.17"
77
description = ""
88
readme = "README.md"
99
authors = []

src/agentmail/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def get_headers(self) -> typing.Dict[str, str]:
2222
headers: typing.Dict[str, str] = {
2323
"X-Fern-Language": "Python",
2424
"X-Fern-SDK-Name": "agentmail",
25-
"X-Fern-SDK-Version": "0.0.16",
25+
"X-Fern-SDK-Version": "0.0.17",
2626
}
2727
headers["Authorization"] = f"Bearer {self._get_api_key()}"
2828
return headers

src/agentmail/inboxes/types/inbox.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
from ...core.pydantic_utilities import UniversalBaseModel
44
from .inbox_id import InboxId
55
import pydantic
6+
import typing
67
from .display_name import DisplayName
78
import datetime as dt
89
from ...core.pydantic_utilities import IS_PYDANTIC_V2
9-
import typing
1010

1111

1212
class Inbox(UniversalBaseModel):
@@ -33,7 +33,7 @@ class Inbox(UniversalBaseModel):
3333
ID of organization that owns inbox.
3434
"""
3535

36-
display_name: DisplayName
36+
display_name: typing.Optional[DisplayName] = None
3737
created_at: dt.datetime = pydantic.Field()
3838
"""
3939
Time at which inbox was created.

src/agentmail/messages/types/message.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
import typing_extensions
1010
from .message_from import MessageFrom
1111
from ...core.serialization import FieldMetadata
12-
from .message_reply_to import MessageReplyTo
1312
import typing
13+
from .message_reply_to import MessageReplyTo
1414
from .message_subject import MessageSubject
1515
from .message_preview import MessagePreview
1616
from .message_to import MessageTo
@@ -74,7 +74,7 @@ class Message(UniversalBaseModel):
7474
labels: MessageLabels
7575
timestamp: MessageTimestamp
7676
from_: typing_extensions.Annotated[MessageFrom, FieldMetadata(alias="from")]
77-
reply_to: MessageReplyTo
77+
reply_to: typing.Optional[MessageReplyTo] = None
7878
subject: typing.Optional[MessageSubject] = None
7979
preview: typing.Optional[MessagePreview] = None
8080
to: MessageTo
@@ -83,8 +83,8 @@ class Message(UniversalBaseModel):
8383
text: typing.Optional[MessageText] = None
8484
html: typing.Optional[MessageHtml] = None
8585
attachments: typing.Optional[MessageAttachments] = None
86-
in_reply_to: MessageInReplyTo
87-
references: MessageReferences
86+
in_reply_to: typing.Optional[MessageInReplyTo] = None
87+
references: typing.Optional[MessageReferences] = None
8888
inbox_id: InboxId
8989
organization_id: OrganizationId
9090

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
# This file was auto-generated by Fern from our API Definition.
22

3-
import typing
4-
5-
MessageInReplyTo = typing.Optional[str]
3+
MessageInReplyTo = str

src/agentmail/messages/types/message_references.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
import typing
44

5-
MessageReferences = typing.Optional[typing.List[str]]
5+
MessageReferences = typing.List[str]
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
# This file was auto-generated by Fern from our API Definition.
22

3-
import typing
4-
5-
MessageReplyTo = typing.Optional[str]
3+
MessageReplyTo = str

0 commit comments

Comments
 (0)