winrt-Windows.ApplicationModel.Email 2.2.0__cp313-cp313-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,885 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.applicationmodel.appointments as windows_applicationmodel_appointments
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.foundation.collections as windows_foundation_collections
15
+ import winrt.windows.security.cryptography.certificates as windows_security_cryptography_certificates
16
+ import winrt.windows.storage.streams as windows_storage_streams
17
+ import winrt.windows.system as windows_system
18
+
19
+ from winrt.windows.applicationmodel.email import EmailAttachmentDownloadState, EmailBatchStatus, EmailCertificateValidationStatus, EmailFlagState, EmailImportance, EmailMailboxActionKind, EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation, EmailMailboxAutoReplyMessageResponseKind, EmailMailboxChangeType, EmailMailboxCreateFolderStatus, EmailMailboxDeleteFolderStatus, EmailMailboxEmptyFolderStatus, EmailMailboxOtherAppReadAccess, EmailMailboxOtherAppWriteAccess, EmailMailboxSmimeEncryptionAlgorithm, EmailMailboxSmimeSigningAlgorithm, EmailMailboxSyncStatus, EmailMeetingResponseType, EmailMessageBodyKind, EmailMessageDownloadState, EmailMessageResponseKind, EmailMessageSmimeKind, EmailQueryKind, EmailQuerySearchFields, EmailQuerySearchScope, EmailQuerySortDirection, EmailQuerySortProperty, EmailRecipientResolutionStatus, EmailSpecialFolderKind, EmailStoreAccessType
20
+
21
+ Self = typing.TypeVar('Self')
22
+
23
+ @typing.final
24
+ class EmailAttachment(winrt.system.Object):
25
+ @staticmethod
26
+ def _from(obj: winrt.system.Object, /) -> EmailAttachment: ...
27
+ @typing.overload
28
+ def __new__(cls: typing.Type[EmailAttachment], file_name: str, data: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], mime_type: str) -> EmailAttachment: ...
29
+ @typing.overload
30
+ def __new__(cls: typing.Type[EmailAttachment], file_name: str, data: typing.Optional[windows_storage_streams.IRandomAccessStreamReference]) -> EmailAttachment: ...
31
+ @typing.overload
32
+ def __new__(cls: typing.Type[EmailAttachment]) -> EmailAttachment: ...
33
+ @_property
34
+ def file_name(self) -> str: ...
35
+ @file_name.setter
36
+ def file_name(self, value: str) -> None: ...
37
+ @_property
38
+ def data(self) -> typing.Optional[windows_storage_streams.IRandomAccessStreamReference]: ...
39
+ @data.setter
40
+ def data(self, value: typing.Optional[windows_storage_streams.IRandomAccessStreamReference]) -> None: ...
41
+ @_property
42
+ def mime_type(self) -> str: ...
43
+ @mime_type.setter
44
+ def mime_type(self, value: str) -> None: ...
45
+ @_property
46
+ def is_inline(self) -> bool: ...
47
+ @is_inline.setter
48
+ def is_inline(self, value: bool) -> None: ...
49
+ @_property
50
+ def estimated_download_size_in_bytes(self) -> winrt.system.UInt64: ...
51
+ @estimated_download_size_in_bytes.setter
52
+ def estimated_download_size_in_bytes(self, value: winrt.system.UInt64) -> None: ...
53
+ @_property
54
+ def download_state(self) -> EmailAttachmentDownloadState: ...
55
+ @download_state.setter
56
+ def download_state(self, value: EmailAttachmentDownloadState) -> None: ...
57
+ @_property
58
+ def content_location(self) -> str: ...
59
+ @content_location.setter
60
+ def content_location(self, value: str) -> None: ...
61
+ @_property
62
+ def content_id(self) -> str: ...
63
+ @content_id.setter
64
+ def content_id(self, value: str) -> None: ...
65
+ @_property
66
+ def id(self) -> str: ...
67
+ @_property
68
+ def is_from_base_message(self) -> bool: ...
69
+
70
+ @typing.final
71
+ class EmailConversation(winrt.system.Object):
72
+ @staticmethod
73
+ def _from(obj: winrt.system.Object, /) -> EmailConversation: ...
74
+ @typing.overload
75
+ def find_messages_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[EmailMessage]]: ...
76
+ @typing.overload
77
+ def find_messages_async(self, count: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[EmailMessage]]: ...
78
+ @_property
79
+ def flag_state(self) -> EmailFlagState: ...
80
+ @_property
81
+ def has_attachment(self) -> bool: ...
82
+ @_property
83
+ def id(self) -> str: ...
84
+ @_property
85
+ def importance(self) -> EmailImportance: ...
86
+ @_property
87
+ def last_email_response_kind(self) -> EmailMessageResponseKind: ...
88
+ @_property
89
+ def latest_sender(self) -> typing.Optional[EmailRecipient]: ...
90
+ @_property
91
+ def mailbox_id(self) -> str: ...
92
+ @_property
93
+ def message_count(self) -> winrt.system.UInt32: ...
94
+ @_property
95
+ def most_recent_message_id(self) -> str: ...
96
+ @_property
97
+ def most_recent_message_time(self) -> datetime.datetime: ...
98
+ @_property
99
+ def preview(self) -> str: ...
100
+ @_property
101
+ def subject(self) -> str: ...
102
+ @_property
103
+ def unread_message_count(self) -> winrt.system.UInt32: ...
104
+
105
+ @typing.final
106
+ class EmailConversationBatch(winrt.system.Object):
107
+ @staticmethod
108
+ def _from(obj: winrt.system.Object, /) -> EmailConversationBatch: ...
109
+ @_property
110
+ def conversations(self) -> typing.Optional[windows_foundation_collections.IVectorView[EmailConversation]]: ...
111
+ @_property
112
+ def status(self) -> EmailBatchStatus: ...
113
+
114
+ @typing.final
115
+ class EmailConversationReader(winrt.system.Object):
116
+ @staticmethod
117
+ def _from(obj: winrt.system.Object, /) -> EmailConversationReader: ...
118
+ def read_batch_async(self) -> windows_foundation.IAsyncOperation[EmailConversationBatch]: ...
119
+
120
+ @typing.final
121
+ class EmailFolder(winrt.system.Object):
122
+ @staticmethod
123
+ def _from(obj: winrt.system.Object, /) -> EmailFolder: ...
124
+ def create_folder_async(self, name: str, /) -> windows_foundation.IAsyncOperation[EmailFolder]: ...
125
+ def delete_async(self) -> windows_foundation.IAsyncAction: ...
126
+ def find_child_folders_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[EmailFolder]]: ...
127
+ @typing.overload
128
+ def get_conversation_reader(self) -> typing.Optional[EmailConversationReader]: ...
129
+ @typing.overload
130
+ def get_conversation_reader(self, options: typing.Optional[EmailQueryOptions], /) -> typing.Optional[EmailConversationReader]: ...
131
+ def get_message_async(self, id: str, /) -> windows_foundation.IAsyncOperation[EmailMessage]: ...
132
+ def get_message_counts_async(self) -> windows_foundation.IAsyncOperation[EmailItemCounts]: ...
133
+ @typing.overload
134
+ def get_message_reader(self) -> typing.Optional[EmailMessageReader]: ...
135
+ @typing.overload
136
+ def get_message_reader(self, options: typing.Optional[EmailQueryOptions], /) -> typing.Optional[EmailMessageReader]: ...
137
+ def save_message_async(self, message: typing.Optional[EmailMessage], /) -> windows_foundation.IAsyncAction: ...
138
+ @typing.overload
139
+ def try_move_async(self, new_parent_folder: typing.Optional[EmailFolder], /) -> windows_foundation.IAsyncOperation[bool]: ...
140
+ @typing.overload
141
+ def try_move_async(self, new_parent_folder: typing.Optional[EmailFolder], new_folder_name: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
142
+ def try_save_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
143
+ @_property
144
+ def remote_id(self) -> str: ...
145
+ @remote_id.setter
146
+ def remote_id(self, value: str) -> None: ...
147
+ @_property
148
+ def last_successful_sync_time(self) -> datetime.datetime: ...
149
+ @last_successful_sync_time.setter
150
+ def last_successful_sync_time(self, value: datetime.datetime) -> None: ...
151
+ @_property
152
+ def is_sync_enabled(self) -> bool: ...
153
+ @is_sync_enabled.setter
154
+ def is_sync_enabled(self, value: bool) -> None: ...
155
+ @_property
156
+ def display_name(self) -> str: ...
157
+ @display_name.setter
158
+ def display_name(self, value: str) -> None: ...
159
+ @_property
160
+ def id(self) -> str: ...
161
+ @_property
162
+ def kind(self) -> EmailSpecialFolderKind: ...
163
+ @_property
164
+ def mailbox_id(self) -> str: ...
165
+ @_property
166
+ def parent_folder_id(self) -> str: ...
167
+
168
+ @typing.final
169
+ class EmailIrmInfo(winrt.system.Object):
170
+ @staticmethod
171
+ def _from(obj: winrt.system.Object, /) -> EmailIrmInfo: ...
172
+ @typing.overload
173
+ def __new__(cls: typing.Type[EmailIrmInfo], expiration: datetime.datetime, irm_template: typing.Optional[EmailIrmTemplate]) -> EmailIrmInfo: ...
174
+ @typing.overload
175
+ def __new__(cls: typing.Type[EmailIrmInfo]) -> EmailIrmInfo: ...
176
+ @_property
177
+ def can_remove_irm_on_response(self) -> bool: ...
178
+ @can_remove_irm_on_response.setter
179
+ def can_remove_irm_on_response(self, value: bool) -> None: ...
180
+ @_property
181
+ def can_print_data(self) -> bool: ...
182
+ @can_print_data.setter
183
+ def can_print_data(self, value: bool) -> None: ...
184
+ @_property
185
+ def can_modify_recipients_on_response(self) -> bool: ...
186
+ @can_modify_recipients_on_response.setter
187
+ def can_modify_recipients_on_response(self, value: bool) -> None: ...
188
+ @_property
189
+ def can_forward(self) -> bool: ...
190
+ @can_forward.setter
191
+ def can_forward(self, value: bool) -> None: ...
192
+ @_property
193
+ def can_extract_data(self) -> bool: ...
194
+ @can_extract_data.setter
195
+ def can_extract_data(self, value: bool) -> None: ...
196
+ @_property
197
+ def can_reply(self) -> bool: ...
198
+ @can_reply.setter
199
+ def can_reply(self, value: bool) -> None: ...
200
+ @_property
201
+ def can_edit(self) -> bool: ...
202
+ @can_edit.setter
203
+ def can_edit(self, value: bool) -> None: ...
204
+ @_property
205
+ def template(self) -> typing.Optional[EmailIrmTemplate]: ...
206
+ @template.setter
207
+ def template(self, value: typing.Optional[EmailIrmTemplate]) -> None: ...
208
+ @_property
209
+ def is_programatic_access_allowed(self) -> bool: ...
210
+ @is_programatic_access_allowed.setter
211
+ def is_programatic_access_allowed(self, value: bool) -> None: ...
212
+ @_property
213
+ def is_irm_originator(self) -> bool: ...
214
+ @is_irm_originator.setter
215
+ def is_irm_originator(self, value: bool) -> None: ...
216
+ @_property
217
+ def expiration_date(self) -> datetime.datetime: ...
218
+ @expiration_date.setter
219
+ def expiration_date(self, value: datetime.datetime) -> None: ...
220
+ @_property
221
+ def can_reply_all(self) -> bool: ...
222
+ @can_reply_all.setter
223
+ def can_reply_all(self, value: bool) -> None: ...
224
+
225
+ @typing.final
226
+ class EmailIrmTemplate(winrt.system.Object):
227
+ @staticmethod
228
+ def _from(obj: winrt.system.Object, /) -> EmailIrmTemplate: ...
229
+ @typing.overload
230
+ def __new__(cls: typing.Type[EmailIrmTemplate], id: str, name: str, description: str) -> EmailIrmTemplate: ...
231
+ @typing.overload
232
+ def __new__(cls: typing.Type[EmailIrmTemplate]) -> EmailIrmTemplate: ...
233
+ @_property
234
+ def name(self) -> str: ...
235
+ @name.setter
236
+ def name(self, value: str) -> None: ...
237
+ @_property
238
+ def id(self) -> str: ...
239
+ @id.setter
240
+ def id(self, value: str) -> None: ...
241
+ @_property
242
+ def description(self) -> str: ...
243
+ @description.setter
244
+ def description(self, value: str) -> None: ...
245
+
246
+ @typing.final
247
+ class EmailItemCounts(winrt.system.Object):
248
+ @staticmethod
249
+ def _from(obj: winrt.system.Object, /) -> EmailItemCounts: ...
250
+ @_property
251
+ def flagged(self) -> winrt.system.UInt32: ...
252
+ @_property
253
+ def important(self) -> winrt.system.UInt32: ...
254
+ @_property
255
+ def total(self) -> winrt.system.UInt32: ...
256
+ @_property
257
+ def unread(self) -> winrt.system.UInt32: ...
258
+
259
+ @typing.final
260
+ class EmailMailbox(winrt.system.Object):
261
+ @staticmethod
262
+ def _from(obj: winrt.system.Object, /) -> EmailMailbox: ...
263
+ def change_message_flag_state_async(self, message_id: str, flag_state: EmailFlagState, /) -> windows_foundation.IAsyncAction: ...
264
+ def create_response_message_async(self, message_id: str, response_type: EmailMessageResponseKind, subject: str, response_header_type: EmailMessageBodyKind, response_header: str, /) -> windows_foundation.IAsyncOperation[EmailMessage]: ...
265
+ def delete_async(self) -> windows_foundation.IAsyncAction: ...
266
+ def delete_message_async(self, message_id: str, /) -> windows_foundation.IAsyncAction: ...
267
+ def download_attachment_async(self, attachment_id: str, /) -> windows_foundation.IAsyncAction: ...
268
+ def download_message_async(self, message_id: str, /) -> windows_foundation.IAsyncAction: ...
269
+ def get_change_tracker(self, identity: str, /) -> typing.Optional[EmailMailboxChangeTracker]: ...
270
+ def get_conversation_async(self, id: str, /) -> windows_foundation.IAsyncOperation[EmailConversation]: ...
271
+ @typing.overload
272
+ def get_conversation_reader(self) -> typing.Optional[EmailConversationReader]: ...
273
+ @typing.overload
274
+ def get_conversation_reader(self, options: typing.Optional[EmailQueryOptions], /) -> typing.Optional[EmailConversationReader]: ...
275
+ def get_folder_async(self, id: str, /) -> windows_foundation.IAsyncOperation[EmailFolder]: ...
276
+ def get_message_async(self, id: str, /) -> windows_foundation.IAsyncOperation[EmailMessage]: ...
277
+ @typing.overload
278
+ def get_message_reader(self) -> typing.Optional[EmailMessageReader]: ...
279
+ @typing.overload
280
+ def get_message_reader(self, options: typing.Optional[EmailQueryOptions], /) -> typing.Optional[EmailMessageReader]: ...
281
+ def get_special_folder_async(self, folder_type: EmailSpecialFolderKind, /) -> windows_foundation.IAsyncOperation[EmailFolder]: ...
282
+ def mark_folder_as_seen_async(self, folder_id: str, /) -> windows_foundation.IAsyncAction: ...
283
+ def mark_folder_sync_enabled_async(self, folder_id: str, is_sync_enabled: bool, /) -> windows_foundation.IAsyncAction: ...
284
+ def mark_message_as_seen_async(self, message_id: str, /) -> windows_foundation.IAsyncAction: ...
285
+ def mark_message_read_async(self, message_id: str, is_read: bool, /) -> windows_foundation.IAsyncAction: ...
286
+ def register_sync_manager_async(self) -> windows_foundation.IAsyncAction: ...
287
+ def resolve_recipients_async(self, recipients: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[EmailRecipientResolutionResult]]: ...
288
+ def save_async(self) -> windows_foundation.IAsyncAction: ...
289
+ def save_draft_async(self, message: typing.Optional[EmailMessage], /) -> windows_foundation.IAsyncAction: ...
290
+ @typing.overload
291
+ def send_message_async(self, message: typing.Optional[EmailMessage], /) -> windows_foundation.IAsyncAction: ...
292
+ @typing.overload
293
+ def send_message_async(self, message: typing.Optional[EmailMessage], smart_send: bool, /) -> windows_foundation.IAsyncAction: ...
294
+ def try_create_folder_async(self, parent_folder_id: str, name: str, /) -> windows_foundation.IAsyncOperation[EmailMailboxCreateFolderResult]: ...
295
+ def try_delete_folder_async(self, folder_id: str, /) -> windows_foundation.IAsyncOperation[EmailMailboxDeleteFolderStatus]: ...
296
+ def try_empty_folder_async(self, folder_id: str, /) -> windows_foundation.IAsyncOperation[EmailMailboxEmptyFolderStatus]: ...
297
+ def try_forward_meeting_async(self, meeting: typing.Optional[EmailMessage], recipients: typing.Iterable[EmailRecipient], subject: str, forward_header_type: EmailMessageBodyKind, forward_header: str, comment: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
298
+ def try_get_auto_reply_settings_async(self, requested_format: EmailMailboxAutoReplyMessageResponseKind, /) -> windows_foundation.IAsyncOperation[EmailMailboxAutoReplySettings]: ...
299
+ @typing.overload
300
+ def try_move_folder_async(self, folder_id: str, new_parent_folder_id: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
301
+ @typing.overload
302
+ def try_move_folder_async(self, folder_id: str, new_parent_folder_id: str, new_folder_name: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
303
+ def try_move_message_async(self, message_id: str, new_parent_folder_id: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
304
+ def try_propose_new_time_for_meeting_async(self, meeting: typing.Optional[EmailMessage], new_start_time: datetime.datetime, new_duration: datetime.timedelta, subject: str, comment: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
305
+ def try_set_auto_reply_settings_async(self, auto_reply_settings: typing.Optional[EmailMailboxAutoReplySettings], /) -> windows_foundation.IAsyncOperation[bool]: ...
306
+ def try_update_meeting_response_async(self, meeting: typing.Optional[EmailMessage], response: EmailMeetingResponseType, subject: str, comment: str, send_update: bool, /) -> windows_foundation.IAsyncOperation[bool]: ...
307
+ def validate_certificates_async(self, certificates: typing.Iterable[windows_security_cryptography_certificates.Certificate], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[EmailCertificateValidationStatus]]: ...
308
+ def add_mailbox_changed(self, p_handler: windows_foundation.TypedEventHandler[EmailMailbox, EmailMailboxChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
309
+ def remove_mailbox_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
310
+ @_property
311
+ def other_app_write_access(self) -> EmailMailboxOtherAppWriteAccess: ...
312
+ @other_app_write_access.setter
313
+ def other_app_write_access(self, value: EmailMailboxOtherAppWriteAccess) -> None: ...
314
+ @_property
315
+ def mail_address(self) -> str: ...
316
+ @mail_address.setter
317
+ def mail_address(self, value: str) -> None: ...
318
+ @_property
319
+ def other_app_read_access(self) -> EmailMailboxOtherAppReadAccess: ...
320
+ @other_app_read_access.setter
321
+ def other_app_read_access(self, value: EmailMailboxOtherAppReadAccess) -> None: ...
322
+ @_property
323
+ def display_name(self) -> str: ...
324
+ @display_name.setter
325
+ def display_name(self, value: str) -> None: ...
326
+ @_property
327
+ def id(self) -> str: ...
328
+ @_property
329
+ def is_data_encrypted_under_lock(self) -> bool: ...
330
+ @_property
331
+ def is_owned_by_current_app(self) -> bool: ...
332
+ @_property
333
+ def mail_address_aliases(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
334
+ @_property
335
+ def capabilities(self) -> typing.Optional[EmailMailboxCapabilities]: ...
336
+ @_property
337
+ def change_tracker(self) -> typing.Optional[EmailMailboxChangeTracker]: ...
338
+ @_property
339
+ def policies(self) -> typing.Optional[EmailMailboxPolicies]: ...
340
+ @_property
341
+ def source_display_name(self) -> str: ...
342
+ @_property
343
+ def sync_manager(self) -> typing.Optional[EmailMailboxSyncManager]: ...
344
+ @_property
345
+ def user_data_account_id(self) -> str: ...
346
+ @_property
347
+ def linked_mailbox_id(self) -> str: ...
348
+ @_property
349
+ def network_account_id(self) -> str: ...
350
+ @_property
351
+ def network_id(self) -> str: ...
352
+
353
+ @typing.final
354
+ class EmailMailboxAction(winrt.system.Object):
355
+ @staticmethod
356
+ def _from(obj: winrt.system.Object, /) -> EmailMailboxAction: ...
357
+ @_property
358
+ def change_number(self) -> winrt.system.UInt64: ...
359
+ @_property
360
+ def kind(self) -> EmailMailboxActionKind: ...
361
+
362
+ @typing.final
363
+ class EmailMailboxAutoReply(winrt.system.Object):
364
+ @staticmethod
365
+ def _from(obj: winrt.system.Object, /) -> EmailMailboxAutoReply: ...
366
+ @_property
367
+ def response(self) -> str: ...
368
+ @response.setter
369
+ def response(self, value: str) -> None: ...
370
+ @_property
371
+ def is_enabled(self) -> bool: ...
372
+ @is_enabled.setter
373
+ def is_enabled(self, value: bool) -> None: ...
374
+
375
+ @typing.final
376
+ class EmailMailboxAutoReplySettings(winrt.system.Object):
377
+ @staticmethod
378
+ def _from(obj: winrt.system.Object, /) -> EmailMailboxAutoReplySettings: ...
379
+ def __new__(cls: typing.Type[EmailMailboxAutoReplySettings]) -> EmailMailboxAutoReplySettings: ...
380
+ @_property
381
+ def start_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
382
+ @start_time.setter
383
+ def start_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
384
+ @_property
385
+ def response_kind(self) -> EmailMailboxAutoReplyMessageResponseKind: ...
386
+ @response_kind.setter
387
+ def response_kind(self, value: EmailMailboxAutoReplyMessageResponseKind) -> None: ...
388
+ @_property
389
+ def is_enabled(self) -> bool: ...
390
+ @is_enabled.setter
391
+ def is_enabled(self, value: bool) -> None: ...
392
+ @_property
393
+ def end_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
394
+ @end_time.setter
395
+ def end_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
396
+ @_property
397
+ def internal_reply(self) -> typing.Optional[EmailMailboxAutoReply]: ...
398
+ @_property
399
+ def known_external_reply(self) -> typing.Optional[EmailMailboxAutoReply]: ...
400
+ @_property
401
+ def unknown_external_reply(self) -> typing.Optional[EmailMailboxAutoReply]: ...
402
+
403
+ @typing.final
404
+ class EmailMailboxCapabilities(winrt.system.Object):
405
+ @staticmethod
406
+ def _from(obj: winrt.system.Object, /) -> EmailMailboxCapabilities: ...
407
+ @_property
408
+ def can_smart_send(self) -> bool: ...
409
+ @can_smart_send.setter
410
+ def can_smart_send(self, value: bool) -> None: ...
411
+ @_property
412
+ def can_update_meeting_responses(self) -> bool: ...
413
+ @can_update_meeting_responses.setter
414
+ def can_update_meeting_responses(self, value: bool) -> None: ...
415
+ @_property
416
+ def can_server_search_mailbox(self) -> bool: ...
417
+ @can_server_search_mailbox.setter
418
+ def can_server_search_mailbox(self, value: bool) -> None: ...
419
+ @_property
420
+ def can_server_search_folders(self) -> bool: ...
421
+ @can_server_search_folders.setter
422
+ def can_server_search_folders(self, value: bool) -> None: ...
423
+ @_property
424
+ def can_forward_meetings(self) -> bool: ...
425
+ @can_forward_meetings.setter
426
+ def can_forward_meetings(self, value: bool) -> None: ...
427
+ @_property
428
+ def can_propose_new_time_for_meetings(self) -> bool: ...
429
+ @can_propose_new_time_for_meetings.setter
430
+ def can_propose_new_time_for_meetings(self, value: bool) -> None: ...
431
+ @_property
432
+ def can_get_and_set_internal_auto_replies(self) -> bool: ...
433
+ @can_get_and_set_internal_auto_replies.setter
434
+ def can_get_and_set_internal_auto_replies(self, value: bool) -> None: ...
435
+ @_property
436
+ def can_get_and_set_external_auto_replies(self) -> bool: ...
437
+ @can_get_and_set_external_auto_replies.setter
438
+ def can_get_and_set_external_auto_replies(self, value: bool) -> None: ...
439
+ @_property
440
+ def can_validate_certificates(self) -> bool: ...
441
+ @can_validate_certificates.setter
442
+ def can_validate_certificates(self, value: bool) -> None: ...
443
+ @_property
444
+ def can_resolve_recipients(self) -> bool: ...
445
+ @can_resolve_recipients.setter
446
+ def can_resolve_recipients(self, value: bool) -> None: ...
447
+ @_property
448
+ def can_move_folder(self) -> bool: ...
449
+ @can_move_folder.setter
450
+ def can_move_folder(self, value: bool) -> None: ...
451
+ @_property
452
+ def can_empty_folder(self) -> bool: ...
453
+ @can_empty_folder.setter
454
+ def can_empty_folder(self, value: bool) -> None: ...
455
+ @_property
456
+ def can_delete_folder(self) -> bool: ...
457
+ @can_delete_folder.setter
458
+ def can_delete_folder(self, value: bool) -> None: ...
459
+ @_property
460
+ def can_create_folder(self) -> bool: ...
461
+ @can_create_folder.setter
462
+ def can_create_folder(self, value: bool) -> None: ...
463
+
464
+ @typing.final
465
+ class EmailMailboxChange(winrt.system.Object):
466
+ @staticmethod
467
+ def _from(obj: winrt.system.Object, /) -> EmailMailboxChange: ...
468
+ @_property
469
+ def change_type(self) -> EmailMailboxChangeType: ...
470
+ @_property
471
+ def folder(self) -> typing.Optional[EmailFolder]: ...
472
+ @_property
473
+ def mailbox_actions(self) -> typing.Optional[windows_foundation_collections.IVector[EmailMailboxAction]]: ...
474
+ @_property
475
+ def message(self) -> typing.Optional[EmailMessage]: ...
476
+
477
+ @typing.final
478
+ class EmailMailboxChangeReader(winrt.system.Object):
479
+ @staticmethod
480
+ def _from(obj: winrt.system.Object, /) -> EmailMailboxChangeReader: ...
481
+ def accept_changes(self) -> None: ...
482
+ def accept_changes_through(self, last_change_to_acknowledge: typing.Optional[EmailMailboxChange], /) -> None: ...
483
+ def read_batch_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[EmailMailboxChange]]: ...
484
+
485
+ @typing.final
486
+ class EmailMailboxChangeTracker(winrt.system.Object):
487
+ @staticmethod
488
+ def _from(obj: winrt.system.Object, /) -> EmailMailboxChangeTracker: ...
489
+ def enable(self) -> None: ...
490
+ def get_change_reader(self) -> typing.Optional[EmailMailboxChangeReader]: ...
491
+ def reset(self) -> None: ...
492
+ @_property
493
+ def is_tracking(self) -> bool: ...
494
+
495
+ @typing.final
496
+ class EmailMailboxChangedDeferral(winrt.system.Object):
497
+ @staticmethod
498
+ def _from(obj: winrt.system.Object, /) -> EmailMailboxChangedDeferral: ...
499
+ def complete(self) -> None: ...
500
+
501
+ @typing.final
502
+ class EmailMailboxChangedEventArgs(winrt.system.Object):
503
+ @staticmethod
504
+ def _from(obj: winrt.system.Object, /) -> EmailMailboxChangedEventArgs: ...
505
+ def get_deferral(self) -> typing.Optional[EmailMailboxChangedDeferral]: ...
506
+
507
+ @typing.final
508
+ class EmailMailboxCreateFolderResult(winrt.system.Object):
509
+ @staticmethod
510
+ def _from(obj: winrt.system.Object, /) -> EmailMailboxCreateFolderResult: ...
511
+ @_property
512
+ def folder(self) -> typing.Optional[EmailFolder]: ...
513
+ @_property
514
+ def status(self) -> EmailMailboxCreateFolderStatus: ...
515
+
516
+ @typing.final
517
+ class EmailMailboxPolicies(winrt.system.Object):
518
+ @staticmethod
519
+ def _from(obj: winrt.system.Object, /) -> EmailMailboxPolicies: ...
520
+ @_property
521
+ def required_smime_signing_algorithm(self) -> typing.Optional[typing.Optional[EmailMailboxSmimeSigningAlgorithm]]: ...
522
+ @required_smime_signing_algorithm.setter
523
+ def required_smime_signing_algorithm(self, value: typing.Optional[typing.Optional[EmailMailboxSmimeSigningAlgorithm]]) -> None: ...
524
+ @_property
525
+ def required_smime_encryption_algorithm(self) -> typing.Optional[typing.Optional[EmailMailboxSmimeEncryptionAlgorithm]]: ...
526
+ @required_smime_encryption_algorithm.setter
527
+ def required_smime_encryption_algorithm(self, value: typing.Optional[typing.Optional[EmailMailboxSmimeEncryptionAlgorithm]]) -> None: ...
528
+ @_property
529
+ def allowed_smime_encryption_algorithm_negotiation(self) -> EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation: ...
530
+ @allowed_smime_encryption_algorithm_negotiation.setter
531
+ def allowed_smime_encryption_algorithm_negotiation(self, value: EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation) -> None: ...
532
+ @_property
533
+ def allow_smime_soft_certificates(self) -> bool: ...
534
+ @allow_smime_soft_certificates.setter
535
+ def allow_smime_soft_certificates(self, value: bool) -> None: ...
536
+ @_property
537
+ def must_sign_smime_messages(self) -> bool: ...
538
+ @must_sign_smime_messages.setter
539
+ def must_sign_smime_messages(self, value: bool) -> None: ...
540
+ @_property
541
+ def must_encrypt_smime_messages(self) -> bool: ...
542
+ @must_encrypt_smime_messages.setter
543
+ def must_encrypt_smime_messages(self, value: bool) -> None: ...
544
+
545
+ @typing.final
546
+ class EmailMailboxSyncManager(winrt.system.Object):
547
+ @staticmethod
548
+ def _from(obj: winrt.system.Object, /) -> EmailMailboxSyncManager: ...
549
+ def sync_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
550
+ def add_sync_status_changed(self, handler: windows_foundation.TypedEventHandler[EmailMailboxSyncManager, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
551
+ def remove_sync_status_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
552
+ @_property
553
+ def status(self) -> EmailMailboxSyncStatus: ...
554
+ @status.setter
555
+ def status(self, value: EmailMailboxSyncStatus) -> None: ...
556
+ @_property
557
+ def last_successful_sync_time(self) -> datetime.datetime: ...
558
+ @last_successful_sync_time.setter
559
+ def last_successful_sync_time(self, value: datetime.datetime) -> None: ...
560
+ @_property
561
+ def last_attempted_sync_time(self) -> datetime.datetime: ...
562
+ @last_attempted_sync_time.setter
563
+ def last_attempted_sync_time(self, value: datetime.datetime) -> None: ...
564
+
565
+ @typing.final
566
+ class EmailManager_Static(type):
567
+ def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[EmailManagerForUser]: ...
568
+ def request_store_async(cls, access_type: EmailStoreAccessType, /) -> windows_foundation.IAsyncOperation[EmailStore]: ...
569
+ def show_compose_new_email_async(cls, message: typing.Optional[EmailMessage], /) -> windows_foundation.IAsyncAction: ...
570
+
571
+ @typing.final
572
+ class EmailManager(winrt.system.Object, metaclass=EmailManager_Static):
573
+ pass
574
+
575
+ @typing.final
576
+ class EmailManagerForUser(winrt.system.Object):
577
+ @staticmethod
578
+ def _from(obj: winrt.system.Object, /) -> EmailManagerForUser: ...
579
+ def request_store_async(self, access_type: EmailStoreAccessType, /) -> windows_foundation.IAsyncOperation[EmailStore]: ...
580
+ def show_compose_new_email_async(self, message: typing.Optional[EmailMessage], /) -> windows_foundation.IAsyncAction: ...
581
+ @_property
582
+ def user(self) -> typing.Optional[windows_system.User]: ...
583
+
584
+ @typing.final
585
+ class EmailMeetingInfo(winrt.system.Object):
586
+ @staticmethod
587
+ def _from(obj: winrt.system.Object, /) -> EmailMeetingInfo: ...
588
+ def __new__(cls: typing.Type[EmailMeetingInfo]) -> EmailMeetingInfo: ...
589
+ @_property
590
+ def location(self) -> str: ...
591
+ @location.setter
592
+ def location(self, value: str) -> None: ...
593
+ @_property
594
+ def is_response_requested(self) -> bool: ...
595
+ @is_response_requested.setter
596
+ def is_response_requested(self, value: bool) -> None: ...
597
+ @_property
598
+ def is_all_day(self) -> bool: ...
599
+ @is_all_day.setter
600
+ def is_all_day(self, value: bool) -> None: ...
601
+ @_property
602
+ def allow_new_time_proposal(self) -> bool: ...
603
+ @allow_new_time_proposal.setter
604
+ def allow_new_time_proposal(self, value: bool) -> None: ...
605
+ @_property
606
+ def duration(self) -> datetime.timedelta: ...
607
+ @duration.setter
608
+ def duration(self, value: datetime.timedelta) -> None: ...
609
+ @_property
610
+ def appointment_roaming_id(self) -> str: ...
611
+ @appointment_roaming_id.setter
612
+ def appointment_roaming_id(self, value: str) -> None: ...
613
+ @_property
614
+ def appointment_original_start_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
615
+ @appointment_original_start_time.setter
616
+ def appointment_original_start_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
617
+ @_property
618
+ def proposed_duration(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
619
+ @proposed_duration.setter
620
+ def proposed_duration(self, value: typing.Optional[typing.Optional[datetime.timedelta]]) -> None: ...
621
+ @_property
622
+ def remote_change_number(self) -> winrt.system.UInt64: ...
623
+ @remote_change_number.setter
624
+ def remote_change_number(self, value: winrt.system.UInt64) -> None: ...
625
+ @_property
626
+ def start_time(self) -> datetime.datetime: ...
627
+ @start_time.setter
628
+ def start_time(self, value: datetime.datetime) -> None: ...
629
+ @_property
630
+ def recurrence_start_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
631
+ @recurrence_start_time.setter
632
+ def recurrence_start_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
633
+ @_property
634
+ def recurrence(self) -> typing.Optional[windows_applicationmodel_appointments.AppointmentRecurrence]: ...
635
+ @recurrence.setter
636
+ def recurrence(self, value: typing.Optional[windows_applicationmodel_appointments.AppointmentRecurrence]) -> None: ...
637
+ @_property
638
+ def proposed_start_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
639
+ @proposed_start_time.setter
640
+ def proposed_start_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
641
+ @_property
642
+ def is_reported_out_of_date_by_server(self) -> bool: ...
643
+
644
+ @typing.final
645
+ class EmailMessage(winrt.system.Object):
646
+ @staticmethod
647
+ def _from(obj: winrt.system.Object, /) -> EmailMessage: ...
648
+ def __new__(cls: typing.Type[EmailMessage]) -> EmailMessage: ...
649
+ def get_body_stream(self, type: EmailMessageBodyKind, /) -> typing.Optional[windows_storage_streams.IRandomAccessStreamReference]: ...
650
+ def set_body_stream(self, type: EmailMessageBodyKind, stream: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], /) -> None: ...
651
+ @_property
652
+ def subject(self) -> str: ...
653
+ @subject.setter
654
+ def subject(self, value: str) -> None: ...
655
+ @_property
656
+ def body(self) -> str: ...
657
+ @body.setter
658
+ def body(self, value: str) -> None: ...
659
+ @_property
660
+ def bcc(self) -> typing.Optional[windows_foundation_collections.IVector[EmailRecipient]]: ...
661
+ @_property
662
+ def c_c(self) -> typing.Optional[windows_foundation_collections.IVector[EmailRecipient]]: ...
663
+ @_property
664
+ def attachments(self) -> typing.Optional[windows_foundation_collections.IVector[EmailAttachment]]: ...
665
+ @_property
666
+ def to(self) -> typing.Optional[windows_foundation_collections.IVector[EmailRecipient]]: ...
667
+ @_property
668
+ def allow_internet_images(self) -> bool: ...
669
+ @allow_internet_images.setter
670
+ def allow_internet_images(self, value: bool) -> None: ...
671
+ @_property
672
+ def flag_state(self) -> EmailFlagState: ...
673
+ @flag_state.setter
674
+ def flag_state(self, value: EmailFlagState) -> None: ...
675
+ @_property
676
+ def estimated_download_size_in_bytes(self) -> winrt.system.UInt32: ...
677
+ @estimated_download_size_in_bytes.setter
678
+ def estimated_download_size_in_bytes(self, value: winrt.system.UInt32) -> None: ...
679
+ @_property
680
+ def download_state(self) -> EmailMessageDownloadState: ...
681
+ @download_state.setter
682
+ def download_state(self, value: EmailMessageDownloadState) -> None: ...
683
+ @_property
684
+ def importance(self) -> EmailImportance: ...
685
+ @importance.setter
686
+ def importance(self, value: EmailImportance) -> None: ...
687
+ @_property
688
+ def irm_info(self) -> typing.Optional[EmailIrmInfo]: ...
689
+ @irm_info.setter
690
+ def irm_info(self, value: typing.Optional[EmailIrmInfo]) -> None: ...
691
+ @_property
692
+ def original_code_page(self) -> winrt.system.Int32: ...
693
+ @original_code_page.setter
694
+ def original_code_page(self, value: winrt.system.Int32) -> None: ...
695
+ @_property
696
+ def sent_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
697
+ @sent_time.setter
698
+ def sent_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
699
+ @_property
700
+ def sender(self) -> typing.Optional[EmailRecipient]: ...
701
+ @sender.setter
702
+ def sender(self, value: typing.Optional[EmailRecipient]) -> None: ...
703
+ @_property
704
+ def remote_id(self) -> str: ...
705
+ @remote_id.setter
706
+ def remote_id(self, value: str) -> None: ...
707
+ @_property
708
+ def preview(self) -> str: ...
709
+ @preview.setter
710
+ def preview(self, value: str) -> None: ...
711
+ @_property
712
+ def message_class(self) -> str: ...
713
+ @message_class.setter
714
+ def message_class(self, value: str) -> None: ...
715
+ @_property
716
+ def meeting_info(self) -> typing.Optional[EmailMeetingInfo]: ...
717
+ @meeting_info.setter
718
+ def meeting_info(self, value: typing.Optional[EmailMeetingInfo]) -> None: ...
719
+ @_property
720
+ def last_response_kind(self) -> EmailMessageResponseKind: ...
721
+ @last_response_kind.setter
722
+ def last_response_kind(self, value: EmailMessageResponseKind) -> None: ...
723
+ @_property
724
+ def is_seen(self) -> bool: ...
725
+ @is_seen.setter
726
+ def is_seen(self, value: bool) -> None: ...
727
+ @_property
728
+ def is_read(self) -> bool: ...
729
+ @is_read.setter
730
+ def is_read(self, value: bool) -> None: ...
731
+ @_property
732
+ def is_server_search_message(self) -> bool: ...
733
+ @_property
734
+ def is_smart_sendable(self) -> bool: ...
735
+ @_property
736
+ def mailbox_id(self) -> str: ...
737
+ @_property
738
+ def change_number(self) -> winrt.system.UInt64: ...
739
+ @_property
740
+ def conversation_id(self) -> str: ...
741
+ @_property
742
+ def normalized_subject(self) -> str: ...
743
+ @_property
744
+ def folder_id(self) -> str: ...
745
+ @_property
746
+ def has_partial_bodies(self) -> bool: ...
747
+ @_property
748
+ def id(self) -> str: ...
749
+ @_property
750
+ def in_response_to_message_id(self) -> str: ...
751
+ @_property
752
+ def is_draft_message(self) -> bool: ...
753
+ @_property
754
+ def smime_kind(self) -> EmailMessageSmimeKind: ...
755
+ @smime_kind.setter
756
+ def smime_kind(self, value: EmailMessageSmimeKind) -> None: ...
757
+ @_property
758
+ def smime_data(self) -> typing.Optional[windows_storage_streams.IRandomAccessStreamReference]: ...
759
+ @smime_data.setter
760
+ def smime_data(self, value: typing.Optional[windows_storage_streams.IRandomAccessStreamReference]) -> None: ...
761
+ @_property
762
+ def sent_representing(self) -> typing.Optional[EmailRecipient]: ...
763
+ @sent_representing.setter
764
+ def sent_representing(self, value: typing.Optional[EmailRecipient]) -> None: ...
765
+ @_property
766
+ def reply_to(self) -> typing.Optional[windows_foundation_collections.IVector[EmailRecipient]]: ...
767
+
768
+ @typing.final
769
+ class EmailMessageBatch(winrt.system.Object):
770
+ @staticmethod
771
+ def _from(obj: winrt.system.Object, /) -> EmailMessageBatch: ...
772
+ @_property
773
+ def messages(self) -> typing.Optional[windows_foundation_collections.IVectorView[EmailMessage]]: ...
774
+ @_property
775
+ def status(self) -> EmailBatchStatus: ...
776
+
777
+ @typing.final
778
+ class EmailMessageReader(winrt.system.Object):
779
+ @staticmethod
780
+ def _from(obj: winrt.system.Object, /) -> EmailMessageReader: ...
781
+ def read_batch_async(self) -> windows_foundation.IAsyncOperation[EmailMessageBatch]: ...
782
+
783
+ @typing.final
784
+ class EmailQueryOptions(winrt.system.Object):
785
+ @staticmethod
786
+ def _from(obj: winrt.system.Object, /) -> EmailQueryOptions: ...
787
+ @typing.overload
788
+ def __new__(cls: typing.Type[EmailQueryOptions], text: str) -> EmailQueryOptions: ...
789
+ @typing.overload
790
+ def __new__(cls: typing.Type[EmailQueryOptions], text: str, fields: EmailQuerySearchFields) -> EmailQueryOptions: ...
791
+ @typing.overload
792
+ def __new__(cls: typing.Type[EmailQueryOptions]) -> EmailQueryOptions: ...
793
+ @_property
794
+ def sort_property(self) -> EmailQuerySortProperty: ...
795
+ @sort_property.setter
796
+ def sort_property(self, value: EmailQuerySortProperty) -> None: ...
797
+ @_property
798
+ def sort_direction(self) -> EmailQuerySortDirection: ...
799
+ @sort_direction.setter
800
+ def sort_direction(self, value: EmailQuerySortDirection) -> None: ...
801
+ @_property
802
+ def kind(self) -> EmailQueryKind: ...
803
+ @kind.setter
804
+ def kind(self, value: EmailQueryKind) -> None: ...
805
+ @_property
806
+ def folder_ids(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
807
+ @_property
808
+ def text_search(self) -> typing.Optional[EmailQueryTextSearch]: ...
809
+
810
+ @typing.final
811
+ class EmailQueryTextSearch(winrt.system.Object):
812
+ @staticmethod
813
+ def _from(obj: winrt.system.Object, /) -> EmailQueryTextSearch: ...
814
+ @_property
815
+ def text(self) -> str: ...
816
+ @text.setter
817
+ def text(self, value: str) -> None: ...
818
+ @_property
819
+ def search_scope(self) -> EmailQuerySearchScope: ...
820
+ @search_scope.setter
821
+ def search_scope(self, value: EmailQuerySearchScope) -> None: ...
822
+ @_property
823
+ def fields(self) -> EmailQuerySearchFields: ...
824
+ @fields.setter
825
+ def fields(self, value: EmailQuerySearchFields) -> None: ...
826
+
827
+ @typing.final
828
+ class EmailRecipient(winrt.system.Object):
829
+ @staticmethod
830
+ def _from(obj: winrt.system.Object, /) -> EmailRecipient: ...
831
+ @typing.overload
832
+ def __new__(cls: typing.Type[EmailRecipient], address: str) -> EmailRecipient: ...
833
+ @typing.overload
834
+ def __new__(cls: typing.Type[EmailRecipient], address: str, name: str) -> EmailRecipient: ...
835
+ @typing.overload
836
+ def __new__(cls: typing.Type[EmailRecipient]) -> EmailRecipient: ...
837
+ @_property
838
+ def name(self) -> str: ...
839
+ @name.setter
840
+ def name(self, value: str) -> None: ...
841
+ @_property
842
+ def address(self) -> str: ...
843
+ @address.setter
844
+ def address(self, value: str) -> None: ...
845
+
846
+ @typing.final
847
+ class EmailRecipientResolutionResult(winrt.system.Object):
848
+ @staticmethod
849
+ def _from(obj: winrt.system.Object, /) -> EmailRecipientResolutionResult: ...
850
+ def __new__(cls: typing.Type[EmailRecipientResolutionResult]) -> EmailRecipientResolutionResult: ...
851
+ def set_public_keys(self, value: typing.Iterable[windows_security_cryptography_certificates.Certificate], /) -> None: ...
852
+ @_property
853
+ def status(self) -> EmailRecipientResolutionStatus: ...
854
+ @status.setter
855
+ def status(self, value: EmailRecipientResolutionStatus) -> None: ...
856
+ @_property
857
+ def public_keys(self) -> typing.Optional[windows_foundation_collections.IVectorView[windows_security_cryptography_certificates.Certificate]]: ...
858
+
859
+ @typing.final
860
+ class EmailStore(winrt.system.Object):
861
+ @staticmethod
862
+ def _from(obj: winrt.system.Object, /) -> EmailStore: ...
863
+ @typing.overload
864
+ def create_mailbox_async(self, account_name: str, account_address: str, /) -> windows_foundation.IAsyncOperation[EmailMailbox]: ...
865
+ @typing.overload
866
+ def create_mailbox_async(self, account_name: str, account_address: str, user_data_account_id: str, /) -> windows_foundation.IAsyncOperation[EmailMailbox]: ...
867
+ def find_mailboxes_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[EmailMailbox]]: ...
868
+ def get_conversation_async(self, id: str, /) -> windows_foundation.IAsyncOperation[EmailConversation]: ...
869
+ @typing.overload
870
+ def get_conversation_reader(self) -> typing.Optional[EmailConversationReader]: ...
871
+ @typing.overload
872
+ def get_conversation_reader(self, options: typing.Optional[EmailQueryOptions], /) -> typing.Optional[EmailConversationReader]: ...
873
+ def get_folder_async(self, id: str, /) -> windows_foundation.IAsyncOperation[EmailFolder]: ...
874
+ def get_mailbox_async(self, id: str, /) -> windows_foundation.IAsyncOperation[EmailMailbox]: ...
875
+ def get_message_async(self, id: str, /) -> windows_foundation.IAsyncOperation[EmailMessage]: ...
876
+ @typing.overload
877
+ def get_message_reader(self) -> typing.Optional[EmailMessageReader]: ...
878
+ @typing.overload
879
+ def get_message_reader(self, options: typing.Optional[EmailQueryOptions], /) -> typing.Optional[EmailMessageReader]: ...
880
+
881
+ @typing.final
882
+ class EmailStoreNotificationTriggerDetails(winrt.system.Object):
883
+ @staticmethod
884
+ def _from(obj: winrt.system.Object, /) -> EmailStoreNotificationTriggerDetails: ...
885
+
@@ -0,0 +1,305 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_applicationmodel_email
7
+
8
+ __all__ = [
9
+ "EmailAttachmentDownloadState",
10
+ "EmailBatchStatus",
11
+ "EmailCertificateValidationStatus",
12
+ "EmailFlagState",
13
+ "EmailImportance",
14
+ "EmailMailboxActionKind",
15
+ "EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation",
16
+ "EmailMailboxAutoReplyMessageResponseKind",
17
+ "EmailMailboxChangeType",
18
+ "EmailMailboxCreateFolderStatus",
19
+ "EmailMailboxDeleteFolderStatus",
20
+ "EmailMailboxEmptyFolderStatus",
21
+ "EmailMailboxOtherAppReadAccess",
22
+ "EmailMailboxOtherAppWriteAccess",
23
+ "EmailMailboxSmimeEncryptionAlgorithm",
24
+ "EmailMailboxSmimeSigningAlgorithm",
25
+ "EmailMailboxSyncStatus",
26
+ "EmailMeetingResponseType",
27
+ "EmailMessageBodyKind",
28
+ "EmailMessageDownloadState",
29
+ "EmailMessageResponseKind",
30
+ "EmailMessageSmimeKind",
31
+ "EmailQueryKind",
32
+ "EmailQuerySearchFields",
33
+ "EmailQuerySearchScope",
34
+ "EmailQuerySortDirection",
35
+ "EmailQuerySortProperty",
36
+ "EmailRecipientResolutionStatus",
37
+ "EmailSpecialFolderKind",
38
+ "EmailStoreAccessType",
39
+ "EmailAttachment",
40
+ "EmailConversation",
41
+ "EmailConversationBatch",
42
+ "EmailConversationReader",
43
+ "EmailFolder",
44
+ "EmailIrmInfo",
45
+ "EmailIrmTemplate",
46
+ "EmailItemCounts",
47
+ "EmailMailbox",
48
+ "EmailMailboxAction",
49
+ "EmailMailboxAutoReply",
50
+ "EmailMailboxAutoReplySettings",
51
+ "EmailMailboxCapabilities",
52
+ "EmailMailboxChange",
53
+ "EmailMailboxChangeReader",
54
+ "EmailMailboxChangeTracker",
55
+ "EmailMailboxChangedDeferral",
56
+ "EmailMailboxChangedEventArgs",
57
+ "EmailMailboxCreateFolderResult",
58
+ "EmailMailboxPolicies",
59
+ "EmailMailboxSyncManager",
60
+ "EmailManager",
61
+ "EmailManagerForUser",
62
+ "EmailMeetingInfo",
63
+ "EmailMessage",
64
+ "EmailMessageBatch",
65
+ "EmailMessageReader",
66
+ "EmailQueryOptions",
67
+ "EmailQueryTextSearch",
68
+ "EmailRecipient",
69
+ "EmailRecipientResolutionResult",
70
+ "EmailStore",
71
+ "EmailStoreNotificationTriggerDetails",
72
+ ]
73
+
74
+ class EmailAttachmentDownloadState(enum.IntEnum):
75
+ NOT_DOWNLOADED = 0
76
+ DOWNLOADING = 1
77
+ DOWNLOADED = 2
78
+ FAILED = 3
79
+
80
+ class EmailBatchStatus(enum.IntEnum):
81
+ SUCCESS = 0
82
+ SERVER_SEARCH_SYNC_MANAGER_ERROR = 1
83
+ SERVER_SEARCH_UNKNOWN_ERROR = 2
84
+
85
+ class EmailCertificateValidationStatus(enum.IntEnum):
86
+ SUCCESS = 0
87
+ NO_MATCH = 1
88
+ INVALID_USAGE = 2
89
+ INVALID_CERTIFICATE = 3
90
+ REVOKED = 4
91
+ CHAIN_REVOKED = 5
92
+ REVOCATION_SERVER_FAILURE = 6
93
+ EXPIRED = 7
94
+ UNTRUSTED = 8
95
+ SERVER_ERROR = 9
96
+ UNKNOWN_FAILURE = 10
97
+
98
+ class EmailFlagState(enum.IntEnum):
99
+ UNFLAGGED = 0
100
+ FLAGGED = 1
101
+ COMPLETED = 2
102
+ CLEARED = 3
103
+
104
+ class EmailImportance(enum.IntEnum):
105
+ NORMAL = 0
106
+ HIGH = 1
107
+ LOW = 2
108
+
109
+ class EmailMailboxActionKind(enum.IntEnum):
110
+ MARK_MESSAGE_AS_SEEN = 0
111
+ MARK_MESSAGE_READ = 1
112
+ CHANGE_MESSAGE_FLAG_STATE = 2
113
+ MOVE_MESSAGE = 3
114
+ SAVE_DRAFT = 4
115
+ SEND_MESSAGE = 5
116
+ CREATE_RESPONSE_REPLY_MESSAGE = 6
117
+ CREATE_RESPONSE_REPLY_ALL_MESSAGE = 7
118
+ CREATE_RESPONSE_FORWARD_MESSAGE = 8
119
+ MOVE_FOLDER = 9
120
+ MARK_FOLDER_FOR_SYNC_ENABLED = 10
121
+
122
+ class EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation(enum.IntEnum):
123
+ NONE = 0
124
+ STRONG_ALGORITHM = 1
125
+ ANY_ALGORITHM = 2
126
+
127
+ class EmailMailboxAutoReplyMessageResponseKind(enum.IntEnum):
128
+ HTML = 0
129
+ PLAIN_TEXT = 1
130
+
131
+ class EmailMailboxChangeType(enum.IntEnum):
132
+ MESSAGE_CREATED = 0
133
+ MESSAGE_MODIFIED = 1
134
+ MESSAGE_DELETED = 2
135
+ FOLDER_CREATED = 3
136
+ FOLDER_MODIFIED = 4
137
+ FOLDER_DELETED = 5
138
+ CHANGE_TRACKING_LOST = 6
139
+
140
+ class EmailMailboxCreateFolderStatus(enum.IntEnum):
141
+ SUCCESS = 0
142
+ NETWORK_ERROR = 1
143
+ PERMISSIONS_ERROR = 2
144
+ SERVER_ERROR = 3
145
+ UNKNOWN_FAILURE = 4
146
+ NAME_COLLISION = 5
147
+ SERVER_REJECTED = 6
148
+
149
+ class EmailMailboxDeleteFolderStatus(enum.IntEnum):
150
+ SUCCESS = 0
151
+ NETWORK_ERROR = 1
152
+ PERMISSIONS_ERROR = 2
153
+ SERVER_ERROR = 3
154
+ UNKNOWN_FAILURE = 4
155
+ COULD_NOT_DELETE_EVERYTHING = 5
156
+
157
+ class EmailMailboxEmptyFolderStatus(enum.IntEnum):
158
+ SUCCESS = 0
159
+ NETWORK_ERROR = 1
160
+ PERMISSIONS_ERROR = 2
161
+ SERVER_ERROR = 3
162
+ UNKNOWN_FAILURE = 4
163
+ COULD_NOT_DELETE_EVERYTHING = 5
164
+
165
+ class EmailMailboxOtherAppReadAccess(enum.IntEnum):
166
+ SYSTEM_ONLY = 0
167
+ FULL = 1
168
+ NONE = 2
169
+
170
+ class EmailMailboxOtherAppWriteAccess(enum.IntEnum):
171
+ NONE = 0
172
+ LIMITED = 1
173
+
174
+ class EmailMailboxSmimeEncryptionAlgorithm(enum.IntEnum):
175
+ ANY = 0
176
+ TRIPLE_DES = 1
177
+ DES = 2
178
+ R_C2128_BIT = 3
179
+ R_C264_BIT = 4
180
+ R_C240_BIT = 5
181
+
182
+ class EmailMailboxSmimeSigningAlgorithm(enum.IntEnum):
183
+ ANY = 0
184
+ SHA1 = 1
185
+ M_D5 = 2
186
+
187
+ class EmailMailboxSyncStatus(enum.IntEnum):
188
+ IDLE = 0
189
+ SYNCING = 1
190
+ UP_TO_DATE = 2
191
+ AUTHENTICATION_ERROR = 3
192
+ POLICY_ERROR = 4
193
+ UNKNOWN_ERROR = 5
194
+ MANUAL_ACCOUNT_REMOVAL_REQUIRED = 6
195
+
196
+ class EmailMeetingResponseType(enum.IntEnum):
197
+ ACCEPT = 0
198
+ DECLINE = 1
199
+ TENTATIVE = 2
200
+
201
+ class EmailMessageBodyKind(enum.IntEnum):
202
+ HTML = 0
203
+ PLAIN_TEXT = 1
204
+
205
+ class EmailMessageDownloadState(enum.IntEnum):
206
+ PARTIALLY_DOWNLOADED = 0
207
+ DOWNLOADING = 1
208
+ DOWNLOADED = 2
209
+ FAILED = 3
210
+
211
+ class EmailMessageResponseKind(enum.IntEnum):
212
+ NONE = 0
213
+ REPLY = 1
214
+ REPLY_ALL = 2
215
+ FORWARD = 3
216
+
217
+ class EmailMessageSmimeKind(enum.IntEnum):
218
+ NONE = 0
219
+ CLEAR_SIGNED = 1
220
+ OPAQUE_SIGNED = 2
221
+ ENCRYPTED = 3
222
+
223
+ class EmailQueryKind(enum.IntEnum):
224
+ ALL = 0
225
+ IMPORTANT = 1
226
+ FLAGGED = 2
227
+ UNREAD = 3
228
+ READ = 4
229
+ UNSEEN = 5
230
+
231
+ class EmailQuerySearchFields(enum.IntFlag):
232
+ NONE = 0x0
233
+ SUBJECT = 0x1
234
+ SENDER = 0x2
235
+ PREVIEW = 0x4
236
+ RECIPIENTS = 0x8
237
+ ALL = 0xFFFFFFFF
238
+
239
+ class EmailQuerySearchScope(enum.IntEnum):
240
+ LOCAL = 0
241
+ SERVER = 1
242
+
243
+ class EmailQuerySortDirection(enum.IntEnum):
244
+ DESCENDING = 0
245
+ ASCENDING = 1
246
+
247
+ class EmailQuerySortProperty(enum.IntEnum):
248
+ DATE = 0
249
+
250
+ class EmailRecipientResolutionStatus(enum.IntEnum):
251
+ SUCCESS = 0
252
+ RECIPIENT_NOT_FOUND = 1
253
+ AMBIGUOUS_RECIPIENT = 2
254
+ NO_CERTIFICATE = 3
255
+ CERTIFICATE_REQUEST_LIMIT_REACHED = 4
256
+ CANNOT_RESOLVE_DISTRIBUTION_LIST = 5
257
+ SERVER_ERROR = 6
258
+ UNKNOWN_FAILURE = 7
259
+
260
+ class EmailSpecialFolderKind(enum.IntEnum):
261
+ NONE = 0
262
+ ROOT = 1
263
+ INBOX = 2
264
+ OUTBOX = 3
265
+ DRAFTS = 4
266
+ DELETED_ITEMS = 5
267
+ SENT = 6
268
+
269
+ class EmailStoreAccessType(enum.IntEnum):
270
+ APP_MAILBOXES_READ_WRITE = 0
271
+ ALL_MAILBOXES_LIMITED_READ_WRITE = 1
272
+
273
+ EmailAttachment = _winrt_windows_applicationmodel_email.EmailAttachment
274
+ EmailConversation = _winrt_windows_applicationmodel_email.EmailConversation
275
+ EmailConversationBatch = _winrt_windows_applicationmodel_email.EmailConversationBatch
276
+ EmailConversationReader = _winrt_windows_applicationmodel_email.EmailConversationReader
277
+ EmailFolder = _winrt_windows_applicationmodel_email.EmailFolder
278
+ EmailIrmInfo = _winrt_windows_applicationmodel_email.EmailIrmInfo
279
+ EmailIrmTemplate = _winrt_windows_applicationmodel_email.EmailIrmTemplate
280
+ EmailItemCounts = _winrt_windows_applicationmodel_email.EmailItemCounts
281
+ EmailMailbox = _winrt_windows_applicationmodel_email.EmailMailbox
282
+ EmailMailboxAction = _winrt_windows_applicationmodel_email.EmailMailboxAction
283
+ EmailMailboxAutoReply = _winrt_windows_applicationmodel_email.EmailMailboxAutoReply
284
+ EmailMailboxAutoReplySettings = _winrt_windows_applicationmodel_email.EmailMailboxAutoReplySettings
285
+ EmailMailboxCapabilities = _winrt_windows_applicationmodel_email.EmailMailboxCapabilities
286
+ EmailMailboxChange = _winrt_windows_applicationmodel_email.EmailMailboxChange
287
+ EmailMailboxChangeReader = _winrt_windows_applicationmodel_email.EmailMailboxChangeReader
288
+ EmailMailboxChangeTracker = _winrt_windows_applicationmodel_email.EmailMailboxChangeTracker
289
+ EmailMailboxChangedDeferral = _winrt_windows_applicationmodel_email.EmailMailboxChangedDeferral
290
+ EmailMailboxChangedEventArgs = _winrt_windows_applicationmodel_email.EmailMailboxChangedEventArgs
291
+ EmailMailboxCreateFolderResult = _winrt_windows_applicationmodel_email.EmailMailboxCreateFolderResult
292
+ EmailMailboxPolicies = _winrt_windows_applicationmodel_email.EmailMailboxPolicies
293
+ EmailMailboxSyncManager = _winrt_windows_applicationmodel_email.EmailMailboxSyncManager
294
+ EmailManager = _winrt_windows_applicationmodel_email.EmailManager
295
+ EmailManagerForUser = _winrt_windows_applicationmodel_email.EmailManagerForUser
296
+ EmailMeetingInfo = _winrt_windows_applicationmodel_email.EmailMeetingInfo
297
+ EmailMessage = _winrt_windows_applicationmodel_email.EmailMessage
298
+ EmailMessageBatch = _winrt_windows_applicationmodel_email.EmailMessageBatch
299
+ EmailMessageReader = _winrt_windows_applicationmodel_email.EmailMessageReader
300
+ EmailQueryOptions = _winrt_windows_applicationmodel_email.EmailQueryOptions
301
+ EmailQueryTextSearch = _winrt_windows_applicationmodel_email.EmailQueryTextSearch
302
+ EmailRecipient = _winrt_windows_applicationmodel_email.EmailRecipient
303
+ EmailRecipientResolutionResult = _winrt_windows_applicationmodel_email.EmailRecipientResolutionResult
304
+ EmailStore = _winrt_windows_applicationmodel_email.EmailStore
305
+ EmailStoreNotificationTriggerDetails = _winrt_windows_applicationmodel_email.EmailStoreNotificationTriggerDetails
File without changes
@@ -0,0 +1,30 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.ApplicationModel.Email
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: <3.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.ApplicationModel.Appointments[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.Security.Cryptography.Certificates[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
22
+ Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
23
+
24
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
25
+
26
+ # winrt-Windows.ApplicationModel.Email
27
+
28
+ Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Email` namespace.
29
+
30
+ This package provides the `winrt.windows.applicationmodel.email` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_applicationmodel_email.cp313-win_amd64.pyd,sha256=z32fxgsbXksOUL3gm12Accb8pBUAO9uAv5SJSKkGOBs,748032
2
+ winrt/_winrt_windows_applicationmodel_email.pyi,sha256=8OjbBN4_Y-A9w49XSh36goNy2ZNvF2XWfYy8KUnjrBI,42482
3
+ winrt/windows/applicationmodel/email/__init__.py,sha256=d3oBOMZ9WWBwEjjRXzSSUCDVipWoIGkID80Bq56rLCY,9167
4
+ winrt/windows/applicationmodel/email/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.ApplicationModel.Email-2.2.0.dist-info/METADATA,sha256=Q_sZJElz0GY8ChBP1GrN8nNRHx__Q21kW1ce7MXTvhY,1482
6
+ winrt_Windows.ApplicationModel.Email-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
7
+ winrt_Windows.ApplicationModel.Email-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.ApplicationModel.Email-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_amd64
5
+