winrt-Windows.ApplicationModel.Appointments 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,586 @@
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.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.system as windows_system
15
+ import winrt.windows.ui as windows_ui
16
+ import winrt.windows.ui.popups as windows_ui_popups
17
+
18
+ from winrt.windows.applicationmodel.appointments import AppointmentBusyStatus, AppointmentCalendarOtherAppReadAccess, AppointmentCalendarOtherAppWriteAccess, AppointmentCalendarSyncStatus, AppointmentConflictType, AppointmentDaysOfWeek, AppointmentDetailsKind, AppointmentParticipantResponse, AppointmentParticipantRole, AppointmentRecurrenceUnit, AppointmentSensitivity, AppointmentStoreAccessType, AppointmentStoreChangeType, AppointmentSummaryCardView, AppointmentWeekOfMonth, FindAppointmentCalendarsOptions, RecurrenceType
19
+
20
+ Self = typing.TypeVar('Self')
21
+
22
+ @typing.final
23
+ class Appointment(winrt.system.Object):
24
+ @staticmethod
25
+ def _from(obj: winrt.system.Object, /) -> Appointment: ...
26
+ def __new__(cls: typing.Type[Appointment]) -> Appointment: ...
27
+ @_property
28
+ def location(self) -> str: ...
29
+ @location.setter
30
+ def location(self, value: str) -> None: ...
31
+ @_property
32
+ def all_day(self) -> bool: ...
33
+ @all_day.setter
34
+ def all_day(self, value: bool) -> None: ...
35
+ @_property
36
+ def organizer(self) -> typing.Optional[AppointmentOrganizer]: ...
37
+ @organizer.setter
38
+ def organizer(self, value: typing.Optional[AppointmentOrganizer]) -> None: ...
39
+ @_property
40
+ def duration(self) -> datetime.timedelta: ...
41
+ @duration.setter
42
+ def duration(self, value: datetime.timedelta) -> None: ...
43
+ @_property
44
+ def details(self) -> str: ...
45
+ @details.setter
46
+ def details(self, value: str) -> None: ...
47
+ @_property
48
+ def busy_status(self) -> AppointmentBusyStatus: ...
49
+ @busy_status.setter
50
+ def busy_status(self, value: AppointmentBusyStatus) -> None: ...
51
+ @_property
52
+ def recurrence(self) -> typing.Optional[AppointmentRecurrence]: ...
53
+ @recurrence.setter
54
+ def recurrence(self, value: typing.Optional[AppointmentRecurrence]) -> None: ...
55
+ @_property
56
+ def subject(self) -> str: ...
57
+ @subject.setter
58
+ def subject(self, value: str) -> None: ...
59
+ @_property
60
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
61
+ @uri.setter
62
+ def uri(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
63
+ @_property
64
+ def start_time(self) -> datetime.datetime: ...
65
+ @start_time.setter
66
+ def start_time(self, value: datetime.datetime) -> None: ...
67
+ @_property
68
+ def sensitivity(self) -> AppointmentSensitivity: ...
69
+ @sensitivity.setter
70
+ def sensitivity(self, value: AppointmentSensitivity) -> None: ...
71
+ @_property
72
+ def reminder(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
73
+ @reminder.setter
74
+ def reminder(self, value: typing.Optional[typing.Optional[datetime.timedelta]]) -> None: ...
75
+ @_property
76
+ def invitees(self) -> typing.Optional[windows_foundation_collections.IVector[AppointmentInvitee]]: ...
77
+ @_property
78
+ def allow_new_time_proposal(self) -> bool: ...
79
+ @allow_new_time_proposal.setter
80
+ def allow_new_time_proposal(self, value: bool) -> None: ...
81
+ @_property
82
+ def user_response(self) -> AppointmentParticipantResponse: ...
83
+ @user_response.setter
84
+ def user_response(self, value: AppointmentParticipantResponse) -> None: ...
85
+ @_property
86
+ def roaming_id(self) -> str: ...
87
+ @roaming_id.setter
88
+ def roaming_id(self, value: str) -> None: ...
89
+ @_property
90
+ def reply_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
91
+ @reply_time.setter
92
+ def reply_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
93
+ @_property
94
+ def is_response_requested(self) -> bool: ...
95
+ @is_response_requested.setter
96
+ def is_response_requested(self, value: bool) -> None: ...
97
+ @_property
98
+ def is_organized_by_user(self) -> bool: ...
99
+ @is_organized_by_user.setter
100
+ def is_organized_by_user(self, value: bool) -> None: ...
101
+ @_property
102
+ def is_canceled_meeting(self) -> bool: ...
103
+ @is_canceled_meeting.setter
104
+ def is_canceled_meeting(self, value: bool) -> None: ...
105
+ @_property
106
+ def online_meeting_link(self) -> str: ...
107
+ @online_meeting_link.setter
108
+ def online_meeting_link(self, value: str) -> None: ...
109
+ @_property
110
+ def has_invitees(self) -> bool: ...
111
+ @_property
112
+ def calendar_id(self) -> str: ...
113
+ @_property
114
+ def local_id(self) -> str: ...
115
+ @_property
116
+ def original_start_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
117
+ @_property
118
+ def remote_change_number(self) -> winrt.system.UInt64: ...
119
+ @remote_change_number.setter
120
+ def remote_change_number(self, value: winrt.system.UInt64) -> None: ...
121
+ @_property
122
+ def details_kind(self) -> AppointmentDetailsKind: ...
123
+ @details_kind.setter
124
+ def details_kind(self, value: AppointmentDetailsKind) -> None: ...
125
+ @_property
126
+ def change_number(self) -> winrt.system.UInt64: ...
127
+
128
+ @typing.final
129
+ class AppointmentCalendar(winrt.system.Object):
130
+ @staticmethod
131
+ def _from(obj: winrt.system.Object, /) -> AppointmentCalendar: ...
132
+ def delete_appointment_async(self, local_id: str, /) -> windows_foundation.IAsyncAction: ...
133
+ def delete_appointment_instance_async(self, local_id: str, instance_start_time: datetime.datetime, /) -> windows_foundation.IAsyncAction: ...
134
+ def delete_async(self) -> windows_foundation.IAsyncAction: ...
135
+ @typing.overload
136
+ def find_all_instances_async(self, master_local_id: str, range_start: datetime.datetime, range_length: datetime.timedelta, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[Appointment]]: ...
137
+ @typing.overload
138
+ def find_all_instances_async(self, master_local_id: str, range_start: datetime.datetime, range_length: datetime.timedelta, p_options: typing.Optional[FindAppointmentsOptions], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[Appointment]]: ...
139
+ @typing.overload
140
+ def find_appointments_async(self, range_start: datetime.datetime, range_length: datetime.timedelta, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[Appointment]]: ...
141
+ @typing.overload
142
+ def find_appointments_async(self, range_start: datetime.datetime, range_length: datetime.timedelta, options: typing.Optional[FindAppointmentsOptions], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[Appointment]]: ...
143
+ def find_exceptions_from_master_async(self, master_local_id: str, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[AppointmentException]]: ...
144
+ @typing.overload
145
+ def find_unexpanded_appointments_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[Appointment]]: ...
146
+ @typing.overload
147
+ def find_unexpanded_appointments_async(self, options: typing.Optional[FindAppointmentsOptions], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[Appointment]]: ...
148
+ def get_appointment_async(self, local_id: str, /) -> windows_foundation.IAsyncOperation[Appointment]: ...
149
+ def get_appointment_instance_async(self, local_id: str, instance_start_time: datetime.datetime, /) -> windows_foundation.IAsyncOperation[Appointment]: ...
150
+ def register_sync_manager_async(self) -> windows_foundation.IAsyncAction: ...
151
+ def save_appointment_async(self, p_appointment: typing.Optional[Appointment], /) -> windows_foundation.IAsyncAction: ...
152
+ def save_async(self) -> windows_foundation.IAsyncAction: ...
153
+ def try_cancel_meeting_async(self, meeting: typing.Optional[Appointment], subject: str, comment: str, notify_invitees: bool, /) -> windows_foundation.IAsyncOperation[bool]: ...
154
+ def try_create_or_update_appointment_async(self, appointment: typing.Optional[Appointment], notify_invitees: bool, /) -> windows_foundation.IAsyncOperation[bool]: ...
155
+ def try_forward_meeting_async(self, meeting: typing.Optional[Appointment], invitees: typing.Iterable[AppointmentInvitee], subject: str, forward_header: str, comment: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
156
+ def try_propose_new_time_for_meeting_async(self, meeting: typing.Optional[Appointment], new_start_time: datetime.datetime, new_duration: datetime.timedelta, subject: str, comment: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
157
+ def try_update_meeting_response_async(self, meeting: typing.Optional[Appointment], response: AppointmentParticipantResponse, subject: str, comment: str, send_update: bool, /) -> windows_foundation.IAsyncOperation[bool]: ...
158
+ @_property
159
+ def summary_card_view(self) -> AppointmentSummaryCardView: ...
160
+ @summary_card_view.setter
161
+ def summary_card_view(self, value: AppointmentSummaryCardView) -> None: ...
162
+ @_property
163
+ def other_app_write_access(self) -> AppointmentCalendarOtherAppWriteAccess: ...
164
+ @other_app_write_access.setter
165
+ def other_app_write_access(self, value: AppointmentCalendarOtherAppWriteAccess) -> None: ...
166
+ @_property
167
+ def display_color(self) -> windows_ui.Color: ...
168
+ @display_color.setter
169
+ def display_color(self, value: windows_ui.Color) -> None: ...
170
+ @_property
171
+ def is_hidden(self) -> bool: ...
172
+ @is_hidden.setter
173
+ def is_hidden(self, value: bool) -> None: ...
174
+ @_property
175
+ def display_name(self) -> str: ...
176
+ @display_name.setter
177
+ def display_name(self, value: str) -> None: ...
178
+ @_property
179
+ def other_app_read_access(self) -> AppointmentCalendarOtherAppReadAccess: ...
180
+ @other_app_read_access.setter
181
+ def other_app_read_access(self, value: AppointmentCalendarOtherAppReadAccess) -> None: ...
182
+ @_property
183
+ def local_id(self) -> str: ...
184
+ @_property
185
+ def source_display_name(self) -> str: ...
186
+ @_property
187
+ def can_cancel_meetings(self) -> bool: ...
188
+ @can_cancel_meetings.setter
189
+ def can_cancel_meetings(self, value: bool) -> None: ...
190
+ @_property
191
+ def can_notify_invitees(self) -> bool: ...
192
+ @can_notify_invitees.setter
193
+ def can_notify_invitees(self, value: bool) -> None: ...
194
+ @_property
195
+ def remote_id(self) -> str: ...
196
+ @remote_id.setter
197
+ def remote_id(self, value: str) -> None: ...
198
+ @_property
199
+ def must_nofity_invitees(self) -> bool: ...
200
+ @must_nofity_invitees.setter
201
+ def must_nofity_invitees(self, value: bool) -> None: ...
202
+ @_property
203
+ def can_update_meeting_responses(self) -> bool: ...
204
+ @can_update_meeting_responses.setter
205
+ def can_update_meeting_responses(self, value: bool) -> None: ...
206
+ @_property
207
+ def can_propose_new_time_for_meetings(self) -> bool: ...
208
+ @can_propose_new_time_for_meetings.setter
209
+ def can_propose_new_time_for_meetings(self, value: bool) -> None: ...
210
+ @_property
211
+ def can_create_or_update_appointments(self) -> bool: ...
212
+ @can_create_or_update_appointments.setter
213
+ def can_create_or_update_appointments(self, value: bool) -> None: ...
214
+ @_property
215
+ def can_forward_meetings(self) -> bool: ...
216
+ @can_forward_meetings.setter
217
+ def can_forward_meetings(self, value: bool) -> None: ...
218
+ @_property
219
+ def sync_manager(self) -> typing.Optional[AppointmentCalendarSyncManager]: ...
220
+ @_property
221
+ def user_data_account_id(self) -> str: ...
222
+
223
+ @typing.final
224
+ class AppointmentCalendarSyncManager(winrt.system.Object):
225
+ @staticmethod
226
+ def _from(obj: winrt.system.Object, /) -> AppointmentCalendarSyncManager: ...
227
+ def sync_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
228
+ def add_sync_status_changed(self, handler: windows_foundation.TypedEventHandler[AppointmentCalendarSyncManager, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
229
+ def remove_sync_status_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
230
+ @_property
231
+ def status(self) -> AppointmentCalendarSyncStatus: ...
232
+ @status.setter
233
+ def status(self, value: AppointmentCalendarSyncStatus) -> None: ...
234
+ @_property
235
+ def last_successful_sync_time(self) -> datetime.datetime: ...
236
+ @last_successful_sync_time.setter
237
+ def last_successful_sync_time(self, value: datetime.datetime) -> None: ...
238
+ @_property
239
+ def last_attempted_sync_time(self) -> datetime.datetime: ...
240
+ @last_attempted_sync_time.setter
241
+ def last_attempted_sync_time(self, value: datetime.datetime) -> None: ...
242
+
243
+ @typing.final
244
+ class AppointmentConflictResult(winrt.system.Object):
245
+ @staticmethod
246
+ def _from(obj: winrt.system.Object, /) -> AppointmentConflictResult: ...
247
+ @_property
248
+ def date(self) -> datetime.datetime: ...
249
+ @_property
250
+ def type(self) -> AppointmentConflictType: ...
251
+
252
+ @typing.final
253
+ class AppointmentException(winrt.system.Object):
254
+ @staticmethod
255
+ def _from(obj: winrt.system.Object, /) -> AppointmentException: ...
256
+ @_property
257
+ def appointment(self) -> typing.Optional[Appointment]: ...
258
+ @_property
259
+ def exception_properties(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
260
+ @_property
261
+ def is_deleted(self) -> bool: ...
262
+
263
+ @typing.final
264
+ class AppointmentInvitee(winrt.system.Object):
265
+ @staticmethod
266
+ def _from(obj: winrt.system.Object, /) -> AppointmentInvitee: ...
267
+ def __new__(cls: typing.Type[AppointmentInvitee]) -> AppointmentInvitee: ...
268
+ @_property
269
+ def role(self) -> AppointmentParticipantRole: ...
270
+ @role.setter
271
+ def role(self, value: AppointmentParticipantRole) -> None: ...
272
+ @_property
273
+ def response(self) -> AppointmentParticipantResponse: ...
274
+ @response.setter
275
+ def response(self, value: AppointmentParticipantResponse) -> None: ...
276
+ @_property
277
+ def display_name(self) -> str: ...
278
+ @display_name.setter
279
+ def display_name(self, value: str) -> None: ...
280
+ @_property
281
+ def address(self) -> str: ...
282
+ @address.setter
283
+ def address(self, value: str) -> None: ...
284
+
285
+ @typing.final
286
+ class AppointmentManager_Static(type):
287
+ def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[AppointmentManagerForUser]: ...
288
+ def request_store_async(cls, options: AppointmentStoreAccessType, /) -> windows_foundation.IAsyncOperation[AppointmentStore]: ...
289
+ @typing.overload
290
+ def show_add_appointment_async(cls, appointment: typing.Optional[Appointment], selection: windows_foundation.Rect, /) -> windows_foundation.IAsyncOperation[str]: ...
291
+ @typing.overload
292
+ def show_add_appointment_async(cls, appointment: typing.Optional[Appointment], selection: windows_foundation.Rect, preferred_placement: windows_ui_popups.Placement, /) -> windows_foundation.IAsyncOperation[str]: ...
293
+ @typing.overload
294
+ def show_appointment_details_async(cls, appointment_id: str, /) -> windows_foundation.IAsyncAction: ...
295
+ @typing.overload
296
+ def show_appointment_details_async(cls, appointment_id: str, instance_start_date: datetime.datetime, /) -> windows_foundation.IAsyncAction: ...
297
+ def show_edit_new_appointment_async(cls, appointment: typing.Optional[Appointment], /) -> windows_foundation.IAsyncOperation[str]: ...
298
+ @typing.overload
299
+ def show_remove_appointment_async(cls, appointment_id: str, selection: windows_foundation.Rect, /) -> windows_foundation.IAsyncOperation[bool]: ...
300
+ @typing.overload
301
+ def show_remove_appointment_async(cls, appointment_id: str, selection: windows_foundation.Rect, preferred_placement: windows_ui_popups.Placement, /) -> windows_foundation.IAsyncOperation[bool]: ...
302
+ @typing.overload
303
+ def show_remove_appointment_async(cls, appointment_id: str, selection: windows_foundation.Rect, preferred_placement: windows_ui_popups.Placement, instance_start_date: datetime.datetime, /) -> windows_foundation.IAsyncOperation[bool]: ...
304
+ @typing.overload
305
+ def show_replace_appointment_async(cls, appointment_id: str, appointment: typing.Optional[Appointment], selection: windows_foundation.Rect, /) -> windows_foundation.IAsyncOperation[str]: ...
306
+ @typing.overload
307
+ def show_replace_appointment_async(cls, appointment_id: str, appointment: typing.Optional[Appointment], selection: windows_foundation.Rect, preferred_placement: windows_ui_popups.Placement, /) -> windows_foundation.IAsyncOperation[str]: ...
308
+ @typing.overload
309
+ def show_replace_appointment_async(cls, appointment_id: str, appointment: typing.Optional[Appointment], selection: windows_foundation.Rect, preferred_placement: windows_ui_popups.Placement, instance_start_date: datetime.datetime, /) -> windows_foundation.IAsyncOperation[str]: ...
310
+ def show_time_frame_async(cls, time_to_show: datetime.datetime, duration: datetime.timedelta, /) -> windows_foundation.IAsyncAction: ...
311
+
312
+ @typing.final
313
+ class AppointmentManager(winrt.system.Object, metaclass=AppointmentManager_Static):
314
+ pass
315
+
316
+ @typing.final
317
+ class AppointmentManagerForUser(winrt.system.Object):
318
+ @staticmethod
319
+ def _from(obj: winrt.system.Object, /) -> AppointmentManagerForUser: ...
320
+ def request_store_async(self, options: AppointmentStoreAccessType, /) -> windows_foundation.IAsyncOperation[AppointmentStore]: ...
321
+ @typing.overload
322
+ def show_add_appointment_async(self, appointment: typing.Optional[Appointment], selection: windows_foundation.Rect, /) -> windows_foundation.IAsyncOperation[str]: ...
323
+ @typing.overload
324
+ def show_add_appointment_async(self, appointment: typing.Optional[Appointment], selection: windows_foundation.Rect, preferred_placement: windows_ui_popups.Placement, /) -> windows_foundation.IAsyncOperation[str]: ...
325
+ @typing.overload
326
+ def show_appointment_details_async(self, appointment_id: str, /) -> windows_foundation.IAsyncAction: ...
327
+ @typing.overload
328
+ def show_appointment_details_async(self, appointment_id: str, instance_start_date: datetime.datetime, /) -> windows_foundation.IAsyncAction: ...
329
+ def show_edit_new_appointment_async(self, appointment: typing.Optional[Appointment], /) -> windows_foundation.IAsyncOperation[str]: ...
330
+ @typing.overload
331
+ def show_remove_appointment_async(self, appointment_id: str, selection: windows_foundation.Rect, /) -> windows_foundation.IAsyncOperation[bool]: ...
332
+ @typing.overload
333
+ def show_remove_appointment_async(self, appointment_id: str, selection: windows_foundation.Rect, preferred_placement: windows_ui_popups.Placement, /) -> windows_foundation.IAsyncOperation[bool]: ...
334
+ @typing.overload
335
+ def show_remove_appointment_async(self, appointment_id: str, selection: windows_foundation.Rect, preferred_placement: windows_ui_popups.Placement, instance_start_date: datetime.datetime, /) -> windows_foundation.IAsyncOperation[bool]: ...
336
+ @typing.overload
337
+ def show_replace_appointment_async(self, appointment_id: str, appointment: typing.Optional[Appointment], selection: windows_foundation.Rect, /) -> windows_foundation.IAsyncOperation[str]: ...
338
+ @typing.overload
339
+ def show_replace_appointment_async(self, appointment_id: str, appointment: typing.Optional[Appointment], selection: windows_foundation.Rect, preferred_placement: windows_ui_popups.Placement, /) -> windows_foundation.IAsyncOperation[str]: ...
340
+ @typing.overload
341
+ def show_replace_appointment_async(self, appointment_id: str, appointment: typing.Optional[Appointment], selection: windows_foundation.Rect, preferred_placement: windows_ui_popups.Placement, instance_start_date: datetime.datetime, /) -> windows_foundation.IAsyncOperation[str]: ...
342
+ def show_time_frame_async(self, time_to_show: datetime.datetime, duration: datetime.timedelta, /) -> windows_foundation.IAsyncAction: ...
343
+ @_property
344
+ def user(self) -> typing.Optional[windows_system.User]: ...
345
+
346
+ @typing.final
347
+ class AppointmentOrganizer(winrt.system.Object):
348
+ @staticmethod
349
+ def _from(obj: winrt.system.Object, /) -> AppointmentOrganizer: ...
350
+ def __new__(cls: typing.Type[AppointmentOrganizer]) -> AppointmentOrganizer: ...
351
+ @_property
352
+ def display_name(self) -> str: ...
353
+ @display_name.setter
354
+ def display_name(self, value: str) -> None: ...
355
+ @_property
356
+ def address(self) -> str: ...
357
+ @address.setter
358
+ def address(self, value: str) -> None: ...
359
+
360
+ @typing.final
361
+ class AppointmentProperties_Static(type):
362
+ @_property
363
+ def has_invitees(cls) -> str: ...
364
+ @_property
365
+ def all_day(cls) -> str: ...
366
+ @_property
367
+ def allow_new_time_proposal(cls) -> str: ...
368
+ @_property
369
+ def busy_status(cls) -> str: ...
370
+ @_property
371
+ def default_properties(cls) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
372
+ @_property
373
+ def details(cls) -> str: ...
374
+ @_property
375
+ def duration(cls) -> str: ...
376
+ @_property
377
+ def recurrence(cls) -> str: ...
378
+ @_property
379
+ def invitees(cls) -> str: ...
380
+ @_property
381
+ def is_canceled_meeting(cls) -> str: ...
382
+ @_property
383
+ def is_organized_by_user(cls) -> str: ...
384
+ @_property
385
+ def is_response_requested(cls) -> str: ...
386
+ @_property
387
+ def location(cls) -> str: ...
388
+ @_property
389
+ def online_meeting_link(cls) -> str: ...
390
+ @_property
391
+ def organizer(cls) -> str: ...
392
+ @_property
393
+ def original_start_time(cls) -> str: ...
394
+ @_property
395
+ def reminder(cls) -> str: ...
396
+ @_property
397
+ def reply_time(cls) -> str: ...
398
+ @_property
399
+ def sensitivity(cls) -> str: ...
400
+ @_property
401
+ def start_time(cls) -> str: ...
402
+ @_property
403
+ def subject(cls) -> str: ...
404
+ @_property
405
+ def uri(cls) -> str: ...
406
+ @_property
407
+ def user_response(cls) -> str: ...
408
+ @_property
409
+ def details_kind(cls) -> str: ...
410
+ @_property
411
+ def remote_change_number(cls) -> str: ...
412
+ @_property
413
+ def change_number(cls) -> str: ...
414
+
415
+ @typing.final
416
+ class AppointmentProperties(winrt.system.Object, metaclass=AppointmentProperties_Static):
417
+ pass
418
+
419
+ @typing.final
420
+ class AppointmentRecurrence(winrt.system.Object):
421
+ @staticmethod
422
+ def _from(obj: winrt.system.Object, /) -> AppointmentRecurrence: ...
423
+ def __new__(cls: typing.Type[AppointmentRecurrence]) -> AppointmentRecurrence: ...
424
+ @_property
425
+ def unit(self) -> AppointmentRecurrenceUnit: ...
426
+ @unit.setter
427
+ def unit(self, value: AppointmentRecurrenceUnit) -> None: ...
428
+ @_property
429
+ def occurrences(self) -> typing.Optional[typing.Optional[winrt.system.UInt32]]: ...
430
+ @occurrences.setter
431
+ def occurrences(self, value: typing.Optional[typing.Optional[winrt.system.UInt32]]) -> None: ...
432
+ @_property
433
+ def month(self) -> winrt.system.UInt32: ...
434
+ @month.setter
435
+ def month(self, value: winrt.system.UInt32) -> None: ...
436
+ @_property
437
+ def interval(self) -> winrt.system.UInt32: ...
438
+ @interval.setter
439
+ def interval(self, value: winrt.system.UInt32) -> None: ...
440
+ @_property
441
+ def days_of_week(self) -> AppointmentDaysOfWeek: ...
442
+ @days_of_week.setter
443
+ def days_of_week(self, value: AppointmentDaysOfWeek) -> None: ...
444
+ @_property
445
+ def day(self) -> winrt.system.UInt32: ...
446
+ @day.setter
447
+ def day(self, value: winrt.system.UInt32) -> None: ...
448
+ @_property
449
+ def week_of_month(self) -> AppointmentWeekOfMonth: ...
450
+ @week_of_month.setter
451
+ def week_of_month(self, value: AppointmentWeekOfMonth) -> None: ...
452
+ @_property
453
+ def until(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
454
+ @until.setter
455
+ def until(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
456
+ @_property
457
+ def time_zone(self) -> str: ...
458
+ @time_zone.setter
459
+ def time_zone(self, value: str) -> None: ...
460
+ @_property
461
+ def recurrence_type(self) -> RecurrenceType: ...
462
+ @_property
463
+ def calendar_identifier(self) -> str: ...
464
+
465
+ @typing.final
466
+ class AppointmentStore(winrt.system.Object):
467
+ @staticmethod
468
+ def _from(obj: winrt.system.Object, /) -> AppointmentStore: ...
469
+ @typing.overload
470
+ def create_appointment_calendar_async(self, name: str, /) -> windows_foundation.IAsyncOperation[AppointmentCalendar]: ...
471
+ @typing.overload
472
+ def create_appointment_calendar_async(self, name: str, user_data_account_id: str, /) -> windows_foundation.IAsyncOperation[AppointmentCalendar]: ...
473
+ @typing.overload
474
+ def find_appointment_calendars_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[AppointmentCalendar]]: ...
475
+ @typing.overload
476
+ def find_appointment_calendars_async(self, options: FindAppointmentCalendarsOptions, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[AppointmentCalendar]]: ...
477
+ @typing.overload
478
+ def find_appointments_async(self, range_start: datetime.datetime, range_length: datetime.timedelta, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[Appointment]]: ...
479
+ @typing.overload
480
+ def find_appointments_async(self, range_start: datetime.datetime, range_length: datetime.timedelta, options: typing.Optional[FindAppointmentsOptions], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[Appointment]]: ...
481
+ @typing.overload
482
+ def find_conflict_async(self, appointment: typing.Optional[Appointment], /) -> windows_foundation.IAsyncOperation[AppointmentConflictResult]: ...
483
+ @typing.overload
484
+ def find_conflict_async(self, appointment: typing.Optional[Appointment], instance_start_time: datetime.datetime, /) -> windows_foundation.IAsyncOperation[AppointmentConflictResult]: ...
485
+ def find_local_ids_from_roaming_id_async(self, roaming_id: str, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[str]]: ...
486
+ def get_appointment_async(self, local_id: str, /) -> windows_foundation.IAsyncOperation[Appointment]: ...
487
+ def get_appointment_calendar_async(self, calendar_id: str, /) -> windows_foundation.IAsyncOperation[AppointmentCalendar]: ...
488
+ def get_appointment_instance_async(self, local_id: str, instance_start_time: datetime.datetime, /) -> windows_foundation.IAsyncOperation[Appointment]: ...
489
+ def get_change_tracker(self, identity: str, /) -> typing.Optional[AppointmentStoreChangeTracker]: ...
490
+ def move_appointment_async(self, appointment: typing.Optional[Appointment], destination_calendar: typing.Optional[AppointmentCalendar], /) -> windows_foundation.IAsyncAction: ...
491
+ def show_add_appointment_async(self, appointment: typing.Optional[Appointment], selection: windows_foundation.Rect, /) -> windows_foundation.IAsyncOperation[str]: ...
492
+ @typing.overload
493
+ def show_appointment_details_async(self, local_id: str, /) -> windows_foundation.IAsyncAction: ...
494
+ @typing.overload
495
+ def show_appointment_details_async(self, local_id: str, instance_start_date: datetime.datetime, /) -> windows_foundation.IAsyncAction: ...
496
+ def show_edit_new_appointment_async(self, appointment: typing.Optional[Appointment], /) -> windows_foundation.IAsyncOperation[str]: ...
497
+ @typing.overload
498
+ def show_remove_appointment_async(self, local_id: str, selection: windows_foundation.Rect, /) -> windows_foundation.IAsyncOperation[bool]: ...
499
+ @typing.overload
500
+ def show_remove_appointment_async(self, local_id: str, selection: windows_foundation.Rect, preferred_placement: windows_ui_popups.Placement, instance_start_date: datetime.datetime, /) -> windows_foundation.IAsyncOperation[bool]: ...
501
+ @typing.overload
502
+ def show_replace_appointment_async(self, local_id: str, appointment: typing.Optional[Appointment], selection: windows_foundation.Rect, /) -> windows_foundation.IAsyncOperation[str]: ...
503
+ @typing.overload
504
+ def show_replace_appointment_async(self, local_id: str, appointment: typing.Optional[Appointment], selection: windows_foundation.Rect, preferred_placement: windows_ui_popups.Placement, instance_start_date: datetime.datetime, /) -> windows_foundation.IAsyncOperation[str]: ...
505
+ def add_store_changed(self, p_handler: windows_foundation.TypedEventHandler[AppointmentStore, AppointmentStoreChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
506
+ def remove_store_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
507
+ @_property
508
+ def change_tracker(self) -> typing.Optional[AppointmentStoreChangeTracker]: ...
509
+
510
+ @typing.final
511
+ class AppointmentStoreChange(winrt.system.Object):
512
+ @staticmethod
513
+ def _from(obj: winrt.system.Object, /) -> AppointmentStoreChange: ...
514
+ @_property
515
+ def appointment(self) -> typing.Optional[Appointment]: ...
516
+ @_property
517
+ def change_type(self) -> AppointmentStoreChangeType: ...
518
+ @_property
519
+ def appointment_calendar(self) -> typing.Optional[AppointmentCalendar]: ...
520
+
521
+ @typing.final
522
+ class AppointmentStoreChangeReader(winrt.system.Object):
523
+ @staticmethod
524
+ def _from(obj: winrt.system.Object, /) -> AppointmentStoreChangeReader: ...
525
+ def accept_changes(self) -> None: ...
526
+ def accept_changes_through(self, last_change_to_accept: typing.Optional[AppointmentStoreChange], /) -> None: ...
527
+ def read_batch_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[AppointmentStoreChange]]: ...
528
+
529
+ @typing.final
530
+ class AppointmentStoreChangeTracker(winrt.system.Object):
531
+ @staticmethod
532
+ def _from(obj: winrt.system.Object, /) -> AppointmentStoreChangeTracker: ...
533
+ def enable(self) -> None: ...
534
+ def get_change_reader(self) -> typing.Optional[AppointmentStoreChangeReader]: ...
535
+ def reset(self) -> None: ...
536
+ @_property
537
+ def is_tracking(self) -> bool: ...
538
+
539
+ @typing.final
540
+ class AppointmentStoreChangedDeferral(winrt.system.Object):
541
+ @staticmethod
542
+ def _from(obj: winrt.system.Object, /) -> AppointmentStoreChangedDeferral: ...
543
+ def complete(self) -> None: ...
544
+
545
+ @typing.final
546
+ class AppointmentStoreChangedEventArgs(winrt.system.Object):
547
+ @staticmethod
548
+ def _from(obj: winrt.system.Object, /) -> AppointmentStoreChangedEventArgs: ...
549
+ def get_deferral(self) -> typing.Optional[AppointmentStoreChangedDeferral]: ...
550
+
551
+ @typing.final
552
+ class AppointmentStoreNotificationTriggerDetails(winrt.system.Object):
553
+ @staticmethod
554
+ def _from(obj: winrt.system.Object, /) -> AppointmentStoreNotificationTriggerDetails: ...
555
+
556
+ @typing.final
557
+ class FindAppointmentsOptions(winrt.system.Object):
558
+ @staticmethod
559
+ def _from(obj: winrt.system.Object, /) -> FindAppointmentsOptions: ...
560
+ def __new__(cls: typing.Type[FindAppointmentsOptions]) -> FindAppointmentsOptions: ...
561
+ @_property
562
+ def max_count(self) -> winrt.system.UInt32: ...
563
+ @max_count.setter
564
+ def max_count(self, value: winrt.system.UInt32) -> None: ...
565
+ @_property
566
+ def include_hidden(self) -> bool: ...
567
+ @include_hidden.setter
568
+ def include_hidden(self, value: bool) -> None: ...
569
+ @_property
570
+ def calendar_ids(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
571
+ @_property
572
+ def fetch_properties(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
573
+
574
+ @typing.final
575
+ class IAppointmentParticipant(winrt.system.Object):
576
+ @staticmethod
577
+ def _from(obj: winrt.system.Object, /) -> IAppointmentParticipant: ...
578
+ @_property
579
+ def address(self) -> str: ...
580
+ @address.setter
581
+ def address(self, value: str) -> None: ...
582
+ @_property
583
+ def display_name(self) -> str: ...
584
+ @display_name.setter
585
+ def display_name(self, value: str) -> None: ...
586
+
@@ -0,0 +1,171 @@
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_appointments
7
+
8
+ __all__ = [
9
+ "AppointmentBusyStatus",
10
+ "AppointmentCalendarOtherAppReadAccess",
11
+ "AppointmentCalendarOtherAppWriteAccess",
12
+ "AppointmentCalendarSyncStatus",
13
+ "AppointmentConflictType",
14
+ "AppointmentDaysOfWeek",
15
+ "AppointmentDetailsKind",
16
+ "AppointmentParticipantResponse",
17
+ "AppointmentParticipantRole",
18
+ "AppointmentRecurrenceUnit",
19
+ "AppointmentSensitivity",
20
+ "AppointmentStoreAccessType",
21
+ "AppointmentStoreChangeType",
22
+ "AppointmentSummaryCardView",
23
+ "AppointmentWeekOfMonth",
24
+ "FindAppointmentCalendarsOptions",
25
+ "RecurrenceType",
26
+ "Appointment",
27
+ "AppointmentCalendar",
28
+ "AppointmentCalendarSyncManager",
29
+ "AppointmentConflictResult",
30
+ "AppointmentException",
31
+ "AppointmentInvitee",
32
+ "AppointmentManager",
33
+ "AppointmentManagerForUser",
34
+ "AppointmentOrganizer",
35
+ "AppointmentProperties",
36
+ "AppointmentRecurrence",
37
+ "AppointmentStore",
38
+ "AppointmentStoreChange",
39
+ "AppointmentStoreChangeReader",
40
+ "AppointmentStoreChangeTracker",
41
+ "AppointmentStoreChangedDeferral",
42
+ "AppointmentStoreChangedEventArgs",
43
+ "AppointmentStoreNotificationTriggerDetails",
44
+ "FindAppointmentsOptions",
45
+ "IAppointmentParticipant",
46
+ ]
47
+
48
+ class AppointmentBusyStatus(enum.IntEnum):
49
+ BUSY = 0
50
+ TENTATIVE = 1
51
+ FREE = 2
52
+ OUT_OF_OFFICE = 3
53
+ WORKING_ELSEWHERE = 4
54
+
55
+ class AppointmentCalendarOtherAppReadAccess(enum.IntEnum):
56
+ SYSTEM_ONLY = 0
57
+ LIMITED = 1
58
+ FULL = 2
59
+ NONE = 3
60
+
61
+ class AppointmentCalendarOtherAppWriteAccess(enum.IntEnum):
62
+ NONE = 0
63
+ SYSTEM_ONLY = 1
64
+ LIMITED = 2
65
+
66
+ class AppointmentCalendarSyncStatus(enum.IntEnum):
67
+ IDLE = 0
68
+ SYNCING = 1
69
+ UP_TO_DATE = 2
70
+ AUTHENTICATION_ERROR = 3
71
+ POLICY_ERROR = 4
72
+ UNKNOWN_ERROR = 5
73
+ MANUAL_ACCOUNT_REMOVAL_REQUIRED = 6
74
+
75
+ class AppointmentConflictType(enum.IntEnum):
76
+ NONE = 0
77
+ ADJACENT = 1
78
+ OVERLAP = 2
79
+
80
+ class AppointmentDaysOfWeek(enum.IntFlag):
81
+ NONE = 0x0
82
+ SUNDAY = 0x1
83
+ MONDAY = 0x2
84
+ TUESDAY = 0x4
85
+ WEDNESDAY = 0x8
86
+ THURSDAY = 0x10
87
+ FRIDAY = 0x20
88
+ SATURDAY = 0x40
89
+
90
+ class AppointmentDetailsKind(enum.IntEnum):
91
+ PLAIN_TEXT = 0
92
+ HTML = 1
93
+
94
+ class AppointmentParticipantResponse(enum.IntEnum):
95
+ NONE = 0
96
+ TENTATIVE = 1
97
+ ACCEPTED = 2
98
+ DECLINED = 3
99
+ UNKNOWN = 4
100
+
101
+ class AppointmentParticipantRole(enum.IntEnum):
102
+ REQUIRED_ATTENDEE = 0
103
+ OPTIONAL_ATTENDEE = 1
104
+ RESOURCE = 2
105
+
106
+ class AppointmentRecurrenceUnit(enum.IntEnum):
107
+ DAILY = 0
108
+ WEEKLY = 1
109
+ MONTHLY = 2
110
+ MONTHLY_ON_DAY = 3
111
+ YEARLY = 4
112
+ YEARLY_ON_DAY = 5
113
+
114
+ class AppointmentSensitivity(enum.IntEnum):
115
+ PUBLIC = 0
116
+ PRIVATE = 1
117
+
118
+ class AppointmentStoreAccessType(enum.IntEnum):
119
+ APP_CALENDARS_READ_WRITE = 0
120
+ ALL_CALENDARS_READ_ONLY = 1
121
+ ALL_CALENDARS_READ_WRITE = 2
122
+
123
+ class AppointmentStoreChangeType(enum.IntEnum):
124
+ APPOINTMENT_CREATED = 0
125
+ APPOINTMENT_MODIFIED = 1
126
+ APPOINTMENT_DELETED = 2
127
+ CHANGE_TRACKING_LOST = 3
128
+ CALENDAR_CREATED = 4
129
+ CALENDAR_MODIFIED = 5
130
+ CALENDAR_DELETED = 6
131
+
132
+ class AppointmentSummaryCardView(enum.IntEnum):
133
+ SYSTEM = 0
134
+ APP = 1
135
+
136
+ class AppointmentWeekOfMonth(enum.IntEnum):
137
+ FIRST = 0
138
+ SECOND = 1
139
+ THIRD = 2
140
+ FOURTH = 3
141
+ LAST = 4
142
+
143
+ class FindAppointmentCalendarsOptions(enum.IntFlag):
144
+ NONE = 0x0
145
+ INCLUDE_HIDDEN = 0x1
146
+
147
+ class RecurrenceType(enum.IntEnum):
148
+ MASTER = 0
149
+ INSTANCE = 1
150
+ EXCEPTION_INSTANCE = 2
151
+
152
+ Appointment = _winrt_windows_applicationmodel_appointments.Appointment
153
+ AppointmentCalendar = _winrt_windows_applicationmodel_appointments.AppointmentCalendar
154
+ AppointmentCalendarSyncManager = _winrt_windows_applicationmodel_appointments.AppointmentCalendarSyncManager
155
+ AppointmentConflictResult = _winrt_windows_applicationmodel_appointments.AppointmentConflictResult
156
+ AppointmentException = _winrt_windows_applicationmodel_appointments.AppointmentException
157
+ AppointmentInvitee = _winrt_windows_applicationmodel_appointments.AppointmentInvitee
158
+ AppointmentManager = _winrt_windows_applicationmodel_appointments.AppointmentManager
159
+ AppointmentManagerForUser = _winrt_windows_applicationmodel_appointments.AppointmentManagerForUser
160
+ AppointmentOrganizer = _winrt_windows_applicationmodel_appointments.AppointmentOrganizer
161
+ AppointmentProperties = _winrt_windows_applicationmodel_appointments.AppointmentProperties
162
+ AppointmentRecurrence = _winrt_windows_applicationmodel_appointments.AppointmentRecurrence
163
+ AppointmentStore = _winrt_windows_applicationmodel_appointments.AppointmentStore
164
+ AppointmentStoreChange = _winrt_windows_applicationmodel_appointments.AppointmentStoreChange
165
+ AppointmentStoreChangeReader = _winrt_windows_applicationmodel_appointments.AppointmentStoreChangeReader
166
+ AppointmentStoreChangeTracker = _winrt_windows_applicationmodel_appointments.AppointmentStoreChangeTracker
167
+ AppointmentStoreChangedDeferral = _winrt_windows_applicationmodel_appointments.AppointmentStoreChangedDeferral
168
+ AppointmentStoreChangedEventArgs = _winrt_windows_applicationmodel_appointments.AppointmentStoreChangedEventArgs
169
+ AppointmentStoreNotificationTriggerDetails = _winrt_windows_applicationmodel_appointments.AppointmentStoreNotificationTriggerDetails
170
+ FindAppointmentsOptions = _winrt_windows_applicationmodel_appointments.FindAppointmentsOptions
171
+ IAppointmentParticipant = _winrt_windows_applicationmodel_appointments.IAppointmentParticipant
File without changes
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.ApplicationModel.Appointments
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.Foundation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.UI[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.UI.Popups[all] ==2.2.0 ; extra == 'all'
22
+
23
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
24
+
25
+ # winrt-Windows.ApplicationModel.Appointments
26
+
27
+ Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Appointments` namespace.
28
+
29
+ This package provides the `winrt.windows.applicationmodel.appointments` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_applicationmodel_appointments.cp313-win_amd64.pyd,sha256=MxkJ9rIgdJ1Aur0qdTPDfrp0nADWFEJIarrqeccGQUc,495104
2
+ winrt/_winrt_windows_applicationmodel_appointments.pyi,sha256=skHDKhIaGEwqPaJtkKHzy68ZxQcGucRYXWzkf7iiiv8,31547
3
+ winrt/windows/applicationmodel/appointments/__init__.py,sha256=ZvwmVzBJ1M9SAdznNGI4wSECCzNn-gRI_wtZKWkT1TM,5517
4
+ winrt/windows/applicationmodel/appointments/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.ApplicationModel.Appointments-2.2.0.dist-info/METADATA,sha256=45vTVTt0cL_Hz0ab7Ya11wYD3ZbQzTPe9RjHYtjyFpg,1382
6
+ winrt_Windows.ApplicationModel.Appointments-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
7
+ winrt_Windows.ApplicationModel.Appointments-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.ApplicationModel.Appointments-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
+