winrt-Windows.ApplicationModel.Wallet.System 2.0.1__tar.gz → 2.2.0__tar.gz

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.
Files changed (21) hide show
  1. {winrt_windows_applicationmodel_wallet_system-2.0.1 → winrt_windows_applicationmodel_wallet_system-2.2.0}/PKG-INFO +7 -7
  2. winrt_windows_applicationmodel_wallet_system-2.2.0/all-requirements.txt +6 -0
  3. {winrt_windows_applicationmodel_wallet_system-2.0.1 → winrt_windows_applicationmodel_wallet_system-2.2.0}/py.Windows.ApplicationModel.Wallet.System.cpp +128 -78
  4. {winrt_windows_applicationmodel_wallet_system-2.0.1 → winrt_windows_applicationmodel_wallet_system-2.2.0}/pyproject.toml +3 -2
  5. winrt_windows_applicationmodel_wallet_system-2.2.0/pywinrt-version.txt +1 -0
  6. {winrt_windows_applicationmodel_wallet_system-2.0.1 → winrt_windows_applicationmodel_wallet_system-2.2.0}/requirements.txt +2 -2
  7. winrt_windows_applicationmodel_wallet_system-2.2.0/winrt/_winrt_windows_applicationmodel_wallet_system.pyi +40 -0
  8. {winrt_windows_applicationmodel_wallet_system-2.0.1 → winrt_windows_applicationmodel_wallet_system-2.2.0}/winrt/windows/applicationmodel/wallet/system/__init__.py +1 -1
  9. {winrt_windows_applicationmodel_wallet_system-2.0.1 → winrt_windows_applicationmodel_wallet_system-2.2.0}/winrt_Windows.ApplicationModel.Wallet.System.egg-info/PKG-INFO +7 -7
  10. winrt_windows_applicationmodel_wallet_system-2.2.0/winrt_Windows.ApplicationModel.Wallet.System.egg-info/requires.txt +7 -0
  11. winrt_windows_applicationmodel_wallet_system-2.0.1/all-requirements.txt +0 -6
  12. winrt_windows_applicationmodel_wallet_system-2.0.1/pywinrt-version.txt +0 -1
  13. winrt_windows_applicationmodel_wallet_system-2.0.1/winrt/_winrt_windows_applicationmodel_wallet_system.pyi +0 -41
  14. winrt_windows_applicationmodel_wallet_system-2.0.1/winrt_Windows.ApplicationModel.Wallet.System.egg-info/requires.txt +0 -7
  15. {winrt_windows_applicationmodel_wallet_system-2.0.1 → winrt_windows_applicationmodel_wallet_system-2.2.0}/README.md +0 -0
  16. {winrt_windows_applicationmodel_wallet_system-2.0.1 → winrt_windows_applicationmodel_wallet_system-2.2.0}/setup.cfg +0 -0
  17. {winrt_windows_applicationmodel_wallet_system-2.0.1 → winrt_windows_applicationmodel_wallet_system-2.2.0}/setup.py +0 -0
  18. {winrt_windows_applicationmodel_wallet_system-2.0.1 → winrt_windows_applicationmodel_wallet_system-2.2.0}/winrt/windows/applicationmodel/wallet/system/py.typed +0 -0
  19. {winrt_windows_applicationmodel_wallet_system-2.0.1 → winrt_windows_applicationmodel_wallet_system-2.2.0}/winrt_Windows.ApplicationModel.Wallet.System.egg-info/SOURCES.txt +0 -0
  20. {winrt_windows_applicationmodel_wallet_system-2.0.1 → winrt_windows_applicationmodel_wallet_system-2.2.0}/winrt_Windows.ApplicationModel.Wallet.System.egg-info/dependency_links.txt +0 -0
  21. {winrt_windows_applicationmodel_wallet_system-2.0.1 → winrt_windows_applicationmodel_wallet_system-2.2.0}/winrt_Windows.ApplicationModel.Wallet.System.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.Wallet.System
3
- Version: 2.0.1
3
+ Version: 2.2.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -10,14 +10,14 @@ Classifier: Operating System :: Microsoft :: Windows
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
- Requires-Python: <3.13,>=3.9
13
+ Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.0.1
15
+ Requires-Dist: winrt-runtime==2.2.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.ApplicationModel.Wallet[all]==2.0.1; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
19
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
20
- Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
17
+ Requires-Dist: winrt-Windows.ApplicationModel.Wallet[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.Storage.Streams[all]==2.2.0; extra == "all"
21
21
 
22
22
  <!-- warning: Please don't edit this file. It was automatically generated. -->
23
23
 
@@ -0,0 +1,6 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ winrt-Windows.ApplicationModel.Wallet[all]==2.2.0
4
+ winrt-Windows.Foundation[all]==2.2.0
5
+ winrt-Windows.Foundation.Collections[all]==2.2.0
6
+ winrt-Windows.Storage.Streams[all]==2.2.0
@@ -1,8 +1,7 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
3
  #include "py.Windows.ApplicationModel.Wallet.System.h"
4
4
 
5
-
6
5
  namespace py::cpp::Windows::ApplicationModel::Wallet::System
7
6
  {
8
7
  // ----- WalletItemSystemStore class --------------------
@@ -28,14 +27,21 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
28
27
 
29
28
  if (arg_count == 1)
30
29
  {
31
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"DeleteAsync", 1))
32
- {
33
- py::set_arg_count_version_error(1);
34
- return nullptr;
35
- }
36
-
37
30
  try
38
31
  {
32
+ static std::optional<bool> is_overload_present{};
33
+
34
+ if (!is_overload_present.has_value())
35
+ {
36
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"DeleteAsync", 1);
37
+ }
38
+
39
+ if (!is_overload_present.value())
40
+ {
41
+ py::set_arg_count_version_error(1);
42
+ return nullptr;
43
+ }
44
+
39
45
  auto param0 = py::convert_to<winrt::Windows::ApplicationModel::Wallet::WalletItem>(args, 0);
40
46
 
41
47
  return py::convert(self->obj.DeleteAsync(param0));
@@ -59,14 +65,21 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
59
65
 
60
66
  if (arg_count == 1)
61
67
  {
62
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"GetAppStatusForItem", 1))
63
- {
64
- py::set_arg_count_version_error(1);
65
- return nullptr;
66
- }
67
-
68
68
  try
69
69
  {
70
+ static std::optional<bool> is_overload_present{};
71
+
72
+ if (!is_overload_present.has_value())
73
+ {
74
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"GetAppStatusForItem", 1);
75
+ }
76
+
77
+ if (!is_overload_present.value())
78
+ {
79
+ py::set_arg_count_version_error(1);
80
+ return nullptr;
81
+ }
82
+
70
83
  auto param0 = py::convert_to<winrt::Windows::ApplicationModel::Wallet::WalletItem>(args, 0);
71
84
 
72
85
  return py::convert(self->obj.GetAppStatusForItem(param0));
@@ -90,14 +103,21 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
90
103
 
91
104
  if (arg_count == 0)
92
105
  {
93
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"GetItemsAsync", 0))
94
- {
95
- py::set_arg_count_version_error(0);
96
- return nullptr;
97
- }
98
-
99
106
  try
100
107
  {
108
+ static std::optional<bool> is_overload_present{};
109
+
110
+ if (!is_overload_present.has_value())
111
+ {
112
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"GetItemsAsync", 0);
113
+ }
114
+
115
+ if (!is_overload_present.value())
116
+ {
117
+ py::set_arg_count_version_error(0);
118
+ return nullptr;
119
+ }
120
+
101
121
  return py::convert(self->obj.GetItemsAsync());
102
122
  }
103
123
  catch (...)
@@ -119,14 +139,21 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
119
139
 
120
140
  if (arg_count == 1)
121
141
  {
122
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"ImportItemAsync", 1))
123
- {
124
- py::set_arg_count_version_error(1);
125
- return nullptr;
126
- }
127
-
128
142
  try
129
143
  {
144
+ static std::optional<bool> is_overload_present{};
145
+
146
+ if (!is_overload_present.has_value())
147
+ {
148
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"ImportItemAsync", 1);
149
+ }
150
+
151
+ if (!is_overload_present.value())
152
+ {
153
+ py::set_arg_count_version_error(1);
154
+ return nullptr;
155
+ }
156
+
130
157
  auto param0 = py::convert_to<winrt::Windows::Storage::Streams::IRandomAccessStreamReference>(args, 0);
131
158
 
132
159
  return py::convert(self->obj.ImportItemAsync(param0));
@@ -150,14 +177,21 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
150
177
 
151
178
  if (arg_count == 1)
152
179
  {
153
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"LaunchAppForItemAsync", 1))
154
- {
155
- py::set_arg_count_version_error(1);
156
- return nullptr;
157
- }
158
-
159
180
  try
160
181
  {
182
+ static std::optional<bool> is_overload_present{};
183
+
184
+ if (!is_overload_present.has_value())
185
+ {
186
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"LaunchAppForItemAsync", 1);
187
+ }
188
+
189
+ if (!is_overload_present.value())
190
+ {
191
+ py::set_arg_count_version_error(1);
192
+ return nullptr;
193
+ }
194
+
161
195
  auto param0 = py::convert_to<winrt::Windows::ApplicationModel::Wallet::WalletItem>(args, 0);
162
196
 
163
197
  return py::convert(self->obj.LaunchAppForItemAsync(param0));
@@ -177,14 +211,21 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
177
211
 
178
212
  static PyObject* WalletItemSystemStore_add_ItemsChanged(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore* self, PyObject* arg) noexcept
179
213
  {
180
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"ItemsChanged"))
181
- {
182
- PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
183
- return nullptr;
184
- }
185
-
186
214
  try
187
215
  {
216
+ static std::optional<bool> is_event_present{};
217
+
218
+ if (!is_event_present.has_value())
219
+ {
220
+ is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"ItemsChanged");
221
+ }
222
+
223
+ if (!is_event_present.value())
224
+ {
225
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
226
+ return nullptr;
227
+ }
228
+
188
229
  auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore, winrt::Windows::Foundation::IInspectable>>(arg);
189
230
 
190
231
  return py::convert(self->obj.ItemsChanged(param0));
@@ -198,14 +239,21 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
198
239
 
199
240
  static PyObject* WalletItemSystemStore_remove_ItemsChanged(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore* self, PyObject* arg) noexcept
200
241
  {
201
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"ItemsChanged"))
202
- {
203
- PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
204
- return nullptr;
205
- }
206
-
207
242
  try
208
243
  {
244
+ static std::optional<bool> is_event_present{};
245
+
246
+ if (!is_event_present.has_value())
247
+ {
248
+ is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"ItemsChanged");
249
+ }
250
+
251
+ if (!is_event_present.value())
252
+ {
253
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
254
+ return nullptr;
255
+ }
256
+
209
257
  auto param0 = py::convert_to<winrt::event_token>(arg);
210
258
 
211
259
  self->obj.ItemsChanged(param0);
@@ -259,23 +307,20 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
259
307
  { }
260
308
  };
261
309
 
262
- static PyType_Slot _type_slots_WalletItemSystemStore[] =
263
- {
310
+ static PyType_Slot _type_slots_WalletItemSystemStore[] = {
264
311
  { Py_tp_new, reinterpret_cast<void*>(_new_WalletItemSystemStore) },
265
312
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_WalletItemSystemStore) },
266
313
  { Py_tp_methods, reinterpret_cast<void*>(_methods_WalletItemSystemStore) },
267
314
  { Py_tp_getset, reinterpret_cast<void*>(_getset_WalletItemSystemStore) },
268
- { },
315
+ { }
269
316
  };
270
317
 
271
- static PyType_Spec type_spec_WalletItemSystemStore =
272
- {
318
+ static PyType_Spec type_spec_WalletItemSystemStore = {
273
319
  "winrt._winrt_windows_applicationmodel_wallet_system.WalletItemSystemStore",
274
320
  sizeof(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore),
275
321
  0,
276
322
  Py_TPFLAGS_DEFAULT,
277
- _type_slots_WalletItemSystemStore
278
- };
323
+ _type_slots_WalletItemSystemStore};
279
324
 
280
325
  // ----- WalletManagerSystem class --------------------
281
326
 
@@ -292,14 +337,21 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
292
337
 
293
338
  if (arg_count == 0)
294
339
  {
295
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletManagerSystem", L"RequestStoreAsync", 0))
296
- {
297
- py::set_arg_count_version_error(0);
298
- return nullptr;
299
- }
300
-
301
340
  try
302
341
  {
342
+ static std::optional<bool> is_overload_present{};
343
+
344
+ if (!is_overload_present.has_value())
345
+ {
346
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletManagerSystem", L"RequestStoreAsync", 0);
347
+ }
348
+
349
+ if (!is_overload_present.value())
350
+ {
351
+ py::set_arg_count_version_error(0);
352
+ return nullptr;
353
+ }
354
+
303
355
  return py::convert(winrt::Windows::ApplicationModel::Wallet::System::WalletManagerSystem::RequestStoreAsync());
304
356
  }
305
357
  catch (...)
@@ -323,22 +375,19 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
323
375
  { }
324
376
  };
325
377
 
326
- static PyType_Slot _type_slots_WalletManagerSystem[] =
327
- {
378
+ static PyType_Slot _type_slots_WalletManagerSystem[] = {
328
379
  { Py_tp_new, reinterpret_cast<void*>(_new_WalletManagerSystem) },
329
380
  { Py_tp_methods, reinterpret_cast<void*>(_methods_WalletManagerSystem) },
330
381
  { Py_tp_getset, reinterpret_cast<void*>(_getset_WalletManagerSystem) },
331
- { },
382
+ { }
332
383
  };
333
384
 
334
- static PyType_Spec type_spec_WalletManagerSystem =
335
- {
385
+ static PyType_Spec type_spec_WalletManagerSystem = {
336
386
  "winrt._winrt_windows_applicationmodel_wallet_system.WalletManagerSystem",
337
387
  0,
338
388
  0,
339
389
  Py_TPFLAGS_DEFAULT,
340
- _type_slots_WalletManagerSystem
341
- };
390
+ _type_slots_WalletManagerSystem};
342
391
 
343
392
  static PyGetSetDef getset_WalletManagerSystem_Static[] = {
344
393
  { }
@@ -367,20 +416,19 @@ namespace py::cpp::Windows::ApplicationModel::Wallet::System
367
416
  };
368
417
 
369
418
  // ----- Windows.ApplicationModel.Wallet.System Initialization --------------------
370
- PyDoc_STRVAR(module_doc, "Windows::ApplicationModel::Wallet::System");
371
419
 
420
+ PyDoc_STRVAR(module_doc, "Windows.ApplicationModel.Wallet.System");
372
421
 
373
- static PyModuleDef module_def
374
- = {PyModuleDef_HEAD_INIT,
375
- "_winrt_windows_applicationmodel_wallet_system",
376
- module_doc,
377
- 0,
378
- nullptr,
379
- nullptr,
380
- nullptr,
381
- nullptr,
382
- nullptr};
383
-
422
+ static PyModuleDef module_def = {
423
+ PyModuleDef_HEAD_INIT,
424
+ "_winrt_windows_applicationmodel_wallet_system",
425
+ module_doc,
426
+ 0,
427
+ nullptr,
428
+ nullptr,
429
+ nullptr,
430
+ nullptr,
431
+ nullptr};
384
432
  } // py::cpp::Windows::ApplicationModel::Wallet::System
385
433
 
386
434
  PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_wallet_system(void) noexcept
@@ -412,7 +460,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_wallet_system(void) noexce
412
460
  return nullptr;
413
461
  }
414
462
 
415
- if (py::register_python_type(module.get(), &type_spec_WalletItemSystemStore, object_bases.get(), nullptr) == -1)
463
+ py::pytype_handle WalletItemSystemStore_type{py::register_python_type(module.get(), &type_spec_WalletItemSystemStore, object_bases.get(), nullptr)};
464
+ if (!WalletItemSystemStore_type)
416
465
  {
417
466
  return nullptr;
418
467
  }
@@ -423,7 +472,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_wallet_system(void) noexce
423
472
  return nullptr;
424
473
  }
425
474
 
426
- if (py::register_python_type(module.get(), &type_spec_WalletManagerSystem, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_WalletManagerSystem_Static.get())) == -1)
475
+ py::pytype_handle WalletManagerSystem_type{py::register_python_type(module.get(), &type_spec_WalletManagerSystem, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_WalletManagerSystem_Static.get()))};
476
+ if (!WalletManagerSystem_type)
427
477
  {
428
478
  return nullptr;
429
479
  }
@@ -16,7 +16,7 @@ classifiers = [
16
16
  "Intended Audience :: Developers",
17
17
  ]
18
18
  dynamic = ["version", "dependencies", "optional-dependencies"]
19
- requires-python = ">=3.9,<3.13"
19
+ requires-python = ">=3.9,<3.14"
20
20
 
21
21
  [project.urls]
22
22
  # Homepage = "https://github.com/pywinrt/pywinrt"
@@ -36,7 +36,8 @@ optional-dependencies.all = { file = "all-requirements.txt" }
36
36
  # use local winrt-sdk build dependency
37
37
  environment = { PYTHONPATH="../winrt-sdk/src" }
38
38
  # don't install winrt-sdk from PyPI
39
- build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
39
+ build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
40
+ before-build = "uv pip install setuptools"
40
41
  # don't build for PyPy
41
42
  skip = "pp*"
42
43
  # suppress warnings about ARM64 testing
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
- winrt-runtime==2.0.1
3
+ winrt-runtime==2.2.0
@@ -0,0 +1,40 @@
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.wallet as windows_applicationmodel_wallet
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.foundation.collections as windows_foundation_collections
15
+ import winrt.windows.storage.streams as windows_storage_streams
16
+
17
+ from winrt.windows.applicationmodel.wallet.system import WalletItemAppAssociation
18
+
19
+ Self = typing.TypeVar('Self')
20
+
21
+ @typing.final
22
+ class WalletItemSystemStore(winrt.system.Object):
23
+ @staticmethod
24
+ def _from(obj: winrt.system.Object, /) -> WalletItemSystemStore: ...
25
+ def delete_async(self, item: typing.Optional[windows_applicationmodel_wallet.WalletItem], /) -> windows_foundation.IAsyncAction: ...
26
+ def get_app_status_for_item(self, item: typing.Optional[windows_applicationmodel_wallet.WalletItem], /) -> WalletItemAppAssociation: ...
27
+ def get_items_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_applicationmodel_wallet.WalletItem]]: ...
28
+ def import_item_async(self, stream: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], /) -> windows_foundation.IAsyncOperation[windows_applicationmodel_wallet.WalletItem]: ...
29
+ def launch_app_for_item_async(self, item: typing.Optional[windows_applicationmodel_wallet.WalletItem], /) -> windows_foundation.IAsyncOperation[bool]: ...
30
+ def add_items_changed(self, handler: windows_foundation.TypedEventHandler[WalletItemSystemStore, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
31
+ def remove_items_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
32
+
33
+ @typing.final
34
+ class WalletManagerSystem_Static(type):
35
+ def request_store_async(cls) -> windows_foundation.IAsyncOperation[WalletItemSystemStore]: ...
36
+
37
+ @typing.final
38
+ class WalletManagerSystem(winrt.system.Object, metaclass=WalletManagerSystem_Static):
39
+ pass
40
+
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
3
  import enum
4
4
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.Wallet.System
3
- Version: 2.0.1
3
+ Version: 2.2.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -10,14 +10,14 @@ Classifier: Operating System :: Microsoft :: Windows
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
- Requires-Python: <3.13,>=3.9
13
+ Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.0.1
15
+ Requires-Dist: winrt-runtime==2.2.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.ApplicationModel.Wallet[all]==2.0.1; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
19
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
20
- Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
17
+ Requires-Dist: winrt-Windows.ApplicationModel.Wallet[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.Storage.Streams[all]==2.2.0; extra == "all"
21
21
 
22
22
  <!-- warning: Please don't edit this file. It was automatically generated. -->
23
23
 
@@ -0,0 +1,7 @@
1
+ winrt-runtime==2.2.0
2
+
3
+ [all]
4
+ winrt-Windows.ApplicationModel.Wallet[all]==2.2.0
5
+ winrt-Windows.Foundation[all]==2.2.0
6
+ winrt-Windows.Foundation.Collections[all]==2.2.0
7
+ winrt-Windows.Storage.Streams[all]==2.2.0
@@ -1,6 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
-
3
- winrt-Windows.ApplicationModel.Wallet[all]==2.0.1
4
- winrt-Windows.Foundation[all]==2.0.1
5
- winrt-Windows.Foundation.Collections[all]==2.0.1
6
- winrt-Windows.Storage.Streams[all]==2.0.1
@@ -1,41 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
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.wallet
13
- import winrt.windows.foundation
14
- import winrt.windows.foundation.collections
15
- import winrt.windows.storage.streams
16
-
17
- from winrt.windows.applicationmodel.wallet.system import WalletItemAppAssociation
18
-
19
- Self = typing.TypeVar('Self')
20
-
21
- @typing.final
22
- class WalletItemSystemStore(winrt.system.Object):
23
- @staticmethod
24
- def _from(obj: winrt.system.Object, /) -> WalletItemSystemStore: ...
25
- def delete_async(self, item: typing.Optional[winrt.windows.applicationmodel.wallet.WalletItem], /) -> winrt.windows.foundation.IAsyncAction: ...
26
- def get_app_status_for_item(self, item: typing.Optional[winrt.windows.applicationmodel.wallet.WalletItem], /) -> WalletItemAppAssociation: ...
27
- def get_items_async(self) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[winrt.windows.applicationmodel.wallet.WalletItem]]: ...
28
- def import_item_async(self, stream: typing.Optional[winrt.windows.storage.streams.IRandomAccessStreamReference], /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.applicationmodel.wallet.WalletItem]: ...
29
- def launch_app_for_item_async(self, item: typing.Optional[winrt.windows.applicationmodel.wallet.WalletItem], /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
30
- def add_items_changed(self, handler: winrt.windows.foundation.TypedEventHandler[WalletItemSystemStore, winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
31
- def remove_items_changed(self, cookie: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
32
-
33
- @typing.final
34
- class WalletManagerSystem_Static(type):
35
- def request_store_async(cls) -> winrt.windows.foundation.IAsyncOperation[WalletItemSystemStore]: ...
36
-
37
- @typing.final
38
- class WalletManagerSystem(winrt.system.Object, metaclass=WalletManagerSystem_Static):
39
- @staticmethod
40
- def _from(obj: winrt.system.Object, /) -> WalletManagerSystem: ...
41
-
@@ -1,7 +0,0 @@
1
- winrt-runtime==2.0.1
2
-
3
- [all]
4
- winrt-Windows.ApplicationModel.Wallet[all]==2.0.1
5
- winrt-Windows.Foundation[all]==2.0.1
6
- winrt-Windows.Foundation.Collections[all]==2.0.1
7
- winrt-Windows.Storage.Streams[all]==2.0.1