winrt-Windows.Services.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.
@@ -0,0 +1,542 @@
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 as windows_applicationmodel
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.foundation.collections as windows_foundation_collections
15
+ import winrt.windows.system as windows_system
16
+ import winrt.windows.web.http as windows_web_http
17
+
18
+ from winrt.windows.services.store import StoreCanLicenseStatus, StoreConsumableStatus, StoreDurationUnit, StorePackageUpdateState, StorePurchaseStatus, StoreQueueItemExtendedState, StoreQueueItemKind, StoreQueueItemState, StoreRateAndReviewStatus, StoreUninstallStorePackageStatus
19
+
20
+ Self = typing.TypeVar('Self')
21
+
22
+ @typing.final
23
+ class StorePackageUpdateStatus:
24
+ package_family_name: str
25
+ package_download_size_in_bytes: winrt.system.UInt64
26
+ package_bytes_downloaded: winrt.system.UInt64
27
+ package_download_progress: winrt.system.Double
28
+ total_download_progress: winrt.system.Double
29
+ package_update_state: StorePackageUpdateState
30
+ def __init__(self, package_family_name: str, package_download_size_in_bytes: winrt.system.UInt64, package_bytes_downloaded: winrt.system.UInt64, package_download_progress: winrt.system.Double, total_download_progress: winrt.system.Double, package_update_state: StorePackageUpdateState) -> None: ...
31
+
32
+ @typing.final
33
+ class StoreAcquireLicenseResult(winrt.system.Object):
34
+ @staticmethod
35
+ def _from(obj: winrt.system.Object, /) -> StoreAcquireLicenseResult: ...
36
+ @_property
37
+ def extended_error(self) -> windows_foundation.HResult: ...
38
+ @_property
39
+ def store_package_license(self) -> typing.Optional[StorePackageLicense]: ...
40
+
41
+ @typing.final
42
+ class StoreAppLicense(winrt.system.Object):
43
+ @staticmethod
44
+ def _from(obj: winrt.system.Object, /) -> StoreAppLicense: ...
45
+ @_property
46
+ def add_on_licenses(self) -> typing.Optional[windows_foundation_collections.IMapView[str, StoreLicense]]: ...
47
+ @_property
48
+ def expiration_date(self) -> datetime.datetime: ...
49
+ @_property
50
+ def extended_json_data(self) -> str: ...
51
+ @_property
52
+ def is_active(self) -> bool: ...
53
+ @_property
54
+ def is_trial(self) -> bool: ...
55
+ @_property
56
+ def is_trial_owned_by_this_user(self) -> bool: ...
57
+ @_property
58
+ def sku_store_id(self) -> str: ...
59
+ @_property
60
+ def trial_time_remaining(self) -> datetime.timedelta: ...
61
+ @_property
62
+ def trial_unique_id(self) -> str: ...
63
+ @_property
64
+ def is_disc_license(self) -> bool: ...
65
+
66
+ @typing.final
67
+ class StoreAvailability(winrt.system.Object):
68
+ @staticmethod
69
+ def _from(obj: winrt.system.Object, /) -> StoreAvailability: ...
70
+ @typing.overload
71
+ def request_purchase_async(self) -> windows_foundation.IAsyncOperation[StorePurchaseResult]: ...
72
+ @typing.overload
73
+ def request_purchase_async(self, store_purchase_properties: typing.Optional[StorePurchaseProperties], /) -> windows_foundation.IAsyncOperation[StorePurchaseResult]: ...
74
+ @_property
75
+ def end_date(self) -> datetime.datetime: ...
76
+ @_property
77
+ def extended_json_data(self) -> str: ...
78
+ @_property
79
+ def price(self) -> typing.Optional[StorePrice]: ...
80
+ @_property
81
+ def store_id(self) -> str: ...
82
+
83
+ @typing.final
84
+ class StoreCanAcquireLicenseResult(winrt.system.Object):
85
+ @staticmethod
86
+ def _from(obj: winrt.system.Object, /) -> StoreCanAcquireLicenseResult: ...
87
+ @_property
88
+ def extended_error(self) -> windows_foundation.HResult: ...
89
+ @_property
90
+ def licensable_sku(self) -> str: ...
91
+ @_property
92
+ def status(self) -> StoreCanLicenseStatus: ...
93
+
94
+ @typing.final
95
+ class StoreCollectionData(winrt.system.Object):
96
+ @staticmethod
97
+ def _from(obj: winrt.system.Object, /) -> StoreCollectionData: ...
98
+ @_property
99
+ def acquired_date(self) -> datetime.datetime: ...
100
+ @_property
101
+ def campaign_id(self) -> str: ...
102
+ @_property
103
+ def developer_offer_id(self) -> str: ...
104
+ @_property
105
+ def end_date(self) -> datetime.datetime: ...
106
+ @_property
107
+ def extended_json_data(self) -> str: ...
108
+ @_property
109
+ def is_trial(self) -> bool: ...
110
+ @_property
111
+ def start_date(self) -> datetime.datetime: ...
112
+ @_property
113
+ def trial_time_remaining(self) -> datetime.timedelta: ...
114
+
115
+ @typing.final
116
+ class StoreConsumableResult(winrt.system.Object):
117
+ @staticmethod
118
+ def _from(obj: winrt.system.Object, /) -> StoreConsumableResult: ...
119
+ @_property
120
+ def balance_remaining(self) -> winrt.system.UInt32: ...
121
+ @_property
122
+ def extended_error(self) -> windows_foundation.HResult: ...
123
+ @_property
124
+ def status(self) -> StoreConsumableStatus: ...
125
+ @_property
126
+ def tracking_id(self) -> _uuid.UUID: ...
127
+
128
+ @typing.final
129
+ class StoreContext_Static(type):
130
+ def get_default(cls) -> typing.Optional[StoreContext]: ...
131
+ def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[StoreContext]: ...
132
+
133
+ @typing.final
134
+ class StoreContext(winrt.system.Object, metaclass=StoreContext_Static):
135
+ @staticmethod
136
+ def _from(obj: winrt.system.Object, /) -> StoreContext: ...
137
+ def acquire_store_license_for_optional_package_async(self, optional_package: typing.Optional[windows_applicationmodel.Package], /) -> windows_foundation.IAsyncOperation[StoreAcquireLicenseResult]: ...
138
+ def can_acquire_store_license_async(self, product_store_id: str, /) -> windows_foundation.IAsyncOperation[StoreCanAcquireLicenseResult]: ...
139
+ def can_acquire_store_license_for_optional_package_async(self, optional_package: typing.Optional[windows_applicationmodel.Package], /) -> windows_foundation.IAsyncOperation[StoreCanAcquireLicenseResult]: ...
140
+ def download_and_install_store_packages_async(self, store_ids: typing.Iterable[str], /) -> windows_foundation.IAsyncOperationWithProgress[StorePackageUpdateResult, StorePackageUpdateStatus]: ...
141
+ def find_store_product_for_package_async(self, product_kinds: typing.Iterable[str], package: typing.Optional[windows_applicationmodel.Package], /) -> windows_foundation.IAsyncOperation[StoreProductResult]: ...
142
+ def get_app_and_optional_store_package_updates_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[StorePackageUpdate]]: ...
143
+ def get_app_license_async(self) -> windows_foundation.IAsyncOperation[StoreAppLicense]: ...
144
+ def get_associated_store_products_async(self, product_kinds: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[StoreProductQueryResult]: ...
145
+ def get_associated_store_products_by_in_app_offer_token_async(self, in_app_offer_tokens: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[StoreProductQueryResult]: ...
146
+ def get_associated_store_products_with_paging_async(self, product_kinds: typing.Iterable[str], max_items_to_retrieve_per_page: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[StoreProductPagedQueryResult]: ...
147
+ def get_associated_store_queue_items_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[StoreQueueItem]]: ...
148
+ def get_consumable_balance_remaining_async(self, product_store_id: str, /) -> windows_foundation.IAsyncOperation[StoreConsumableResult]: ...
149
+ def get_customer_collections_id_async(self, service_ticket: str, publisher_user_id: str, /) -> windows_foundation.IAsyncOperation[str]: ...
150
+ def get_customer_purchase_id_async(self, service_ticket: str, publisher_user_id: str, /) -> windows_foundation.IAsyncOperation[str]: ...
151
+ def get_store_product_for_current_app_async(self) -> windows_foundation.IAsyncOperation[StoreProductResult]: ...
152
+ @typing.overload
153
+ def get_store_products_async(self, product_kinds: typing.Iterable[str], store_ids: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[StoreProductQueryResult]: ...
154
+ @typing.overload
155
+ def get_store_products_async(self, product_kinds: typing.Iterable[str], store_ids: typing.Iterable[str], store_product_options: typing.Optional[StoreProductOptions], /) -> windows_foundation.IAsyncOperation[StoreProductQueryResult]: ...
156
+ def get_store_queue_items_async(self, store_ids: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[StoreQueueItem]]: ...
157
+ def get_user_collection_async(self, product_kinds: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[StoreProductQueryResult]: ...
158
+ def get_user_collection_with_paging_async(self, product_kinds: typing.Iterable[str], max_items_to_retrieve_per_page: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[StoreProductPagedQueryResult]: ...
159
+ def get_user_purchase_history_async(self, product_kinds: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[StoreProductQueryResult]: ...
160
+ def report_consumable_fulfillment_async(self, product_store_id: str, quantity: winrt.system.UInt32, tracking_id: _uuid.UUID, /) -> windows_foundation.IAsyncOperation[StoreConsumableResult]: ...
161
+ def request_download_and_install_store_package_updates_async(self, store_package_updates: typing.Iterable[StorePackageUpdate], /) -> windows_foundation.IAsyncOperationWithProgress[StorePackageUpdateResult, StorePackageUpdateStatus]: ...
162
+ @typing.overload
163
+ def request_download_and_install_store_packages_async(self, store_ids: typing.Iterable[str], /) -> windows_foundation.IAsyncOperationWithProgress[StorePackageUpdateResult, StorePackageUpdateStatus]: ...
164
+ @typing.overload
165
+ def request_download_and_install_store_packages_async(self, store_ids: typing.Iterable[str], store_package_install_options: typing.Optional[StorePackageInstallOptions], /) -> windows_foundation.IAsyncOperationWithProgress[StorePackageUpdateResult, StorePackageUpdateStatus]: ...
166
+ def request_download_store_package_updates_async(self, store_package_updates: typing.Iterable[StorePackageUpdate], /) -> windows_foundation.IAsyncOperationWithProgress[StorePackageUpdateResult, StorePackageUpdateStatus]: ...
167
+ @typing.overload
168
+ def request_purchase_async(self, store_id: str, /) -> windows_foundation.IAsyncOperation[StorePurchaseResult]: ...
169
+ @typing.overload
170
+ def request_purchase_async(self, store_id: str, store_purchase_properties: typing.Optional[StorePurchaseProperties], /) -> windows_foundation.IAsyncOperation[StorePurchaseResult]: ...
171
+ def request_purchase_by_in_app_offer_token_async(self, in_app_offer_token: str, /) -> windows_foundation.IAsyncOperation[StorePurchaseResult]: ...
172
+ def request_rate_and_review_app_async(self) -> windows_foundation.IAsyncOperation[StoreRateAndReviewResult]: ...
173
+ def request_uninstall_store_package_async(self, package: typing.Optional[windows_applicationmodel.Package], /) -> windows_foundation.IAsyncOperation[StoreUninstallStorePackageResult]: ...
174
+ def request_uninstall_store_package_by_store_id_async(self, store_id: str, /) -> windows_foundation.IAsyncOperation[StoreUninstallStorePackageResult]: ...
175
+ def set_install_order_for_associated_store_queue_items_async(self, items: typing.Iterable[StoreQueueItem], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[StoreQueueItem]]: ...
176
+ def try_silent_download_and_install_store_package_updates_async(self, store_package_updates: typing.Iterable[StorePackageUpdate], /) -> windows_foundation.IAsyncOperationWithProgress[StorePackageUpdateResult, StorePackageUpdateStatus]: ...
177
+ def try_silent_download_store_package_updates_async(self, store_package_updates: typing.Iterable[StorePackageUpdate], /) -> windows_foundation.IAsyncOperationWithProgress[StorePackageUpdateResult, StorePackageUpdateStatus]: ...
178
+ def uninstall_store_package_async(self, package: typing.Optional[windows_applicationmodel.Package], /) -> windows_foundation.IAsyncOperation[StoreUninstallStorePackageResult]: ...
179
+ def uninstall_store_package_by_store_id_async(self, store_id: str, /) -> windows_foundation.IAsyncOperation[StoreUninstallStorePackageResult]: ...
180
+ def add_offline_licenses_changed(self, handler: windows_foundation.TypedEventHandler[StoreContext, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
181
+ def remove_offline_licenses_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
182
+ @_property
183
+ def user(self) -> typing.Optional[windows_system.User]: ...
184
+ @_property
185
+ def can_silently_download_store_package_updates(self) -> bool: ...
186
+
187
+ @typing.final
188
+ class StoreImage(winrt.system.Object):
189
+ @staticmethod
190
+ def _from(obj: winrt.system.Object, /) -> StoreImage: ...
191
+ @_property
192
+ def caption(self) -> str: ...
193
+ @_property
194
+ def height(self) -> winrt.system.UInt32: ...
195
+ @_property
196
+ def image_purpose_tag(self) -> str: ...
197
+ @_property
198
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
199
+ @_property
200
+ def width(self) -> winrt.system.UInt32: ...
201
+
202
+ @typing.final
203
+ class StoreLicense(winrt.system.Object):
204
+ @staticmethod
205
+ def _from(obj: winrt.system.Object, /) -> StoreLicense: ...
206
+ @_property
207
+ def expiration_date(self) -> datetime.datetime: ...
208
+ @_property
209
+ def extended_json_data(self) -> str: ...
210
+ @_property
211
+ def in_app_offer_token(self) -> str: ...
212
+ @_property
213
+ def is_active(self) -> bool: ...
214
+ @_property
215
+ def sku_store_id(self) -> str: ...
216
+
217
+ @typing.final
218
+ class StorePackageInstallOptions(winrt.system.Object):
219
+ @staticmethod
220
+ def _from(obj: winrt.system.Object, /) -> StorePackageInstallOptions: ...
221
+ def __new__(cls: typing.Type[StorePackageInstallOptions]) -> StorePackageInstallOptions: ...
222
+ @_property
223
+ def allow_forced_app_restart(self) -> bool: ...
224
+ @allow_forced_app_restart.setter
225
+ def allow_forced_app_restart(self, value: bool) -> None: ...
226
+
227
+ @typing.final
228
+ class StorePackageLicense(winrt.system.Object):
229
+ def __enter__(self: Self) -> Self: ...
230
+ def __exit__(self, *args) -> None: ...
231
+ @staticmethod
232
+ def _from(obj: winrt.system.Object, /) -> StorePackageLicense: ...
233
+ def close(self) -> None: ...
234
+ def release_license(self) -> None: ...
235
+ def add_license_lost(self, handler: windows_foundation.TypedEventHandler[StorePackageLicense, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
236
+ def remove_license_lost(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
237
+ @_property
238
+ def is_valid(self) -> bool: ...
239
+ @_property
240
+ def package(self) -> typing.Optional[windows_applicationmodel.Package]: ...
241
+
242
+ @typing.final
243
+ class StorePackageUpdate(winrt.system.Object):
244
+ @staticmethod
245
+ def _from(obj: winrt.system.Object, /) -> StorePackageUpdate: ...
246
+ @_property
247
+ def mandatory(self) -> bool: ...
248
+ @_property
249
+ def package(self) -> typing.Optional[windows_applicationmodel.Package]: ...
250
+
251
+ @typing.final
252
+ class StorePackageUpdateResult(winrt.system.Object):
253
+ @staticmethod
254
+ def _from(obj: winrt.system.Object, /) -> StorePackageUpdateResult: ...
255
+ @_property
256
+ def overall_state(self) -> StorePackageUpdateState: ...
257
+ @_property
258
+ def store_package_update_statuses(self) -> typing.Optional[windows_foundation_collections.IVectorView[StorePackageUpdateStatus]]: ...
259
+ @_property
260
+ def store_queue_items(self) -> typing.Optional[windows_foundation_collections.IVectorView[StoreQueueItem]]: ...
261
+
262
+ @typing.final
263
+ class StorePrice(winrt.system.Object):
264
+ @staticmethod
265
+ def _from(obj: winrt.system.Object, /) -> StorePrice: ...
266
+ @_property
267
+ def currency_code(self) -> str: ...
268
+ @_property
269
+ def formatted_base_price(self) -> str: ...
270
+ @_property
271
+ def formatted_price(self) -> str: ...
272
+ @_property
273
+ def formatted_recurrence_price(self) -> str: ...
274
+ @_property
275
+ def is_on_sale(self) -> bool: ...
276
+ @_property
277
+ def sale_end_date(self) -> datetime.datetime: ...
278
+ @_property
279
+ def unformatted_base_price(self) -> str: ...
280
+ @_property
281
+ def unformatted_price(self) -> str: ...
282
+ @_property
283
+ def unformatted_recurrence_price(self) -> str: ...
284
+
285
+ @typing.final
286
+ class StoreProduct(winrt.system.Object):
287
+ @staticmethod
288
+ def _from(obj: winrt.system.Object, /) -> StoreProduct: ...
289
+ def get_is_any_sku_installed_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
290
+ @typing.overload
291
+ def request_purchase_async(self) -> windows_foundation.IAsyncOperation[StorePurchaseResult]: ...
292
+ @typing.overload
293
+ def request_purchase_async(self, store_purchase_properties: typing.Optional[StorePurchaseProperties], /) -> windows_foundation.IAsyncOperation[StorePurchaseResult]: ...
294
+ @_property
295
+ def description(self) -> str: ...
296
+ @_property
297
+ def extended_json_data(self) -> str: ...
298
+ @_property
299
+ def has_digital_download(self) -> bool: ...
300
+ @_property
301
+ def images(self) -> typing.Optional[windows_foundation_collections.IVectorView[StoreImage]]: ...
302
+ @_property
303
+ def in_app_offer_token(self) -> str: ...
304
+ @_property
305
+ def is_in_user_collection(self) -> bool: ...
306
+ @_property
307
+ def keywords(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
308
+ @_property
309
+ def language(self) -> str: ...
310
+ @_property
311
+ def link_uri(self) -> typing.Optional[windows_foundation.Uri]: ...
312
+ @_property
313
+ def price(self) -> typing.Optional[StorePrice]: ...
314
+ @_property
315
+ def product_kind(self) -> str: ...
316
+ @_property
317
+ def skus(self) -> typing.Optional[windows_foundation_collections.IVectorView[StoreSku]]: ...
318
+ @_property
319
+ def store_id(self) -> str: ...
320
+ @_property
321
+ def title(self) -> str: ...
322
+ @_property
323
+ def videos(self) -> typing.Optional[windows_foundation_collections.IVectorView[StoreVideo]]: ...
324
+
325
+ @typing.final
326
+ class StoreProductOptions(winrt.system.Object):
327
+ @staticmethod
328
+ def _from(obj: winrt.system.Object, /) -> StoreProductOptions: ...
329
+ def __new__(cls: typing.Type[StoreProductOptions]) -> StoreProductOptions: ...
330
+ @_property
331
+ def action_filters(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
332
+
333
+ @typing.final
334
+ class StoreProductPagedQueryResult(winrt.system.Object):
335
+ @staticmethod
336
+ def _from(obj: winrt.system.Object, /) -> StoreProductPagedQueryResult: ...
337
+ def get_next_async(self) -> windows_foundation.IAsyncOperation[StoreProductPagedQueryResult]: ...
338
+ @_property
339
+ def extended_error(self) -> windows_foundation.HResult: ...
340
+ @_property
341
+ def has_more_results(self) -> bool: ...
342
+ @_property
343
+ def products(self) -> typing.Optional[windows_foundation_collections.IMapView[str, StoreProduct]]: ...
344
+
345
+ @typing.final
346
+ class StoreProductQueryResult(winrt.system.Object):
347
+ @staticmethod
348
+ def _from(obj: winrt.system.Object, /) -> StoreProductQueryResult: ...
349
+ @_property
350
+ def extended_error(self) -> windows_foundation.HResult: ...
351
+ @_property
352
+ def products(self) -> typing.Optional[windows_foundation_collections.IMapView[str, StoreProduct]]: ...
353
+
354
+ @typing.final
355
+ class StoreProductResult(winrt.system.Object):
356
+ @staticmethod
357
+ def _from(obj: winrt.system.Object, /) -> StoreProductResult: ...
358
+ @_property
359
+ def extended_error(self) -> windows_foundation.HResult: ...
360
+ @_property
361
+ def product(self) -> typing.Optional[StoreProduct]: ...
362
+
363
+ @typing.final
364
+ class StorePurchaseProperties(winrt.system.Object):
365
+ @staticmethod
366
+ def _from(obj: winrt.system.Object, /) -> StorePurchaseProperties: ...
367
+ @typing.overload
368
+ def __new__(cls: typing.Type[StorePurchaseProperties], name: str) -> StorePurchaseProperties: ...
369
+ @typing.overload
370
+ def __new__(cls: typing.Type[StorePurchaseProperties]) -> StorePurchaseProperties: ...
371
+ @_property
372
+ def name(self) -> str: ...
373
+ @name.setter
374
+ def name(self, value: str) -> None: ...
375
+ @_property
376
+ def extended_json_data(self) -> str: ...
377
+ @extended_json_data.setter
378
+ def extended_json_data(self, value: str) -> None: ...
379
+
380
+ @typing.final
381
+ class StorePurchaseResult(winrt.system.Object):
382
+ @staticmethod
383
+ def _from(obj: winrt.system.Object, /) -> StorePurchaseResult: ...
384
+ @_property
385
+ def extended_error(self) -> windows_foundation.HResult: ...
386
+ @_property
387
+ def status(self) -> StorePurchaseStatus: ...
388
+
389
+ @typing.final
390
+ class StoreQueueItem(winrt.system.Object):
391
+ @staticmethod
392
+ def _from(obj: winrt.system.Object, /) -> StoreQueueItem: ...
393
+ def cancel_install_async(self) -> windows_foundation.IAsyncAction: ...
394
+ def get_current_status(self) -> typing.Optional[StoreQueueItemStatus]: ...
395
+ def pause_install_async(self) -> windows_foundation.IAsyncAction: ...
396
+ def resume_install_async(self) -> windows_foundation.IAsyncAction: ...
397
+ def add_completed(self, handler: windows_foundation.TypedEventHandler[StoreQueueItem, StoreQueueItemCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
398
+ def remove_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
399
+ def add_status_changed(self, handler: windows_foundation.TypedEventHandler[StoreQueueItem, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
400
+ def remove_status_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
401
+ @_property
402
+ def install_kind(self) -> StoreQueueItemKind: ...
403
+ @_property
404
+ def package_family_name(self) -> str: ...
405
+ @_property
406
+ def product_id(self) -> str: ...
407
+
408
+ @typing.final
409
+ class StoreQueueItemCompletedEventArgs(winrt.system.Object):
410
+ @staticmethod
411
+ def _from(obj: winrt.system.Object, /) -> StoreQueueItemCompletedEventArgs: ...
412
+ @_property
413
+ def status(self) -> typing.Optional[StoreQueueItemStatus]: ...
414
+
415
+ @typing.final
416
+ class StoreQueueItemStatus(winrt.system.Object):
417
+ @staticmethod
418
+ def _from(obj: winrt.system.Object, /) -> StoreQueueItemStatus: ...
419
+ @_property
420
+ def extended_error(self) -> windows_foundation.HResult: ...
421
+ @_property
422
+ def package_install_extended_state(self) -> StoreQueueItemExtendedState: ...
423
+ @_property
424
+ def package_install_state(self) -> StoreQueueItemState: ...
425
+ @_property
426
+ def update_status(self) -> StorePackageUpdateStatus: ...
427
+
428
+ @typing.final
429
+ class StoreRateAndReviewResult(winrt.system.Object):
430
+ @staticmethod
431
+ def _from(obj: winrt.system.Object, /) -> StoreRateAndReviewResult: ...
432
+ @_property
433
+ def extended_error(self) -> windows_foundation.HResult: ...
434
+ @_property
435
+ def extended_json_data(self) -> str: ...
436
+ @_property
437
+ def status(self) -> StoreRateAndReviewStatus: ...
438
+ @_property
439
+ def was_updated(self) -> bool: ...
440
+
441
+ @typing.final
442
+ class StoreRequestHelper_Static(type):
443
+ def send_request_async(cls, context: typing.Optional[StoreContext], request_kind: winrt.system.UInt32, parameters_as_json: str, /) -> windows_foundation.IAsyncOperation[StoreSendRequestResult]: ...
444
+
445
+ @typing.final
446
+ class StoreRequestHelper(winrt.system.Object, metaclass=StoreRequestHelper_Static):
447
+ pass
448
+
449
+ @typing.final
450
+ class StoreSendRequestResult(winrt.system.Object):
451
+ @staticmethod
452
+ def _from(obj: winrt.system.Object, /) -> StoreSendRequestResult: ...
453
+ @_property
454
+ def extended_error(self) -> windows_foundation.HResult: ...
455
+ @_property
456
+ def response(self) -> str: ...
457
+ @_property
458
+ def http_status_code(self) -> windows_web_http.HttpStatusCode: ...
459
+
460
+ @typing.final
461
+ class StoreSku(winrt.system.Object):
462
+ @staticmethod
463
+ def _from(obj: winrt.system.Object, /) -> StoreSku: ...
464
+ def get_is_installed_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
465
+ @typing.overload
466
+ def request_purchase_async(self) -> windows_foundation.IAsyncOperation[StorePurchaseResult]: ...
467
+ @typing.overload
468
+ def request_purchase_async(self, store_purchase_properties: typing.Optional[StorePurchaseProperties], /) -> windows_foundation.IAsyncOperation[StorePurchaseResult]: ...
469
+ @_property
470
+ def availabilities(self) -> typing.Optional[windows_foundation_collections.IVectorView[StoreAvailability]]: ...
471
+ @_property
472
+ def bundled_skus(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
473
+ @_property
474
+ def collection_data(self) -> typing.Optional[StoreCollectionData]: ...
475
+ @_property
476
+ def custom_developer_data(self) -> str: ...
477
+ @_property
478
+ def description(self) -> str: ...
479
+ @_property
480
+ def extended_json_data(self) -> str: ...
481
+ @_property
482
+ def images(self) -> typing.Optional[windows_foundation_collections.IVectorView[StoreImage]]: ...
483
+ @_property
484
+ def is_in_user_collection(self) -> bool: ...
485
+ @_property
486
+ def is_subscription(self) -> bool: ...
487
+ @_property
488
+ def is_trial(self) -> bool: ...
489
+ @_property
490
+ def language(self) -> str: ...
491
+ @_property
492
+ def price(self) -> typing.Optional[StorePrice]: ...
493
+ @_property
494
+ def store_id(self) -> str: ...
495
+ @_property
496
+ def subscription_info(self) -> typing.Optional[StoreSubscriptionInfo]: ...
497
+ @_property
498
+ def title(self) -> str: ...
499
+ @_property
500
+ def videos(self) -> typing.Optional[windows_foundation_collections.IVectorView[StoreVideo]]: ...
501
+
502
+ @typing.final
503
+ class StoreSubscriptionInfo(winrt.system.Object):
504
+ @staticmethod
505
+ def _from(obj: winrt.system.Object, /) -> StoreSubscriptionInfo: ...
506
+ @_property
507
+ def billing_period(self) -> winrt.system.UInt32: ...
508
+ @_property
509
+ def billing_period_unit(self) -> StoreDurationUnit: ...
510
+ @_property
511
+ def has_trial_period(self) -> bool: ...
512
+ @_property
513
+ def trial_period(self) -> winrt.system.UInt32: ...
514
+ @_property
515
+ def trial_period_unit(self) -> StoreDurationUnit: ...
516
+
517
+ @typing.final
518
+ class StoreUninstallStorePackageResult(winrt.system.Object):
519
+ @staticmethod
520
+ def _from(obj: winrt.system.Object, /) -> StoreUninstallStorePackageResult: ...
521
+ @_property
522
+ def extended_error(self) -> windows_foundation.HResult: ...
523
+ @_property
524
+ def status(self) -> StoreUninstallStorePackageStatus: ...
525
+
526
+ @typing.final
527
+ class StoreVideo(winrt.system.Object):
528
+ @staticmethod
529
+ def _from(obj: winrt.system.Object, /) -> StoreVideo: ...
530
+ @_property
531
+ def caption(self) -> str: ...
532
+ @_property
533
+ def height(self) -> winrt.system.UInt32: ...
534
+ @_property
535
+ def preview_image(self) -> typing.Optional[StoreImage]: ...
536
+ @_property
537
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
538
+ @_property
539
+ def video_purpose_tag(self) -> str: ...
540
+ @_property
541
+ def width(self) -> winrt.system.UInt32: ...
542
+
@@ -0,0 +1,165 @@
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_services_store
7
+
8
+ __all__ = [
9
+ "StoreCanLicenseStatus",
10
+ "StoreConsumableStatus",
11
+ "StoreDurationUnit",
12
+ "StorePackageUpdateState",
13
+ "StorePurchaseStatus",
14
+ "StoreQueueItemExtendedState",
15
+ "StoreQueueItemKind",
16
+ "StoreQueueItemState",
17
+ "StoreRateAndReviewStatus",
18
+ "StoreUninstallStorePackageStatus",
19
+ "StorePackageUpdateStatus",
20
+ "StoreAcquireLicenseResult",
21
+ "StoreAppLicense",
22
+ "StoreAvailability",
23
+ "StoreCanAcquireLicenseResult",
24
+ "StoreCollectionData",
25
+ "StoreConsumableResult",
26
+ "StoreContext",
27
+ "StoreImage",
28
+ "StoreLicense",
29
+ "StorePackageInstallOptions",
30
+ "StorePackageLicense",
31
+ "StorePackageUpdate",
32
+ "StorePackageUpdateResult",
33
+ "StorePrice",
34
+ "StoreProduct",
35
+ "StoreProductOptions",
36
+ "StoreProductPagedQueryResult",
37
+ "StoreProductQueryResult",
38
+ "StoreProductResult",
39
+ "StorePurchaseProperties",
40
+ "StorePurchaseResult",
41
+ "StoreQueueItem",
42
+ "StoreQueueItemCompletedEventArgs",
43
+ "StoreQueueItemStatus",
44
+ "StoreRateAndReviewResult",
45
+ "StoreRequestHelper",
46
+ "StoreSendRequestResult",
47
+ "StoreSku",
48
+ "StoreSubscriptionInfo",
49
+ "StoreUninstallStorePackageResult",
50
+ "StoreVideo",
51
+ ]
52
+
53
+ class StoreCanLicenseStatus(enum.IntEnum):
54
+ NOT_LICENSABLE_TO_USER = 0
55
+ LICENSABLE = 1
56
+ LICENSE_ACTION_NOT_APPLICABLE_TO_PRODUCT = 2
57
+ NETWORK_ERROR = 3
58
+ SERVER_ERROR = 4
59
+
60
+ class StoreConsumableStatus(enum.IntEnum):
61
+ SUCCEEDED = 0
62
+ INSUFFICENT_QUANTITY = 1
63
+ NETWORK_ERROR = 2
64
+ SERVER_ERROR = 3
65
+
66
+ class StoreDurationUnit(enum.IntEnum):
67
+ MINUTE = 0
68
+ HOUR = 1
69
+ DAY = 2
70
+ WEEK = 3
71
+ MONTH = 4
72
+ YEAR = 5
73
+
74
+ class StorePackageUpdateState(enum.IntEnum):
75
+ PENDING = 0
76
+ DOWNLOADING = 1
77
+ DEPLOYING = 2
78
+ COMPLETED = 3
79
+ CANCELED = 4
80
+ OTHER_ERROR = 5
81
+ ERROR_LOW_BATTERY = 6
82
+ ERROR_WI_FI_RECOMMENDED = 7
83
+ ERROR_WI_FI_REQUIRED = 8
84
+
85
+ class StorePurchaseStatus(enum.IntEnum):
86
+ SUCCEEDED = 0
87
+ ALREADY_PURCHASED = 1
88
+ NOT_PURCHASED = 2
89
+ NETWORK_ERROR = 3
90
+ SERVER_ERROR = 4
91
+
92
+ class StoreQueueItemExtendedState(enum.IntEnum):
93
+ ACTIVE_PENDING = 0
94
+ ACTIVE_STARTING = 1
95
+ ACTIVE_ACQUIRING_LICENSE = 2
96
+ ACTIVE_DOWNLOADING = 3
97
+ ACTIVE_RESTORING_DATA = 4
98
+ ACTIVE_INSTALLING = 5
99
+ COMPLETED = 6
100
+ CANCELED = 7
101
+ PAUSED = 8
102
+ ERROR = 9
103
+ PAUSED_PACKAGES_IN_USE = 10
104
+ PAUSED_LOW_BATTERY = 11
105
+ PAUSED_WI_FI_RECOMMENDED = 12
106
+ PAUSED_WI_FI_REQUIRED = 13
107
+ PAUSED_READY_TO_INSTALL = 14
108
+
109
+ class StoreQueueItemKind(enum.IntEnum):
110
+ INSTALL = 0
111
+ UPDATE = 1
112
+ REPAIR = 2
113
+
114
+ class StoreQueueItemState(enum.IntEnum):
115
+ ACTIVE = 0
116
+ COMPLETED = 1
117
+ CANCELED = 2
118
+ ERROR = 3
119
+ PAUSED = 4
120
+
121
+ class StoreRateAndReviewStatus(enum.IntEnum):
122
+ SUCCEEDED = 0
123
+ CANCELED_BY_USER = 1
124
+ NETWORK_ERROR = 2
125
+ ERROR = 3
126
+
127
+ class StoreUninstallStorePackageStatus(enum.IntEnum):
128
+ SUCCEEDED = 0
129
+ CANCELED_BY_USER = 1
130
+ NETWORK_ERROR = 2
131
+ UNINSTALL_NOT_APPLICABLE = 3
132
+ ERROR = 4
133
+
134
+ StorePackageUpdateStatus = _winrt_windows_services_store.StorePackageUpdateStatus
135
+ StoreAcquireLicenseResult = _winrt_windows_services_store.StoreAcquireLicenseResult
136
+ StoreAppLicense = _winrt_windows_services_store.StoreAppLicense
137
+ StoreAvailability = _winrt_windows_services_store.StoreAvailability
138
+ StoreCanAcquireLicenseResult = _winrt_windows_services_store.StoreCanAcquireLicenseResult
139
+ StoreCollectionData = _winrt_windows_services_store.StoreCollectionData
140
+ StoreConsumableResult = _winrt_windows_services_store.StoreConsumableResult
141
+ StoreContext = _winrt_windows_services_store.StoreContext
142
+ StoreImage = _winrt_windows_services_store.StoreImage
143
+ StoreLicense = _winrt_windows_services_store.StoreLicense
144
+ StorePackageInstallOptions = _winrt_windows_services_store.StorePackageInstallOptions
145
+ StorePackageLicense = _winrt_windows_services_store.StorePackageLicense
146
+ StorePackageUpdate = _winrt_windows_services_store.StorePackageUpdate
147
+ StorePackageUpdateResult = _winrt_windows_services_store.StorePackageUpdateResult
148
+ StorePrice = _winrt_windows_services_store.StorePrice
149
+ StoreProduct = _winrt_windows_services_store.StoreProduct
150
+ StoreProductOptions = _winrt_windows_services_store.StoreProductOptions
151
+ StoreProductPagedQueryResult = _winrt_windows_services_store.StoreProductPagedQueryResult
152
+ StoreProductQueryResult = _winrt_windows_services_store.StoreProductQueryResult
153
+ StoreProductResult = _winrt_windows_services_store.StoreProductResult
154
+ StorePurchaseProperties = _winrt_windows_services_store.StorePurchaseProperties
155
+ StorePurchaseResult = _winrt_windows_services_store.StorePurchaseResult
156
+ StoreQueueItem = _winrt_windows_services_store.StoreQueueItem
157
+ StoreQueueItemCompletedEventArgs = _winrt_windows_services_store.StoreQueueItemCompletedEventArgs
158
+ StoreQueueItemStatus = _winrt_windows_services_store.StoreQueueItemStatus
159
+ StoreRateAndReviewResult = _winrt_windows_services_store.StoreRateAndReviewResult
160
+ StoreRequestHelper = _winrt_windows_services_store.StoreRequestHelper
161
+ StoreSendRequestResult = _winrt_windows_services_store.StoreSendRequestResult
162
+ StoreSku = _winrt_windows_services_store.StoreSku
163
+ StoreSubscriptionInfo = _winrt_windows_services_store.StoreSubscriptionInfo
164
+ StoreUninstallStorePackageResult = _winrt_windows_services_store.StoreUninstallStorePackageResult
165
+ StoreVideo = _winrt_windows_services_store.StoreVideo
File without changes
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Services.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.ApplicationModel[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.System[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.Web.Http[all] ==2.2.0 ; extra == 'all'
22
+
23
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
24
+
25
+ # winrt-Windows.Services.Store
26
+
27
+ Windows Runtime (WinRT) APIs for for the `Windows.Services.Store` namespace.
28
+
29
+ This package provides the `winrt.windows.services.store` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_services_store.cp313-win32.pyd,sha256=yuEmohkdg4Uzxlrowf38d0hwzdJzaxclxMW-BRb1wZA,534528
2
+ winrt/_winrt_windows_services_store.pyi,sha256=DW6UHspmPWKqpNxqoafrg_CWqlxbXeL8mZOUryZn8u0,26454
3
+ winrt/windows/services/store/__init__.py,sha256=9y_Bb53X1o_IkgMmwsSzKFUVi_9ykd4pUSictXbzysk,5461
4
+ winrt/windows/services/store/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Services.Store-2.2.0.dist-info/METADATA,sha256=AbpG8aJAq1lOAqBBlny1rVRACU9QztgIFmEvzEgofcc,1335
6
+ winrt_Windows.Services.Store-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
7
+ winrt_Windows.Services.Store-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Services.Store-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-win32
5
+