File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131from .emails ._batch import Batch , BatchValidationError
3232from .emails ._email import Email
3333from .emails ._emails import Emails , EmailTemplate
34- from .emails ._received_email import (EmailAttachment , EmailAttachmentDetails ,
35- ListReceivedEmail , ReceivedEmail )
34+ from .emails ._received_email import (AttachmentWithSignedUrl , EmailAttachment ,
35+ EmailAttachmentDetails , ListReceivedEmail ,
36+ ReceivedEmail )
3637from .emails ._receiving import Receiving as EmailsReceiving
3738from .emails ._tag import Tag
3839from .events ._event import (Event , EventListItem , EventSchema ,
136137 "BatchValidationError" ,
137138 "ReceivedEmail" ,
138139 "EmailAttachment" ,
140+ "AttachmentWithSignedUrl" ,
139141 "EmailAttachmentDetails" ,
140142 "ListReceivedEmail" ,
141143 # Receiving types (for type hints)
Original file line number Diff line number Diff line change 44
55from resend import request
66from resend ._base_response import BaseResponse
7- from resend .emails ._received_email import (EmailAttachment ,
7+ from resend .emails ._received_email import (AttachmentWithSignedUrl ,
88 EmailAttachmentDetails )
99from resend .pagination_helper import PaginationHelper
1010
@@ -35,7 +35,7 @@ class _ListResponse(BaseResponse):
3535 """
3636 The object type: "list"
3737 """
38- data : List [EmailAttachment ]
38+ data : List [AttachmentWithSignedUrl ]
3939 """
4040 The list of attachment objects.
4141 """
@@ -66,7 +66,7 @@ class ListResponse(_ListResponse):
6666
6767 Attributes:
6868 object (str): The object type: "list"
69- data (List[EmailAttachment ]): The list of attachment objects.
69+ data (List[AttachmentWithSignedUrl ]): The list of attachment objects.
7070 has_more (bool): Whether there are more attachments available for pagination.
7171 """
7272
Original file line number Diff line number Diff line change 44
55from resend import request
66from resend ._base_response import BaseResponse
7- from resend .emails ._received_email import (EmailAttachment ,
7+ from resend .emails ._received_email import (AttachmentWithSignedUrl ,
88 EmailAttachmentDetails ,
99 ListReceivedEmail , ReceivedEmail )
1010from resend .pagination_helper import PaginationHelper
@@ -66,7 +66,7 @@ class _AttachmentListResponse(BaseResponse):
6666 """
6767 The object type: "list"
6868 """
69- data : List [EmailAttachment ]
69+ data : List [AttachmentWithSignedUrl ]
7070 """
7171 The list of attachment objects.
7272 """
@@ -102,7 +102,7 @@ class ListResponse(_AttachmentListResponse):
102102
103103 Attributes:
104104 object (str): The object type: "list"
105- data (List[EmailAttachment ]): The list of attachment objects.
105+ data (List[AttachmentWithSignedUrl ]): The list of attachment objects.
106106 has_more (bool): Whether there are more attachments available for pagination.
107107 """
108108
You can’t perform that action at this time.
0 commit comments