winrt-Windows.ApplicationModel.Store 2.2.0__cp313-cp313-win32.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_applicationmodel_store.cp313-win32.pyd +0 -0
- winrt/_winrt_windows_applicationmodel_store.pyi +207 -0
- winrt/windows/applicationmodel/store/__init__.py +53 -0
- winrt/windows/applicationmodel/store/py.typed +0 -0
- winrt_Windows.ApplicationModel.Store-2.2.0.dist-info/METADATA +27 -0
- winrt_Windows.ApplicationModel.Store-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.ApplicationModel.Store-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.ApplicationModel.Store-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,207 @@
|
|
|
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.storage as windows_storage
|
|
15
|
+
|
|
16
|
+
from winrt.windows.applicationmodel.store import FulfillmentResult, ProductPurchaseStatus, ProductType
|
|
17
|
+
from winrt.windows.applicationmodel.store import LicenseChangedEventHandler
|
|
18
|
+
|
|
19
|
+
Self = typing.TypeVar('Self')
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class CurrentApp_Static(type):
|
|
23
|
+
def get_app_purchase_campaign_id_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
|
|
24
|
+
def get_app_receipt_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
|
|
25
|
+
def get_customer_collections_id_async(cls, service_ticket: str, publisher_user_id: str, /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
26
|
+
def get_customer_purchase_id_async(cls, service_ticket: str, publisher_user_id: str, /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
27
|
+
def get_product_receipt_async(cls, product_id: str, /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
28
|
+
def get_unfulfilled_consumables_async(cls) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[UnfulfilledConsumable]]: ...
|
|
29
|
+
def load_listing_information_async(cls) -> windows_foundation.IAsyncOperation[ListingInformation]: ...
|
|
30
|
+
def load_listing_information_by_keywords_async(cls, keywords: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[ListingInformation]: ...
|
|
31
|
+
def load_listing_information_by_product_ids_async(cls, product_ids: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[ListingInformation]: ...
|
|
32
|
+
def report_consumable_fulfillment_async(cls, product_id: str, transaction_id: _uuid.UUID, /) -> windows_foundation.IAsyncOperation[FulfillmentResult]: ...
|
|
33
|
+
def report_product_fulfillment(cls, product_id: str, /) -> None: ...
|
|
34
|
+
def request_app_purchase_async(cls, include_receipt: bool, /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
35
|
+
@typing.overload
|
|
36
|
+
def request_product_purchase_async(cls, product_id: str, /) -> windows_foundation.IAsyncOperation[PurchaseResults]: ...
|
|
37
|
+
@typing.overload
|
|
38
|
+
def request_product_purchase_async(cls, product_id: str, include_receipt: bool, /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
39
|
+
@typing.overload
|
|
40
|
+
def request_product_purchase_async(cls, product_id: str, offer_id: str, display_properties: typing.Optional[ProductPurchaseDisplayProperties], /) -> windows_foundation.IAsyncOperation[PurchaseResults]: ...
|
|
41
|
+
@_property
|
|
42
|
+
def app_id(cls) -> _uuid.UUID: ...
|
|
43
|
+
@_property
|
|
44
|
+
def license_information(cls) -> typing.Optional[LicenseInformation]: ...
|
|
45
|
+
@_property
|
|
46
|
+
def link_uri(cls) -> typing.Optional[windows_foundation.Uri]: ...
|
|
47
|
+
|
|
48
|
+
@typing.final
|
|
49
|
+
class CurrentApp(winrt.system.Object, metaclass=CurrentApp_Static):
|
|
50
|
+
pass
|
|
51
|
+
|
|
52
|
+
@typing.final
|
|
53
|
+
class CurrentAppSimulator_Static(type):
|
|
54
|
+
def get_app_purchase_campaign_id_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
|
|
55
|
+
def get_app_receipt_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
|
|
56
|
+
def get_product_receipt_async(cls, product_id: str, /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
57
|
+
def get_unfulfilled_consumables_async(cls) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[UnfulfilledConsumable]]: ...
|
|
58
|
+
def load_listing_information_async(cls) -> windows_foundation.IAsyncOperation[ListingInformation]: ...
|
|
59
|
+
def load_listing_information_by_keywords_async(cls, keywords: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[ListingInformation]: ...
|
|
60
|
+
def load_listing_information_by_product_ids_async(cls, product_ids: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[ListingInformation]: ...
|
|
61
|
+
def reload_simulator_async(cls, simulator_settings_file: typing.Optional[windows_storage.StorageFile], /) -> windows_foundation.IAsyncAction: ...
|
|
62
|
+
def report_consumable_fulfillment_async(cls, product_id: str, transaction_id: _uuid.UUID, /) -> windows_foundation.IAsyncOperation[FulfillmentResult]: ...
|
|
63
|
+
def request_app_purchase_async(cls, include_receipt: bool, /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
64
|
+
@typing.overload
|
|
65
|
+
def request_product_purchase_async(cls, product_id: str, /) -> windows_foundation.IAsyncOperation[PurchaseResults]: ...
|
|
66
|
+
@typing.overload
|
|
67
|
+
def request_product_purchase_async(cls, product_id: str, include_receipt: bool, /) -> windows_foundation.IAsyncOperation[str]: ...
|
|
68
|
+
@typing.overload
|
|
69
|
+
def request_product_purchase_async(cls, product_id: str, offer_id: str, display_properties: typing.Optional[ProductPurchaseDisplayProperties], /) -> windows_foundation.IAsyncOperation[PurchaseResults]: ...
|
|
70
|
+
@_property
|
|
71
|
+
def app_id(cls) -> _uuid.UUID: ...
|
|
72
|
+
@_property
|
|
73
|
+
def license_information(cls) -> typing.Optional[LicenseInformation]: ...
|
|
74
|
+
@_property
|
|
75
|
+
def link_uri(cls) -> typing.Optional[windows_foundation.Uri]: ...
|
|
76
|
+
|
|
77
|
+
@typing.final
|
|
78
|
+
class CurrentAppSimulator(winrt.system.Object, metaclass=CurrentAppSimulator_Static):
|
|
79
|
+
pass
|
|
80
|
+
|
|
81
|
+
@typing.final
|
|
82
|
+
class LicenseInformation(winrt.system.Object):
|
|
83
|
+
@staticmethod
|
|
84
|
+
def _from(obj: winrt.system.Object, /) -> LicenseInformation: ...
|
|
85
|
+
def add_license_changed(self, handler: typing.Optional[LicenseChangedEventHandler], /) -> windows_foundation.EventRegistrationToken: ...
|
|
86
|
+
def remove_license_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
87
|
+
@_property
|
|
88
|
+
def expiration_date(self) -> datetime.datetime: ...
|
|
89
|
+
@_property
|
|
90
|
+
def is_active(self) -> bool: ...
|
|
91
|
+
@_property
|
|
92
|
+
def is_trial(self) -> bool: ...
|
|
93
|
+
@_property
|
|
94
|
+
def product_licenses(self) -> typing.Optional[windows_foundation_collections.IMapView[str, ProductLicense]]: ...
|
|
95
|
+
|
|
96
|
+
@typing.final
|
|
97
|
+
class ListingInformation(winrt.system.Object):
|
|
98
|
+
@staticmethod
|
|
99
|
+
def _from(obj: winrt.system.Object, /) -> ListingInformation: ...
|
|
100
|
+
@_property
|
|
101
|
+
def age_rating(self) -> winrt.system.UInt32: ...
|
|
102
|
+
@_property
|
|
103
|
+
def current_market(self) -> str: ...
|
|
104
|
+
@_property
|
|
105
|
+
def description(self) -> str: ...
|
|
106
|
+
@_property
|
|
107
|
+
def formatted_price(self) -> str: ...
|
|
108
|
+
@_property
|
|
109
|
+
def name(self) -> str: ...
|
|
110
|
+
@_property
|
|
111
|
+
def product_listings(self) -> typing.Optional[windows_foundation_collections.IMapView[str, ProductListing]]: ...
|
|
112
|
+
@_property
|
|
113
|
+
def currency_code(self) -> str: ...
|
|
114
|
+
@_property
|
|
115
|
+
def formatted_base_price(self) -> str: ...
|
|
116
|
+
@_property
|
|
117
|
+
def is_on_sale(self) -> bool: ...
|
|
118
|
+
@_property
|
|
119
|
+
def sale_end_date(self) -> datetime.datetime: ...
|
|
120
|
+
|
|
121
|
+
@typing.final
|
|
122
|
+
class ProductLicense(winrt.system.Object):
|
|
123
|
+
@staticmethod
|
|
124
|
+
def _from(obj: winrt.system.Object, /) -> ProductLicense: ...
|
|
125
|
+
@_property
|
|
126
|
+
def expiration_date(self) -> datetime.datetime: ...
|
|
127
|
+
@_property
|
|
128
|
+
def is_active(self) -> bool: ...
|
|
129
|
+
@_property
|
|
130
|
+
def product_id(self) -> str: ...
|
|
131
|
+
@_property
|
|
132
|
+
def is_consumable(self) -> bool: ...
|
|
133
|
+
|
|
134
|
+
@typing.final
|
|
135
|
+
class ProductListing(winrt.system.Object):
|
|
136
|
+
@staticmethod
|
|
137
|
+
def _from(obj: winrt.system.Object, /) -> ProductListing: ...
|
|
138
|
+
@_property
|
|
139
|
+
def formatted_price(self) -> str: ...
|
|
140
|
+
@_property
|
|
141
|
+
def name(self) -> str: ...
|
|
142
|
+
@_property
|
|
143
|
+
def product_id(self) -> str: ...
|
|
144
|
+
@_property
|
|
145
|
+
def formatted_base_price(self) -> str: ...
|
|
146
|
+
@_property
|
|
147
|
+
def is_on_sale(self) -> bool: ...
|
|
148
|
+
@_property
|
|
149
|
+
def sale_end_date(self) -> datetime.datetime: ...
|
|
150
|
+
@_property
|
|
151
|
+
def currency_code(self) -> str: ...
|
|
152
|
+
@_property
|
|
153
|
+
def description(self) -> str: ...
|
|
154
|
+
@_property
|
|
155
|
+
def image_uri(self) -> typing.Optional[windows_foundation.Uri]: ...
|
|
156
|
+
@_property
|
|
157
|
+
def keywords(self) -> typing.Optional[windows_foundation_collections.IIterable[str]]: ...
|
|
158
|
+
@_property
|
|
159
|
+
def tag(self) -> str: ...
|
|
160
|
+
@_property
|
|
161
|
+
def product_type(self) -> ProductType: ...
|
|
162
|
+
|
|
163
|
+
@typing.final
|
|
164
|
+
class ProductPurchaseDisplayProperties(winrt.system.Object):
|
|
165
|
+
@staticmethod
|
|
166
|
+
def _from(obj: winrt.system.Object, /) -> ProductPurchaseDisplayProperties: ...
|
|
167
|
+
@typing.overload
|
|
168
|
+
def __new__(cls: typing.Type[ProductPurchaseDisplayProperties], name: str) -> ProductPurchaseDisplayProperties: ...
|
|
169
|
+
@typing.overload
|
|
170
|
+
def __new__(cls: typing.Type[ProductPurchaseDisplayProperties]) -> ProductPurchaseDisplayProperties: ...
|
|
171
|
+
@_property
|
|
172
|
+
def name(self) -> str: ...
|
|
173
|
+
@name.setter
|
|
174
|
+
def name(self, value: str) -> None: ...
|
|
175
|
+
@_property
|
|
176
|
+
def image(self) -> typing.Optional[windows_foundation.Uri]: ...
|
|
177
|
+
@image.setter
|
|
178
|
+
def image(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
|
|
179
|
+
@_property
|
|
180
|
+
def description(self) -> str: ...
|
|
181
|
+
@description.setter
|
|
182
|
+
def description(self, value: str) -> None: ...
|
|
183
|
+
|
|
184
|
+
@typing.final
|
|
185
|
+
class PurchaseResults(winrt.system.Object):
|
|
186
|
+
@staticmethod
|
|
187
|
+
def _from(obj: winrt.system.Object, /) -> PurchaseResults: ...
|
|
188
|
+
@_property
|
|
189
|
+
def offer_id(self) -> str: ...
|
|
190
|
+
@_property
|
|
191
|
+
def receipt_xml(self) -> str: ...
|
|
192
|
+
@_property
|
|
193
|
+
def status(self) -> ProductPurchaseStatus: ...
|
|
194
|
+
@_property
|
|
195
|
+
def transaction_id(self) -> _uuid.UUID: ...
|
|
196
|
+
|
|
197
|
+
@typing.final
|
|
198
|
+
class UnfulfilledConsumable(winrt.system.Object):
|
|
199
|
+
@staticmethod
|
|
200
|
+
def _from(obj: winrt.system.Object, /) -> UnfulfilledConsumable: ...
|
|
201
|
+
@_property
|
|
202
|
+
def offer_id(self) -> str: ...
|
|
203
|
+
@_property
|
|
204
|
+
def product_id(self) -> str: ...
|
|
205
|
+
@_property
|
|
206
|
+
def transaction_id(self) -> _uuid.UUID: ...
|
|
207
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import typing
|
|
5
|
+
import uuid as _uuid
|
|
6
|
+
|
|
7
|
+
import winrt.system
|
|
8
|
+
from winrt import _winrt_windows_applicationmodel_store
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"FulfillmentResult",
|
|
12
|
+
"ProductPurchaseStatus",
|
|
13
|
+
"ProductType",
|
|
14
|
+
"CurrentApp",
|
|
15
|
+
"CurrentAppSimulator",
|
|
16
|
+
"LicenseInformation",
|
|
17
|
+
"ListingInformation",
|
|
18
|
+
"ProductLicense",
|
|
19
|
+
"ProductListing",
|
|
20
|
+
"ProductPurchaseDisplayProperties",
|
|
21
|
+
"PurchaseResults",
|
|
22
|
+
"UnfulfilledConsumable",
|
|
23
|
+
"LicenseChangedEventHandler",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
class FulfillmentResult(enum.IntEnum):
|
|
27
|
+
SUCCEEDED = 0
|
|
28
|
+
NOTHING_TO_FULFILL = 1
|
|
29
|
+
PURCHASE_PENDING = 2
|
|
30
|
+
PURCHASE_REVERTED = 3
|
|
31
|
+
SERVER_ERROR = 4
|
|
32
|
+
|
|
33
|
+
class ProductPurchaseStatus(enum.IntEnum):
|
|
34
|
+
SUCCEEDED = 0
|
|
35
|
+
ALREADY_PURCHASED = 1
|
|
36
|
+
NOT_FULFILLED = 2
|
|
37
|
+
NOT_PURCHASED = 3
|
|
38
|
+
|
|
39
|
+
class ProductType(enum.IntEnum):
|
|
40
|
+
UNKNOWN = 0
|
|
41
|
+
DURABLE = 1
|
|
42
|
+
CONSUMABLE = 2
|
|
43
|
+
|
|
44
|
+
CurrentApp = _winrt_windows_applicationmodel_store.CurrentApp
|
|
45
|
+
CurrentAppSimulator = _winrt_windows_applicationmodel_store.CurrentAppSimulator
|
|
46
|
+
LicenseInformation = _winrt_windows_applicationmodel_store.LicenseInformation
|
|
47
|
+
ListingInformation = _winrt_windows_applicationmodel_store.ListingInformation
|
|
48
|
+
ProductLicense = _winrt_windows_applicationmodel_store.ProductLicense
|
|
49
|
+
ProductListing = _winrt_windows_applicationmodel_store.ProductListing
|
|
50
|
+
ProductPurchaseDisplayProperties = _winrt_windows_applicationmodel_store.ProductPurchaseDisplayProperties
|
|
51
|
+
PurchaseResults = _winrt_windows_applicationmodel_store.PurchaseResults
|
|
52
|
+
UnfulfilledConsumable = _winrt_windows_applicationmodel_store.UnfulfilledConsumable
|
|
53
|
+
LicenseChangedEventHandler = typing.Callable[[], None]
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.Store
|
|
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.Storage[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
|
|
21
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
22
|
+
|
|
23
|
+
# winrt-Windows.ApplicationModel.Store
|
|
24
|
+
|
|
25
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Store` namespace.
|
|
26
|
+
|
|
27
|
+
This package provides the `winrt.windows.applicationmodel.store` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_applicationmodel_store.cp313-win32.pyd,sha256=XTVkdHA5TIVZfcz3mbEiv6Dwrg6OB2EUkYOAYRVAp5g,217600
|
|
2
|
+
winrt/_winrt_windows_applicationmodel_store.pyi,sha256=pXj6B6Q_7t9iKktr_WQd1cQ0NyC2tNkR1r9R65tyyp4,9571
|
|
3
|
+
winrt/windows/applicationmodel/store/__init__.py,sha256=qqgfoJ-_mUH4MUe1se7oh1PYQ_1jQfm7_k1dvl__haA,1690
|
|
4
|
+
winrt/windows/applicationmodel/store/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.ApplicationModel.Store-2.2.0.dist-info/METADATA,sha256=DYMb1hBowdsjeQBoCcjQ1Q_W_Hb1aS9pGm5ytyqewPg,1222
|
|
6
|
+
winrt_Windows.ApplicationModel.Store-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
|
|
7
|
+
winrt_Windows.ApplicationModel.Store-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.ApplicationModel.Store-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|