winrt-Windows.ApplicationModel.Store.Preview.InstallControl 2.2.0__tar.gz → 2.3.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 (20) hide show
  1. {winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0 → winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0}/PKG-INFO +6 -6
  2. winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0/all-requirements.txt +6 -0
  3. {winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0 → winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0}/py.Windows.ApplicationModel.Store.Preview.InstallControl.cpp +109 -1
  4. winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0/pywinrt-version.txt +1 -0
  5. {winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0 → winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0}/requirements.txt +2 -2
  6. {winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0 → winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0}/winrt/_winrt_windows_applicationmodel_store_preview_installcontrol.pyi +9 -1
  7. {winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0 → winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0}/winrt/windows/applicationmodel/store/preview/installcontrol/__init__.py +1 -1
  8. {winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0 → winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0}/winrt_Windows.ApplicationModel.Store.Preview.InstallControl.egg-info/PKG-INFO +6 -6
  9. winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0/winrt_Windows.ApplicationModel.Store.Preview.InstallControl.egg-info/requires.txt +7 -0
  10. winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0/all-requirements.txt +0 -6
  11. winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0/pywinrt-version.txt +0 -1
  12. winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0/winrt_Windows.ApplicationModel.Store.Preview.InstallControl.egg-info/requires.txt +0 -7
  13. {winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0 → winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0}/README.md +0 -0
  14. {winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0 → winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0}/pyproject.toml +0 -0
  15. {winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0 → winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0}/setup.cfg +0 -0
  16. {winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0 → winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0}/setup.py +0 -0
  17. {winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0 → winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0}/winrt/windows/applicationmodel/store/preview/installcontrol/py.typed +0 -0
  18. {winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0 → winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0}/winrt_Windows.ApplicationModel.Store.Preview.InstallControl.egg-info/SOURCES.txt +0 -0
  19. {winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0 → winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0}/winrt_Windows.ApplicationModel.Store.Preview.InstallControl.egg-info/dependency_links.txt +0 -0
  20. {winrt_windows_applicationmodel_store_preview_installcontrol-2.2.0 → winrt_windows_applicationmodel_store_preview_installcontrol-2.3.0}/winrt_Windows.ApplicationModel.Store.Preview.InstallControl.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.Store.Preview.InstallControl
3
- Version: 2.2.0
3
+ Version: 2.3.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -12,12 +12,12 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
13
  Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.2.0
15
+ Requires-Dist: winrt-runtime==2.3.0
16
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.Management.Deployment[all]==2.2.0; extra == "all"
20
- Requires-Dist: winrt-Windows.System[all]==2.2.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Management.Deployment[all]==2.3.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.System[all]==2.3.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.3.0
2
+
3
+ winrt-Windows.Foundation[all]==2.3.0
4
+ winrt-Windows.Foundation.Collections[all]==2.3.0
5
+ winrt-Windows.Management.Deployment[all]==2.3.0
6
+ winrt-Windows.System[all]==2.3.0
@@ -1,4 +1,4 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
2
 
3
3
  #include "py.Windows.ApplicationModel.Store.Preview.InstallControl.h"
4
4
 
@@ -4444,6 +4444,110 @@ namespace py::cpp::Windows::ApplicationModel::Store::Preview::InstallControl
4444
4444
  }
4445
4445
  }
4446
4446
 
4447
+ static PyObject* GetEntitlementResult_get_AvailabilityId(py::wrapper::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementResult* self, void* /*unused*/) noexcept
4448
+ {
4449
+ try
4450
+ {
4451
+ static std::optional<bool> is_property_present{};
4452
+
4453
+ if (!is_property_present.has_value())
4454
+ {
4455
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Store.Preview.InstallControl.GetEntitlementResult", L"AvailabilityId");
4456
+ }
4457
+
4458
+ if (!is_property_present.value())
4459
+ {
4460
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
4461
+ return nullptr;
4462
+ }
4463
+
4464
+ return py::convert(self->obj.AvailabilityId());
4465
+ }
4466
+ catch (...)
4467
+ {
4468
+ py::to_PyErr();
4469
+ return nullptr;
4470
+ }
4471
+ }
4472
+
4473
+ static PyObject* GetEntitlementResult_get_IsAlreadyOwned(py::wrapper::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementResult* self, void* /*unused*/) noexcept
4474
+ {
4475
+ try
4476
+ {
4477
+ static std::optional<bool> is_property_present{};
4478
+
4479
+ if (!is_property_present.has_value())
4480
+ {
4481
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Store.Preview.InstallControl.GetEntitlementResult", L"IsAlreadyOwned");
4482
+ }
4483
+
4484
+ if (!is_property_present.value())
4485
+ {
4486
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
4487
+ return nullptr;
4488
+ }
4489
+
4490
+ return py::convert(self->obj.IsAlreadyOwned());
4491
+ }
4492
+ catch (...)
4493
+ {
4494
+ py::to_PyErr();
4495
+ return nullptr;
4496
+ }
4497
+ }
4498
+
4499
+ static PyObject* GetEntitlementResult_get_OrderId(py::wrapper::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementResult* self, void* /*unused*/) noexcept
4500
+ {
4501
+ try
4502
+ {
4503
+ static std::optional<bool> is_property_present{};
4504
+
4505
+ if (!is_property_present.has_value())
4506
+ {
4507
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Store.Preview.InstallControl.GetEntitlementResult", L"OrderId");
4508
+ }
4509
+
4510
+ if (!is_property_present.value())
4511
+ {
4512
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
4513
+ return nullptr;
4514
+ }
4515
+
4516
+ return py::convert(self->obj.OrderId());
4517
+ }
4518
+ catch (...)
4519
+ {
4520
+ py::to_PyErr();
4521
+ return nullptr;
4522
+ }
4523
+ }
4524
+
4525
+ static PyObject* GetEntitlementResult_get_SkuId(py::wrapper::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementResult* self, void* /*unused*/) noexcept
4526
+ {
4527
+ try
4528
+ {
4529
+ static std::optional<bool> is_property_present{};
4530
+
4531
+ if (!is_property_present.has_value())
4532
+ {
4533
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Store.Preview.InstallControl.GetEntitlementResult", L"SkuId");
4534
+ }
4535
+
4536
+ if (!is_property_present.value())
4537
+ {
4538
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
4539
+ return nullptr;
4540
+ }
4541
+
4542
+ return py::convert(self->obj.SkuId());
4543
+ }
4544
+ catch (...)
4545
+ {
4546
+ py::to_PyErr();
4547
+ return nullptr;
4548
+ }
4549
+ }
4550
+
4447
4551
  static PyObject* _assign_array_GetEntitlementResult(PyObject* /*unused*/, PyObject* arg) noexcept
4448
4552
  {
4449
4553
  auto array = std::make_unique<py::ComArray<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementResult>>();
@@ -4476,6 +4580,10 @@ namespace py::cpp::Windows::ApplicationModel::Store::Preview::InstallControl
4476
4580
 
4477
4581
  static PyGetSetDef _getset_GetEntitlementResult[] = {
4478
4582
  { "status", reinterpret_cast<getter>(GetEntitlementResult_get_Status), nullptr, nullptr, nullptr },
4583
+ { "availability_id", reinterpret_cast<getter>(GetEntitlementResult_get_AvailabilityId), nullptr, nullptr, nullptr },
4584
+ { "is_already_owned", reinterpret_cast<getter>(GetEntitlementResult_get_IsAlreadyOwned), nullptr, nullptr, nullptr },
4585
+ { "order_id", reinterpret_cast<getter>(GetEntitlementResult_get_OrderId), nullptr, nullptr, nullptr },
4586
+ { "sku_id", reinterpret_cast<getter>(GetEntitlementResult_get_SkuId), nullptr, nullptr, nullptr },
4479
4587
  { }
4480
4588
  };
4481
4589
 
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
2
 
3
- winrt-runtime==2.2.0
3
+ winrt-runtime==2.3.0
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -281,4 +281,12 @@ class GetEntitlementResult(winrt.system.Object):
281
281
  def _from(obj: winrt.system.Object, /) -> GetEntitlementResult: ...
282
282
  @_property
283
283
  def status(self) -> GetEntitlementStatus: ...
284
+ @_property
285
+ def availability_id(self) -> str: ...
286
+ @_property
287
+ def is_already_owned(self) -> bool: ...
288
+ @_property
289
+ def order_id(self) -> str: ...
290
+ @_property
291
+ def sku_id(self) -> str: ...
284
292
 
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.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.Store.Preview.InstallControl
3
- Version: 2.2.0
3
+ Version: 2.3.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -12,12 +12,12 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
13
  Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.2.0
15
+ Requires-Dist: winrt-runtime==2.3.0
16
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.Management.Deployment[all]==2.2.0; extra == "all"
20
- Requires-Dist: winrt-Windows.System[all]==2.2.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Management.Deployment[all]==2.3.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.System[all]==2.3.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.3.0
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.3.0
5
+ winrt-Windows.Foundation.Collections[all]==2.3.0
6
+ winrt-Windows.Management.Deployment[all]==2.3.0
7
+ winrt-Windows.System[all]==2.3.0
@@ -1,6 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
-
3
- winrt-Windows.Foundation[all]==2.2.0
4
- winrt-Windows.Foundation.Collections[all]==2.2.0
5
- winrt-Windows.Management.Deployment[all]==2.2.0
6
- winrt-Windows.System[all]==2.2.0
@@ -1,7 +0,0 @@
1
- winrt-runtime==2.2.0
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.2.0
5
- winrt-Windows.Foundation.Collections[all]==2.2.0
6
- winrt-Windows.Management.Deployment[all]==2.2.0
7
- winrt-Windows.System[all]==2.2.0