File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66The Agentmail Python library provides convenient access to the Agentmail APIs from Python.
77
8+ ## Table of Contents
9+
10+ - [ Installation] ( #installation )
11+ - [ Reference] ( #reference )
12+ - [ Usage] ( #usage )
13+ - [ Async Client] ( #async-client )
14+ - [ Exception Handling] ( #exception-handling )
15+ - [ Advanced] ( #advanced )
16+ - [ Access Raw Response Data] ( #access-raw-response-data )
17+ - [ Retries] ( #retries )
18+ - [ Timeouts] ( #timeouts )
19+ - [ Custom Client] ( #custom-client )
20+ - [ Contributing] ( #contributing )
21+ - [ Pagination] ( #pagination )
22+ - [ Websockets] ( #websockets )
23+
824## Installation
925
1026``` sh
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = "agentmail"
33
44[tool .poetry ]
55name = " agentmail"
6- version = " 0.1.3 "
6+ version = " 0.1.4 "
77description = " "
88readme = " README.md"
99authors = []
Original file line number Diff line number Diff line change @@ -2502,6 +2502,14 @@ client.inboxes.messages.send(
25022502<dl >
25032503<dd >
25042504
2505+ ** headers:** ` typing.Optional[SendMessageHeaders] `
2506+
2507+ </dd >
2508+ </dl >
2509+
2510+ <dl >
2511+ <dd >
2512+
25052513** request_options:** ` typing.Optional[RequestOptions] ` — Request-specific configuration.
25062514
25072515</dd >
@@ -2631,6 +2639,14 @@ client.inboxes.messages.reply(
26312639<dl >
26322640<dd >
26332641
2642+ ** headers:** ` typing.Optional[SendMessageHeaders] `
2643+
2644+ </dd >
2645+ </dl >
2646+
2647+ <dl >
2648+ <dd >
2649+
26342650** request_options:** ` typing.Optional[RequestOptions] ` — Request-specific configuration.
26352651
26362652</dd >
Original file line number Diff line number Diff line change 6060 CreateDomainRequest ,
6161 Domain ,
6262 DomainId ,
63+ DomainItem ,
6364 DomainName ,
64- DomainSummary ,
6565 FeedbackEnabled ,
6666 ListDomainsResponse ,
6767 RecordStatus ,
137137 SendMessageAttachments ,
138138 SendMessageBcc ,
139139 SendMessageCc ,
140+ SendMessageHeaders ,
140141 SendMessageReplyTo ,
141142 SendMessageRequest ,
142143 SendMessageResponse ,
203204 "Delivery" : ".events" ,
204205 "Domain" : ".domains" ,
205206 "DomainId" : ".domains" ,
207+ "DomainItem" : ".domains" ,
206208 "DomainName" : ".domains" ,
207- "DomainSummary" : ".domains" ,
208209 "Draft" : ".drafts" ,
209210 "DraftAttachments" : ".drafts" ,
210211 "DraftBcc" : ".drafts" ,
284285 "SendMessageAttachments" : ".messages" ,
285286 "SendMessageBcc" : ".messages" ,
286287 "SendMessageCc" : ".messages" ,
288+ "SendMessageHeaders" : ".messages" ,
287289 "SendMessageReplyTo" : ".messages" ,
288290 "SendMessageRequest" : ".messages" ,
289291 "SendMessageResponse" : ".messages" ,
@@ -380,8 +382,8 @@ def __dir__():
380382 "Delivery" ,
381383 "Domain" ,
382384 "DomainId" ,
385+ "DomainItem" ,
383386 "DomainName" ,
384- "DomainSummary" ,
385387 "Draft" ,
386388 "DraftAttachments" ,
387389 "DraftBcc" ,
@@ -461,6 +463,7 @@ def __dir__():
461463 "SendMessageAttachments" ,
462464 "SendMessageBcc" ,
463465 "SendMessageCc" ,
466+ "SendMessageHeaders" ,
464467 "SendMessageReplyTo" ,
465468 "SendMessageRequest" ,
466469 "SendMessageResponse" ,
Original file line number Diff line number Diff 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.1.3 " ,
26+ "User-Agent" : "agentmail/0.1.4 " ,
2727 "X-Fern-Language" : "Python" ,
2828 "X-Fern-SDK-Name" : "agentmail" ,
29- "X-Fern-SDK-Version" : "0.1.3 " ,
29+ "X-Fern-SDK-Version" : "0.1.4 " ,
3030 ** (self .get_custom_headers () or {}),
3131 }
3232 headers ["Authorization" ] = f"Bearer { self ._get_api_key ()} "
Original file line number Diff line number Diff line change 1111 CreateDomainRequest ,
1212 Domain ,
1313 DomainId ,
14+ DomainItem ,
1415 DomainName ,
15- DomainSummary ,
1616 FeedbackEnabled ,
1717 ListDomainsResponse ,
1818 RecordStatus ,
2525 "CreateDomainRequest" : ".types" ,
2626 "Domain" : ".types" ,
2727 "DomainId" : ".types" ,
28+ "DomainItem" : ".types" ,
2829 "DomainName" : ".types" ,
29- "DomainSummary" : ".types" ,
3030 "FeedbackEnabled" : ".types" ,
3131 "ListDomainsResponse" : ".types" ,
3232 "RecordStatus" : ".types" ,
@@ -62,8 +62,8 @@ def __dir__():
6262 "CreateDomainRequest" ,
6363 "Domain" ,
6464 "DomainId" ,
65+ "DomainItem" ,
6566 "DomainName" ,
66- "DomainSummary" ,
6767 "FeedbackEnabled" ,
6868 "ListDomainsResponse" ,
6969 "RecordStatus" ,
Original file line number Diff line number Diff line change 1010 from .create_domain_request import CreateDomainRequest
1111 from .domain import Domain
1212 from .domain_id import DomainId
13+ from .domain_item import DomainItem
1314 from .domain_name import DomainName
14- from .domain_summary import DomainSummary
1515 from .feedback_enabled import FeedbackEnabled
1616 from .list_domains_response import ListDomainsResponse
1717 from .record_status import RecordStatus
2323 "CreateDomainRequest" : ".create_domain_request" ,
2424 "Domain" : ".domain" ,
2525 "DomainId" : ".domain_id" ,
26+ "DomainItem" : ".domain_item" ,
2627 "DomainName" : ".domain_name" ,
27- "DomainSummary" : ".domain_summary" ,
2828 "FeedbackEnabled" : ".feedback_enabled" ,
2929 "ListDomainsResponse" : ".list_domains_response" ,
3030 "RecordStatus" : ".record_status" ,
@@ -60,8 +60,8 @@ def __dir__():
6060 "CreateDomainRequest" ,
6161 "Domain" ,
6262 "DomainId" ,
63+ "DomainItem" ,
6364 "DomainName" ,
64- "DomainSummary" ,
6565 "FeedbackEnabled" ,
6666 "ListDomainsResponse" ,
6767 "RecordStatus" ,
Original file line number Diff line number Diff line change 66import pydantic
77from ...core .pydantic_utilities import IS_PYDANTIC_V2
88from ...core .unchecked_base_model import UncheckedBaseModel
9+ from ...pods .types .pod_id import PodId
910from .client_id import ClientId
1011from .domain_id import DomainId
1112from .feedback_enabled import FeedbackEnabled
1415
1516
1617class Domain (UncheckedBaseModel ):
18+ pod_id : typing .Optional [PodId ] = None
1719 domain_id : DomainId
1820 status : VerificationStatus = pydantic .Field ()
1921 """
Original file line number Diff line number Diff line change 66import pydantic
77from ...core .pydantic_utilities import IS_PYDANTIC_V2
88from ...core .unchecked_base_model import UncheckedBaseModel
9+ from ...pods .types .pod_id import PodId
910from .client_id import ClientId
1011from .domain_id import DomainId
1112from .feedback_enabled import FeedbackEnabled
1213
1314
14- class DomainSummary (UncheckedBaseModel ):
15+ class DomainItem (UncheckedBaseModel ):
16+ pod_id : typing .Optional [PodId ] = None
1517 domain_id : DomainId
1618 feedback_enabled : FeedbackEnabled
1719 client_id : typing .Optional [ClientId ] = None
You can’t perform that action at this time.
0 commit comments