winrt-Windows.AI.Actions 3.2.0__cp313-cp313-win_arm64.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.
- winrt/_winrt_windows_ai_actions.cp313-win_arm64.pyd +0 -0
- winrt/_winrt_windows_ai_actions.pyi +344 -0
- winrt/windows/ai/actions/__init__.py +95 -0
- winrt/windows/ai/actions/py.typed +0 -0
- winrt_windows_ai_actions-3.2.0.dist-info/METADATA +28 -0
- winrt_windows_ai_actions-3.2.0.dist-info/RECORD +8 -0
- winrt_windows_ai_actions-3.2.0.dist-info/WHEEL +5 -0
- winrt_windows_ai_actions-3.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.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.ai.actions.hosting as windows_ai_actions_hosting
|
|
13
|
+
import winrt.windows.applicationmodel.contacts as windows_applicationmodel_contacts
|
|
14
|
+
import winrt.windows.foundation as windows_foundation
|
|
15
|
+
import winrt.windows.ui as windows_ui
|
|
16
|
+
|
|
17
|
+
from winrt.windows.ai.actions import ActionEntityKind, ActionEntityTextFormat, ActionFeedbackKind, ActionInvocationHelpKind, ActionInvocationResult, RemoteFileKind
|
|
18
|
+
|
|
19
|
+
Self = typing.TypeVar('Self')
|
|
20
|
+
|
|
21
|
+
class ActionEntity_Static(winrt._winrt.IInspectable_Static):
|
|
22
|
+
pass
|
|
23
|
+
|
|
24
|
+
class ActionEntity(winrt.system.Object, windows_foundation.IClosable, metaclass=ActionEntity_Static):
|
|
25
|
+
def __enter__(self: Self) -> Self: ...
|
|
26
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
27
|
+
# System.Void Windows.AI.Actions.ActionEntity::Close()
|
|
28
|
+
def close(self) -> None: ...
|
|
29
|
+
# Windows.AI.Actions.ActionEntityDisplayInfo Windows.AI.Actions.ActionEntity::get_DisplayInfo()
|
|
30
|
+
@_property
|
|
31
|
+
@typing.final
|
|
32
|
+
def display_info(self) -> ActionEntityDisplayInfo: ...
|
|
33
|
+
# Windows.AI.Actions.ActionEntityKind Windows.AI.Actions.ActionEntity::get_Kind()
|
|
34
|
+
@_property
|
|
35
|
+
@typing.final
|
|
36
|
+
def kind(self) -> ActionEntityKind: ...
|
|
37
|
+
# System.String Windows.AI.Actions.ActionEntity::get_Id()
|
|
38
|
+
@_property
|
|
39
|
+
@typing.final
|
|
40
|
+
def id(self) -> str: ...
|
|
41
|
+
|
|
42
|
+
@typing.final
|
|
43
|
+
class ActionEntityDisplayInfo(winrt.system.Object, windows_foundation.IClosable):
|
|
44
|
+
def __enter__(self: Self) -> Self: ...
|
|
45
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
46
|
+
# System.Void Windows.AI.Actions.ActionEntityDisplayInfo::Close()
|
|
47
|
+
def close(self) -> None: ...
|
|
48
|
+
# System.String Windows.AI.Actions.ActionEntityDisplayInfo::get_Title()
|
|
49
|
+
@_property
|
|
50
|
+
def title(self) -> str: ...
|
|
51
|
+
|
|
52
|
+
class ActionEntityFactory_Static(winrt._winrt.IInspectable_Static):
|
|
53
|
+
pass
|
|
54
|
+
|
|
55
|
+
class ActionEntityFactory(winrt.system.Object, windows_foundation.IClosable, metaclass=ActionEntityFactory_Static):
|
|
56
|
+
def __enter__(self: Self) -> Self: ...
|
|
57
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
58
|
+
# System.Void Windows.AI.Actions.ActionEntityFactory::Close()
|
|
59
|
+
def close(self) -> None: ...
|
|
60
|
+
@typing.final
|
|
61
|
+
# Windows.AI.Actions.ContactActionEntity Windows.AI.Actions.ActionEntityFactory::CreateContactEntity(Windows.ApplicationModel.Contacts.Contact)
|
|
62
|
+
def create_contact_entity(self, contact: windows_applicationmodel_contacts.Contact, /) -> ContactActionEntity: ...
|
|
63
|
+
@typing.final
|
|
64
|
+
# Windows.AI.Actions.DocumentActionEntity Windows.AI.Actions.ActionEntityFactory::CreateDocumentEntity(System.String)
|
|
65
|
+
def create_document_entity(self, path: str, /) -> DocumentActionEntity: ...
|
|
66
|
+
@typing.final
|
|
67
|
+
# Windows.AI.Actions.FileActionEntity Windows.AI.Actions.ActionEntityFactory::CreateFileEntity(System.String)
|
|
68
|
+
def create_file_entity(self, path: str, /) -> FileActionEntity: ...
|
|
69
|
+
@typing.final
|
|
70
|
+
# Windows.AI.Actions.PhotoActionEntity Windows.AI.Actions.ActionEntityFactory::CreatePhotoEntity(System.String)
|
|
71
|
+
def create_photo_entity(self, path: str, /) -> PhotoActionEntity: ...
|
|
72
|
+
@typing.final
|
|
73
|
+
# Windows.AI.Actions.RemoteFileActionEntity Windows.AI.Actions.ActionEntityFactory::CreateRemoteFileEntity(System.String,Windows.AI.Actions.RemoteFileKind,Windows.Foundation.Uri,System.String,System.String,System.String,System.String,System.String)
|
|
74
|
+
def create_remote_file_entity(self, source_id: str, file_kind: RemoteFileKind, source_uri: windows_foundation.Uri, file_id: str, content_type: str, drive_id: str, account_id: str, extension: str, /) -> RemoteFileActionEntity: ...
|
|
75
|
+
@typing.final
|
|
76
|
+
# Windows.AI.Actions.StreamingTextActionEntityWriter Windows.AI.Actions.ActionEntityFactory::CreateStreamingTextActionEntityWriter(Windows.AI.Actions.ActionEntityTextFormat)
|
|
77
|
+
def create_streaming_text_action_entity_writer(self, text_format: ActionEntityTextFormat, /) -> StreamingTextActionEntityWriter: ...
|
|
78
|
+
@typing.final
|
|
79
|
+
# Windows.AI.Actions.TableActionEntity Windows.AI.Actions.ActionEntityFactory::CreateTableEntity(System.String[],System.UInt32)
|
|
80
|
+
def create_table_entity(self, data: typing.Union[winrt.system.Array[str], winrt.system.ReadableBuffer], column_count: winrt.system.UInt32, /) -> TableActionEntity: ...
|
|
81
|
+
@typing.final
|
|
82
|
+
# Windows.AI.Actions.TextActionEntity Windows.AI.Actions.ActionEntityFactory::CreateTextEntity(System.String)
|
|
83
|
+
def create_text_entity(self, text: str, /) -> TextActionEntity: ...
|
|
84
|
+
@typing.final
|
|
85
|
+
# Windows.AI.Actions.TextActionEntity Windows.AI.Actions.ActionEntityFactory::CreateTextEntity(System.String,Windows.AI.Actions.ActionEntityTextFormat)
|
|
86
|
+
def create_text_entity_with_text_format(self, text: str, text_format: ActionEntityTextFormat, /) -> TextActionEntity: ...
|
|
87
|
+
|
|
88
|
+
@typing.final
|
|
89
|
+
class ActionFeedback(winrt.system.Object, windows_foundation.IClosable):
|
|
90
|
+
def __enter__(self: Self) -> Self: ...
|
|
91
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
92
|
+
# System.Void Windows.AI.Actions.ActionFeedback::Close()
|
|
93
|
+
def close(self) -> None: ...
|
|
94
|
+
# Windows.AI.Actions.ActionFeedbackKind Windows.AI.Actions.ActionFeedback::get_FeedbackKind()
|
|
95
|
+
@_property
|
|
96
|
+
def feedback_kind(self) -> ActionFeedbackKind: ...
|
|
97
|
+
|
|
98
|
+
@typing.final
|
|
99
|
+
class ActionInvocationContext(winrt.system.Object, windows_foundation.IClosable):
|
|
100
|
+
def __enter__(self: Self) -> Self: ...
|
|
101
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
102
|
+
# System.Void Windows.AI.Actions.ActionInvocationContext::Close()
|
|
103
|
+
def close(self) -> None: ...
|
|
104
|
+
# Windows.AI.Actions.NamedActionEntity[] Windows.AI.Actions.ActionInvocationContext::GetInputEntities()
|
|
105
|
+
def get_input_entities(self) -> winrt.system.Array[NamedActionEntity]: ...
|
|
106
|
+
# Windows.AI.Actions.NamedActionEntity[] Windows.AI.Actions.ActionInvocationContext::GetOutputEntities()
|
|
107
|
+
def get_output_entities(self) -> winrt.system.Array[NamedActionEntity]: ...
|
|
108
|
+
# System.Void Windows.AI.Actions.ActionInvocationContext::SetInputEntity(System.String,Windows.AI.Actions.ActionEntity)
|
|
109
|
+
def set_input_entity(self, input_name: str, input_value: ActionEntity, /) -> None: ...
|
|
110
|
+
# System.Void Windows.AI.Actions.ActionInvocationContext::SetOutputEntity(System.String,Windows.AI.Actions.ActionEntity)
|
|
111
|
+
def set_output_entity(self, output_name: str, output_value: ActionEntity, /) -> None: ...
|
|
112
|
+
# Windows.AI.Actions.ActionInvocationResult Windows.AI.Actions.ActionInvocationContext::get_Result()
|
|
113
|
+
@_property
|
|
114
|
+
def result(self) -> ActionInvocationResult: ...
|
|
115
|
+
# System.Void Windows.AI.Actions.ActionInvocationContext::put_Result(Windows.AI.Actions.ActionInvocationResult)
|
|
116
|
+
@result.setter
|
|
117
|
+
def result(self, value: ActionInvocationResult) -> None: ...
|
|
118
|
+
# Windows.Foundation.HResult Windows.AI.Actions.ActionInvocationContext::get_ExtendedError()
|
|
119
|
+
@_property
|
|
120
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
121
|
+
# System.Void Windows.AI.Actions.ActionInvocationContext::put_ExtendedError(Windows.Foundation.HResult)
|
|
122
|
+
@extended_error.setter
|
|
123
|
+
def extended_error(self, value: typing.Union[windows_foundation.HResult, typing.Tuple[winrt.system.Int32]]) -> None: ...
|
|
124
|
+
# Windows.AI.Actions.ActionEntityFactory Windows.AI.Actions.ActionInvocationContext::get_EntityFactory()
|
|
125
|
+
@_property
|
|
126
|
+
def entity_factory(self) -> ActionEntityFactory: ...
|
|
127
|
+
# System.String Windows.AI.Actions.ActionInvocationContext::get_ActionId()
|
|
128
|
+
@_property
|
|
129
|
+
def action_id(self) -> str: ...
|
|
130
|
+
# Windows.AI.Actions.ActionInvocationHelpDetails Windows.AI.Actions.ActionInvocationContext::get_HelpDetails()
|
|
131
|
+
@_property
|
|
132
|
+
def help_details(self) -> ActionInvocationHelpDetails: ...
|
|
133
|
+
# System.String Windows.AI.Actions.ActionInvocationContext::get_InvokerAppUserModelId()
|
|
134
|
+
@_property
|
|
135
|
+
def invoker_app_user_model_id(self) -> str: ...
|
|
136
|
+
# Windows.UI.WindowId Windows.AI.Actions.ActionInvocationContext::get_InvokerWindowId()
|
|
137
|
+
@_property
|
|
138
|
+
def invoker_window_id(self) -> windows_ui.WindowId: ...
|
|
139
|
+
|
|
140
|
+
@typing.final
|
|
141
|
+
class ActionInvocationHelpDetails(winrt.system.Object, windows_foundation.IClosable):
|
|
142
|
+
def __enter__(self: Self) -> Self: ...
|
|
143
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
144
|
+
# System.Void Windows.AI.Actions.ActionInvocationHelpDetails::Close()
|
|
145
|
+
def close(self) -> None: ...
|
|
146
|
+
# System.String Windows.AI.Actions.ActionInvocationHelpDetails::get_Title()
|
|
147
|
+
@_property
|
|
148
|
+
def title(self) -> str: ...
|
|
149
|
+
# System.Void Windows.AI.Actions.ActionInvocationHelpDetails::put_Title(System.String)
|
|
150
|
+
@title.setter
|
|
151
|
+
def title(self, value: str) -> None: ...
|
|
152
|
+
# Windows.AI.Actions.ActionInvocationHelpKind Windows.AI.Actions.ActionInvocationHelpDetails::get_Kind()
|
|
153
|
+
@_property
|
|
154
|
+
def kind(self) -> ActionInvocationHelpKind: ...
|
|
155
|
+
# System.Void Windows.AI.Actions.ActionInvocationHelpDetails::put_Kind(Windows.AI.Actions.ActionInvocationHelpKind)
|
|
156
|
+
@kind.setter
|
|
157
|
+
def kind(self, value: ActionInvocationHelpKind) -> None: ...
|
|
158
|
+
# System.String Windows.AI.Actions.ActionInvocationHelpDetails::get_HelpUriDescription()
|
|
159
|
+
@_property
|
|
160
|
+
def help_uri_description(self) -> str: ...
|
|
161
|
+
# System.Void Windows.AI.Actions.ActionInvocationHelpDetails::put_HelpUriDescription(System.String)
|
|
162
|
+
@help_uri_description.setter
|
|
163
|
+
def help_uri_description(self, value: str) -> None: ...
|
|
164
|
+
# Windows.Foundation.Uri Windows.AI.Actions.ActionInvocationHelpDetails::get_HelpUri()
|
|
165
|
+
@_property
|
|
166
|
+
def help_uri(self) -> windows_foundation.Uri: ...
|
|
167
|
+
# System.Void Windows.AI.Actions.ActionInvocationHelpDetails::put_HelpUri(Windows.Foundation.Uri)
|
|
168
|
+
@help_uri.setter
|
|
169
|
+
def help_uri(self, value: windows_foundation.Uri) -> None: ...
|
|
170
|
+
# System.String Windows.AI.Actions.ActionInvocationHelpDetails::get_Description()
|
|
171
|
+
@_property
|
|
172
|
+
def description(self) -> str: ...
|
|
173
|
+
# System.Void Windows.AI.Actions.ActionInvocationHelpDetails::put_Description(System.String)
|
|
174
|
+
@description.setter
|
|
175
|
+
def description(self, value: str) -> None: ...
|
|
176
|
+
|
|
177
|
+
class ActionRuntime_Static(winrt._winrt.IInspectable_Static):
|
|
178
|
+
pass
|
|
179
|
+
|
|
180
|
+
class ActionRuntime(winrt.system.Object, windows_foundation.IClosable, metaclass=ActionRuntime_Static):
|
|
181
|
+
def __enter__(self: Self) -> Self: ...
|
|
182
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
183
|
+
# System.Void Windows.AI.Actions.ActionRuntime::Close()
|
|
184
|
+
def close(self) -> None: ...
|
|
185
|
+
@typing.final
|
|
186
|
+
# Windows.AI.Actions.ActionFeedback Windows.AI.Actions.ActionRuntime::CreateActionFeedback(Windows.AI.Actions.ActionFeedbackKind)
|
|
187
|
+
def create_action_feedback(self, feedback_kind: ActionFeedbackKind, /) -> ActionFeedback: ...
|
|
188
|
+
@typing.final
|
|
189
|
+
# Windows.AI.Actions.ActionInvocationContext Windows.AI.Actions.ActionRuntime::CreateInvocationContext(System.String)
|
|
190
|
+
def create_invocation_context(self, action_id: str, /) -> ActionInvocationContext: ...
|
|
191
|
+
@typing.final
|
|
192
|
+
# Windows.AI.Actions.ActionInvocationContext Windows.AI.Actions.ActionRuntime::CreateInvocationContextWithWindowId(System.String,Windows.UI.WindowId)
|
|
193
|
+
def create_invocation_context_with_window_id(self, action_id: str, invoker_window_id: typing.Union[windows_ui.WindowId, typing.Tuple[winrt.system.UInt64]], /) -> ActionInvocationContext: ...
|
|
194
|
+
@typing.final
|
|
195
|
+
# System.Boolean Windows.AI.Actions.ActionRuntime::GetActionAvailability(System.String)
|
|
196
|
+
def get_action_availability(self, action_id: str, /) -> bool: ...
|
|
197
|
+
@typing.final
|
|
198
|
+
# Windows.AI.Actions.ActionEntity Windows.AI.Actions.ActionRuntime::GetActionEntityById(System.String)
|
|
199
|
+
def get_action_entity_by_id(self, entity_id: str, /) -> ActionEntity: ...
|
|
200
|
+
@typing.final
|
|
201
|
+
# System.Void Windows.AI.Actions.ActionRuntime::SetActionAvailability(System.String,System.Boolean)
|
|
202
|
+
def set_action_availability(self, action_id: str, is_available: bool, /) -> None: ...
|
|
203
|
+
# Windows.AI.Actions.Hosting.ActionCatalog Windows.AI.Actions.ActionRuntime::get_ActionCatalog()
|
|
204
|
+
@_property
|
|
205
|
+
@typing.final
|
|
206
|
+
def action_catalog(self) -> windows_ai_actions_hosting.ActionCatalog: ...
|
|
207
|
+
# Windows.AI.Actions.ActionEntityFactory Windows.AI.Actions.ActionRuntime::get_EntityFactory()
|
|
208
|
+
@_property
|
|
209
|
+
@typing.final
|
|
210
|
+
def entity_factory(self) -> ActionEntityFactory: ...
|
|
211
|
+
# System.UInt32 Windows.AI.Actions.ActionRuntime::get_LatestSupportedSchemaVersion()
|
|
212
|
+
@_property
|
|
213
|
+
@typing.final
|
|
214
|
+
def latest_supported_schema_version(self) -> winrt.system.UInt32: ...
|
|
215
|
+
|
|
216
|
+
@typing.final
|
|
217
|
+
class ContactActionEntity(ActionEntity):
|
|
218
|
+
# Windows.ApplicationModel.Contacts.Contact Windows.AI.Actions.ContactActionEntity::get_Contact()
|
|
219
|
+
@_property
|
|
220
|
+
def contact(self) -> windows_applicationmodel_contacts.Contact: ...
|
|
221
|
+
|
|
222
|
+
@typing.final
|
|
223
|
+
class DocumentActionEntity(ActionEntity):
|
|
224
|
+
# System.String Windows.AI.Actions.DocumentActionEntity::get_FullPath()
|
|
225
|
+
@_property
|
|
226
|
+
def full_path(self) -> str: ...
|
|
227
|
+
|
|
228
|
+
@typing.final
|
|
229
|
+
class FileActionEntity(ActionEntity):
|
|
230
|
+
# System.String Windows.AI.Actions.FileActionEntity::get_FullPath()
|
|
231
|
+
@_property
|
|
232
|
+
def full_path(self) -> str: ...
|
|
233
|
+
|
|
234
|
+
@typing.final
|
|
235
|
+
class NamedActionEntity(winrt.system.Object, windows_foundation.IClosable):
|
|
236
|
+
def __enter__(self: Self) -> Self: ...
|
|
237
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
238
|
+
# System.Void Windows.AI.Actions.NamedActionEntity::Close()
|
|
239
|
+
def close(self) -> None: ...
|
|
240
|
+
# System.String Windows.AI.Actions.NamedActionEntity::get_Name()
|
|
241
|
+
@_property
|
|
242
|
+
def name(self) -> str: ...
|
|
243
|
+
# System.Void Windows.AI.Actions.NamedActionEntity::put_Name(System.String)
|
|
244
|
+
@name.setter
|
|
245
|
+
def name(self, value: str) -> None: ...
|
|
246
|
+
# Windows.AI.Actions.ActionEntity Windows.AI.Actions.NamedActionEntity::get_Entity()
|
|
247
|
+
@_property
|
|
248
|
+
def entity(self) -> ActionEntity: ...
|
|
249
|
+
# System.Void Windows.AI.Actions.NamedActionEntity::put_Entity(Windows.AI.Actions.ActionEntity)
|
|
250
|
+
@entity.setter
|
|
251
|
+
def entity(self, value: ActionEntity) -> None: ...
|
|
252
|
+
|
|
253
|
+
@typing.final
|
|
254
|
+
class PhotoActionEntity(ActionEntity):
|
|
255
|
+
# System.String Windows.AI.Actions.PhotoActionEntity::get_FullPath()
|
|
256
|
+
@_property
|
|
257
|
+
def full_path(self) -> str: ...
|
|
258
|
+
|
|
259
|
+
@typing.final
|
|
260
|
+
class RemoteFileActionEntity(ActionEntity):
|
|
261
|
+
# System.String Windows.AI.Actions.RemoteFileActionEntity::get_AccountId()
|
|
262
|
+
@_property
|
|
263
|
+
def account_id(self) -> str: ...
|
|
264
|
+
# System.String Windows.AI.Actions.RemoteFileActionEntity::get_ContentType()
|
|
265
|
+
@_property
|
|
266
|
+
def content_type(self) -> str: ...
|
|
267
|
+
# System.String Windows.AI.Actions.RemoteFileActionEntity::get_DriveId()
|
|
268
|
+
@_property
|
|
269
|
+
def drive_id(self) -> str: ...
|
|
270
|
+
# System.String Windows.AI.Actions.RemoteFileActionEntity::get_Extension()
|
|
271
|
+
@_property
|
|
272
|
+
def extension(self) -> str: ...
|
|
273
|
+
# System.String Windows.AI.Actions.RemoteFileActionEntity::get_FileId()
|
|
274
|
+
@_property
|
|
275
|
+
def file_id(self) -> str: ...
|
|
276
|
+
# Windows.AI.Actions.RemoteFileKind Windows.AI.Actions.RemoteFileActionEntity::get_FileKind()
|
|
277
|
+
@_property
|
|
278
|
+
def file_kind(self) -> RemoteFileKind: ...
|
|
279
|
+
# System.String Windows.AI.Actions.RemoteFileActionEntity::get_SourceId()
|
|
280
|
+
@_property
|
|
281
|
+
def source_id(self) -> str: ...
|
|
282
|
+
# Windows.Foundation.Uri Windows.AI.Actions.RemoteFileActionEntity::get_SourceUri()
|
|
283
|
+
@_property
|
|
284
|
+
def source_uri(self) -> windows_foundation.Uri: ...
|
|
285
|
+
|
|
286
|
+
@typing.final
|
|
287
|
+
class StreamingTextActionEntity(ActionEntity):
|
|
288
|
+
# System.String Windows.AI.Actions.StreamingTextActionEntity::GetText()
|
|
289
|
+
def get_text(self) -> str: ...
|
|
290
|
+
# Windows.Foundation.EventRegistrationToken Windows.AI.Actions.StreamingTextActionEntity::add_TextChanged(Windows.Foundation.TypedEventHandler`2<Windows.AI.Actions.StreamingTextActionEntity,Windows.AI.Actions.StreamingTextActionEntityTextChangedArgs>)
|
|
291
|
+
def add_text_changed(self, handler: windows_foundation.TypedEventHandler[StreamingTextActionEntity, StreamingTextActionEntityTextChangedArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
292
|
+
# System.Void Windows.AI.Actions.StreamingTextActionEntity::remove_TextChanged(Windows.Foundation.EventRegistrationToken)
|
|
293
|
+
def remove_text_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
294
|
+
# System.Boolean Windows.AI.Actions.StreamingTextActionEntity::get_IsComplete()
|
|
295
|
+
@_property
|
|
296
|
+
def is_complete(self) -> bool: ...
|
|
297
|
+
# Windows.AI.Actions.ActionEntityTextFormat Windows.AI.Actions.StreamingTextActionEntity::get_TextFormat()
|
|
298
|
+
@_property
|
|
299
|
+
def text_format(self) -> ActionEntityTextFormat: ...
|
|
300
|
+
|
|
301
|
+
@typing.final
|
|
302
|
+
class StreamingTextActionEntityTextChangedArgs(winrt.system.Object):
|
|
303
|
+
# System.Boolean Windows.AI.Actions.StreamingTextActionEntityTextChangedArgs::get_IsComplete()
|
|
304
|
+
@_property
|
|
305
|
+
def is_complete(self) -> bool: ...
|
|
306
|
+
# System.String Windows.AI.Actions.StreamingTextActionEntityTextChangedArgs::get_Text()
|
|
307
|
+
@_property
|
|
308
|
+
def text(self) -> str: ...
|
|
309
|
+
|
|
310
|
+
@typing.final
|
|
311
|
+
class StreamingTextActionEntityWriter(winrt.system.Object, windows_foundation.IClosable):
|
|
312
|
+
def __enter__(self: Self) -> Self: ...
|
|
313
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
314
|
+
# System.Void Windows.AI.Actions.StreamingTextActionEntityWriter::Close()
|
|
315
|
+
def close(self) -> None: ...
|
|
316
|
+
# System.Void Windows.AI.Actions.StreamingTextActionEntityWriter::SetText(System.String)
|
|
317
|
+
def set_text(self, text: str, /) -> None: ...
|
|
318
|
+
# Windows.AI.Actions.StreamingTextActionEntity Windows.AI.Actions.StreamingTextActionEntityWriter::get_ReaderEntity()
|
|
319
|
+
@_property
|
|
320
|
+
def reader_entity(self) -> StreamingTextActionEntity: ...
|
|
321
|
+
# Windows.AI.Actions.ActionEntityTextFormat Windows.AI.Actions.StreamingTextActionEntityWriter::get_TextFormat()
|
|
322
|
+
@_property
|
|
323
|
+
def text_format(self) -> ActionEntityTextFormat: ...
|
|
324
|
+
|
|
325
|
+
@typing.final
|
|
326
|
+
class TableActionEntity(ActionEntity):
|
|
327
|
+
# System.String[] Windows.AI.Actions.TableActionEntity::GetTextContent()
|
|
328
|
+
def get_text_content(self) -> winrt.system.Array[str]: ...
|
|
329
|
+
# System.UInt32 Windows.AI.Actions.TableActionEntity::get_ColumnCount()
|
|
330
|
+
@_property
|
|
331
|
+
def column_count(self) -> winrt.system.UInt32: ...
|
|
332
|
+
# System.UInt32 Windows.AI.Actions.TableActionEntity::get_RowCount()
|
|
333
|
+
@_property
|
|
334
|
+
def row_count(self) -> winrt.system.UInt32: ...
|
|
335
|
+
|
|
336
|
+
@typing.final
|
|
337
|
+
class TextActionEntity(ActionEntity):
|
|
338
|
+
# System.String Windows.AI.Actions.TextActionEntity::get_Text()
|
|
339
|
+
@_property
|
|
340
|
+
def text(self) -> str: ...
|
|
341
|
+
# Windows.AI.Actions.ActionEntityTextFormat Windows.AI.Actions.TextActionEntity::get_TextFormat()
|
|
342
|
+
@_property
|
|
343
|
+
def text_format(self) -> ActionEntityTextFormat: ...
|
|
344
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt._winrt_windows_ai_actions import (
|
|
7
|
+
ActionEntity,
|
|
8
|
+
ActionEntityDisplayInfo,
|
|
9
|
+
ActionEntityFactory,
|
|
10
|
+
ActionFeedback,
|
|
11
|
+
ActionInvocationContext,
|
|
12
|
+
ActionInvocationHelpDetails,
|
|
13
|
+
ActionRuntime,
|
|
14
|
+
ContactActionEntity,
|
|
15
|
+
DocumentActionEntity,
|
|
16
|
+
FileActionEntity,
|
|
17
|
+
NamedActionEntity,
|
|
18
|
+
PhotoActionEntity,
|
|
19
|
+
RemoteFileActionEntity,
|
|
20
|
+
StreamingTextActionEntity,
|
|
21
|
+
StreamingTextActionEntityTextChangedArgs,
|
|
22
|
+
StreamingTextActionEntityWriter,
|
|
23
|
+
TableActionEntity,
|
|
24
|
+
TextActionEntity,
|
|
25
|
+
)
|
|
26
|
+
from typing import TYPE_CHECKING
|
|
27
|
+
if TYPE_CHECKING:
|
|
28
|
+
from winrt._winrt_windows_ai_actions import (
|
|
29
|
+
ActionEntity_Static,
|
|
30
|
+
ActionEntityFactory_Static,
|
|
31
|
+
ActionRuntime_Static,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
__all__ = [
|
|
35
|
+
"ActionEntityKind",
|
|
36
|
+
"ActionEntityTextFormat",
|
|
37
|
+
"ActionFeedbackKind",
|
|
38
|
+
"ActionInvocationHelpKind",
|
|
39
|
+
"ActionInvocationResult",
|
|
40
|
+
"RemoteFileKind",
|
|
41
|
+
"ActionEntity",
|
|
42
|
+
"ActionEntityDisplayInfo",
|
|
43
|
+
"ActionEntityFactory",
|
|
44
|
+
"ActionFeedback",
|
|
45
|
+
"ActionInvocationContext",
|
|
46
|
+
"ActionInvocationHelpDetails",
|
|
47
|
+
"ActionRuntime",
|
|
48
|
+
"ContactActionEntity",
|
|
49
|
+
"DocumentActionEntity",
|
|
50
|
+
"FileActionEntity",
|
|
51
|
+
"NamedActionEntity",
|
|
52
|
+
"PhotoActionEntity",
|
|
53
|
+
"RemoteFileActionEntity",
|
|
54
|
+
"StreamingTextActionEntity",
|
|
55
|
+
"StreamingTextActionEntityTextChangedArgs",
|
|
56
|
+
"StreamingTextActionEntityWriter",
|
|
57
|
+
"TableActionEntity",
|
|
58
|
+
"TextActionEntity",
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
class ActionEntityKind(enum.IntEnum):
|
|
62
|
+
NONE = 0
|
|
63
|
+
DOCUMENT = 1
|
|
64
|
+
FILE = 2
|
|
65
|
+
PHOTO = 3
|
|
66
|
+
TEXT = 4
|
|
67
|
+
STREAMING_TEXT = 5
|
|
68
|
+
REMOTE_FILE = 6
|
|
69
|
+
TABLE = 7
|
|
70
|
+
CONTACT = 8
|
|
71
|
+
|
|
72
|
+
class ActionEntityTextFormat(enum.IntEnum):
|
|
73
|
+
PLAIN = 0
|
|
74
|
+
MARKDOWN = 1
|
|
75
|
+
|
|
76
|
+
class ActionFeedbackKind(enum.IntEnum):
|
|
77
|
+
POSITIVE = 0
|
|
78
|
+
NEGATIVE = 1
|
|
79
|
+
|
|
80
|
+
class ActionInvocationHelpKind(enum.IntEnum):
|
|
81
|
+
NONE = 0
|
|
82
|
+
ERROR = 1
|
|
83
|
+
WARNING = 2
|
|
84
|
+
|
|
85
|
+
class ActionInvocationResult(enum.IntEnum):
|
|
86
|
+
SUCCESS = 0
|
|
87
|
+
USER_CANCELED = 1
|
|
88
|
+
UNSUPPORTED = 2
|
|
89
|
+
UNAVAILABLE = 3
|
|
90
|
+
|
|
91
|
+
class RemoteFileKind(enum.IntEnum):
|
|
92
|
+
DOCUMENT = 0
|
|
93
|
+
PHOTO = 1
|
|
94
|
+
FILE = 2
|
|
95
|
+
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.AI.Actions
|
|
3
|
+
Version: 3.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: 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.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==3.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.AI.Actions.Hosting[all]==3.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all]==3.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.2.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.UI[all]==3.2.0; extra == "all"
|
|
21
|
+
|
|
22
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
|
+
|
|
24
|
+
# winrt-Windows.AI.Actions
|
|
25
|
+
|
|
26
|
+
Windows Runtime (WinRT) APIs for for the `Windows.AI.Actions` namespace.
|
|
27
|
+
|
|
28
|
+
This package provides the `winrt.windows.ai.actions` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_ai_actions.cp313-win_arm64.pyd,sha256=BjvCfZ2flloKF-TdoaR9W8k7fCJs7mMcAPeM1Ai5WUc,202240
|
|
2
|
+
winrt/_winrt_windows_ai_actions.pyi,sha256=DzjtXRqFqm0um99SQ-Jpn8KbWOjmroyexlbVx4TDQYs,19717
|
|
3
|
+
winrt/windows/ai/actions/__init__.py,sha256=5sFvP4ji-vSYj6bj9KHljI1M6a5UYiWJFvAbfEFX05g,2165
|
|
4
|
+
winrt/windows/ai/actions/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_ai_actions-3.2.0.dist-info/METADATA,sha256=ty3dMoDsLkH1WHJYHj5k7X8gg3zlGM-FDHT0Rk5weA8,1247
|
|
6
|
+
winrt_windows_ai_actions-3.2.0.dist-info/WHEEL,sha256=QL7uMKXoDJRpSwAf1VOVpjVXYPYll2YWTJ-omqdO8-4,101
|
|
7
|
+
winrt_windows_ai_actions-3.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_ai_actions-3.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|