winrt-Windows.ApplicationModel.Wallet 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,252 @@
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.devices.geolocation as windows_devices_geolocation
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
+ import winrt.windows.ui as windows_ui
17
+
18
+ from winrt.windows.applicationmodel.wallet import WalletActionKind, WalletBarcodeSymbology, WalletDetailViewPosition, WalletItemKind, WalletSummaryViewPosition
19
+
20
+ Self = typing.TypeVar('Self')
21
+
22
+ @typing.final
23
+ class WalletBarcode(winrt.system.Object):
24
+ @staticmethod
25
+ def _from(obj: winrt.system.Object, /) -> WalletBarcode: ...
26
+ @typing.overload
27
+ def __new__(cls: typing.Type[WalletBarcode], symbology: WalletBarcodeSymbology, value: str) -> WalletBarcode: ...
28
+ @typing.overload
29
+ def __new__(cls: typing.Type[WalletBarcode], stream_to_barcode_image: typing.Optional[windows_storage_streams.IRandomAccessStreamReference]) -> WalletBarcode: ...
30
+ def get_image_async(self) -> windows_foundation.IAsyncOperation[windows_storage_streams.IRandomAccessStreamReference]: ...
31
+ @_property
32
+ def symbology(self) -> WalletBarcodeSymbology: ...
33
+ @_property
34
+ def value(self) -> str: ...
35
+
36
+ @typing.final
37
+ class WalletItem(winrt.system.Object):
38
+ @staticmethod
39
+ def _from(obj: winrt.system.Object, /) -> WalletItem: ...
40
+ def __new__(cls: typing.Type[WalletItem], kind: WalletItemKind, display_name: str) -> WalletItem: ...
41
+ @_property
42
+ def display_name(self) -> str: ...
43
+ @display_name.setter
44
+ def display_name(self, value: str) -> None: ...
45
+ @_property
46
+ def display_message(self) -> str: ...
47
+ @display_message.setter
48
+ def display_message(self, value: str) -> None: ...
49
+ @_property
50
+ def logo_text(self) -> str: ...
51
+ @logo_text.setter
52
+ def logo_text(self, value: str) -> None: ...
53
+ @_property
54
+ def body_font_color(self) -> windows_ui.Color: ...
55
+ @body_font_color.setter
56
+ def body_font_color(self, value: windows_ui.Color) -> None: ...
57
+ @_property
58
+ def body_color(self) -> windows_ui.Color: ...
59
+ @body_color.setter
60
+ def body_color(self, value: windows_ui.Color) -> None: ...
61
+ @_property
62
+ def body_background_image(self) -> typing.Optional[windows_storage_streams.IRandomAccessStreamReference]: ...
63
+ @body_background_image.setter
64
+ def body_background_image(self, value: typing.Optional[windows_storage_streams.IRandomAccessStreamReference]) -> None: ...
65
+ @_property
66
+ def is_display_message_launchable(self) -> bool: ...
67
+ @is_display_message_launchable.setter
68
+ def is_display_message_launchable(self, value: bool) -> None: ...
69
+ @_property
70
+ def is_acknowledged(self) -> bool: ...
71
+ @is_acknowledged.setter
72
+ def is_acknowledged(self, value: bool) -> None: ...
73
+ @_property
74
+ def is_more_transaction_history_launchable(self) -> bool: ...
75
+ @is_more_transaction_history_launchable.setter
76
+ def is_more_transaction_history_launchable(self, value: bool) -> None: ...
77
+ @_property
78
+ def header_font_color(self) -> windows_ui.Color: ...
79
+ @header_font_color.setter
80
+ def header_font_color(self, value: windows_ui.Color) -> None: ...
81
+ @_property
82
+ def header_color(self) -> windows_ui.Color: ...
83
+ @header_color.setter
84
+ def header_color(self, value: windows_ui.Color) -> None: ...
85
+ @_property
86
+ def header_background_image(self) -> typing.Optional[windows_storage_streams.IRandomAccessStreamReference]: ...
87
+ @header_background_image.setter
88
+ def header_background_image(self, value: typing.Optional[windows_storage_streams.IRandomAccessStreamReference]) -> None: ...
89
+ @_property
90
+ def expiration_date(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
91
+ @expiration_date.setter
92
+ def expiration_date(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
93
+ @_property
94
+ def logo99x99(self) -> typing.Optional[windows_storage_streams.IRandomAccessStreamReference]: ...
95
+ @logo99x99.setter
96
+ def logo99x99(self, value: typing.Optional[windows_storage_streams.IRandomAccessStreamReference]) -> None: ...
97
+ @_property
98
+ def logo_image(self) -> typing.Optional[windows_storage_streams.IRandomAccessStreamReference]: ...
99
+ @logo_image.setter
100
+ def logo_image(self, value: typing.Optional[windows_storage_streams.IRandomAccessStreamReference]) -> None: ...
101
+ @_property
102
+ def promotional_image(self) -> typing.Optional[windows_storage_streams.IRandomAccessStreamReference]: ...
103
+ @promotional_image.setter
104
+ def promotional_image(self, value: typing.Optional[windows_storage_streams.IRandomAccessStreamReference]) -> None: ...
105
+ @_property
106
+ def logo159x159(self) -> typing.Optional[windows_storage_streams.IRandomAccessStreamReference]: ...
107
+ @logo159x159.setter
108
+ def logo159x159(self, value: typing.Optional[windows_storage_streams.IRandomAccessStreamReference]) -> None: ...
109
+ @_property
110
+ def last_updated(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
111
+ @last_updated.setter
112
+ def last_updated(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
113
+ @_property
114
+ def issuer_display_name(self) -> str: ...
115
+ @issuer_display_name.setter
116
+ def issuer_display_name(self, value: str) -> None: ...
117
+ @_property
118
+ def barcode(self) -> typing.Optional[WalletBarcode]: ...
119
+ @barcode.setter
120
+ def barcode(self, value: typing.Optional[WalletBarcode]) -> None: ...
121
+ @_property
122
+ def relevant_date_display_message(self) -> str: ...
123
+ @relevant_date_display_message.setter
124
+ def relevant_date_display_message(self, value: str) -> None: ...
125
+ @_property
126
+ def relevant_date(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
127
+ @relevant_date.setter
128
+ def relevant_date(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
129
+ @_property
130
+ def logo336x336(self) -> typing.Optional[windows_storage_streams.IRandomAccessStreamReference]: ...
131
+ @logo336x336.setter
132
+ def logo336x336(self, value: typing.Optional[windows_storage_streams.IRandomAccessStreamReference]) -> None: ...
133
+ @_property
134
+ def kind(self) -> WalletItemKind: ...
135
+ @_property
136
+ def display_properties(self) -> typing.Optional[windows_foundation_collections.IMap[str, WalletItemCustomProperty]]: ...
137
+ @_property
138
+ def id(self) -> str: ...
139
+ @_property
140
+ def relevant_locations(self) -> typing.Optional[windows_foundation_collections.IMap[str, WalletRelevantLocation]]: ...
141
+ @_property
142
+ def transaction_history(self) -> typing.Optional[windows_foundation_collections.IMap[str, WalletTransaction]]: ...
143
+ @_property
144
+ def verbs(self) -> typing.Optional[windows_foundation_collections.IMap[str, WalletVerb]]: ...
145
+
146
+ @typing.final
147
+ class WalletItemCustomProperty(winrt.system.Object):
148
+ @staticmethod
149
+ def _from(obj: winrt.system.Object, /) -> WalletItemCustomProperty: ...
150
+ def __new__(cls: typing.Type[WalletItemCustomProperty], name: str, value: str) -> WalletItemCustomProperty: ...
151
+ @_property
152
+ def value(self) -> str: ...
153
+ @value.setter
154
+ def value(self, value: str) -> None: ...
155
+ @_property
156
+ def summary_view_position(self) -> WalletSummaryViewPosition: ...
157
+ @summary_view_position.setter
158
+ def summary_view_position(self, value: WalletSummaryViewPosition) -> None: ...
159
+ @_property
160
+ def name(self) -> str: ...
161
+ @name.setter
162
+ def name(self, value: str) -> None: ...
163
+ @_property
164
+ def detail_view_position(self) -> WalletDetailViewPosition: ...
165
+ @detail_view_position.setter
166
+ def detail_view_position(self, value: WalletDetailViewPosition) -> None: ...
167
+ @_property
168
+ def auto_detect_links(self) -> bool: ...
169
+ @auto_detect_links.setter
170
+ def auto_detect_links(self, value: bool) -> None: ...
171
+
172
+ @typing.final
173
+ class WalletItemStore(winrt.system.Object):
174
+ @staticmethod
175
+ def _from(obj: winrt.system.Object, /) -> WalletItemStore: ...
176
+ def add_async(self, id: str, item: typing.Optional[WalletItem], /) -> windows_foundation.IAsyncAction: ...
177
+ def clear_async(self) -> windows_foundation.IAsyncAction: ...
178
+ def delete_async(self, id: str, /) -> windows_foundation.IAsyncAction: ...
179
+ @typing.overload
180
+ def get_items_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[WalletItem]]: ...
181
+ @typing.overload
182
+ def get_items_async(self, kind: WalletItemKind, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[WalletItem]]: ...
183
+ def get_wallet_item_async(self, id: str, /) -> windows_foundation.IAsyncOperation[WalletItem]: ...
184
+ def import_item_async(self, stream: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], /) -> windows_foundation.IAsyncOperation[WalletItem]: ...
185
+ @typing.overload
186
+ def show_async(self) -> windows_foundation.IAsyncAction: ...
187
+ @typing.overload
188
+ def show_async(self, id: str, /) -> windows_foundation.IAsyncAction: ...
189
+ def update_async(self, item: typing.Optional[WalletItem], /) -> windows_foundation.IAsyncAction: ...
190
+
191
+ @typing.final
192
+ class WalletManager_Static(type):
193
+ def request_store_async(cls) -> windows_foundation.IAsyncOperation[WalletItemStore]: ...
194
+
195
+ @typing.final
196
+ class WalletManager(winrt.system.Object, metaclass=WalletManager_Static):
197
+ pass
198
+
199
+ @typing.final
200
+ class WalletRelevantLocation(winrt.system.Object):
201
+ @staticmethod
202
+ def _from(obj: winrt.system.Object, /) -> WalletRelevantLocation: ...
203
+ def __new__(cls: typing.Type[WalletRelevantLocation]) -> WalletRelevantLocation: ...
204
+ @_property
205
+ def position(self) -> windows_devices_geolocation.BasicGeoposition: ...
206
+ @position.setter
207
+ def position(self, value: windows_devices_geolocation.BasicGeoposition) -> None: ...
208
+ @_property
209
+ def display_message(self) -> str: ...
210
+ @display_message.setter
211
+ def display_message(self, value: str) -> None: ...
212
+
213
+ @typing.final
214
+ class WalletTransaction(winrt.system.Object):
215
+ @staticmethod
216
+ def _from(obj: winrt.system.Object, /) -> WalletTransaction: ...
217
+ def __new__(cls: typing.Type[WalletTransaction]) -> WalletTransaction: ...
218
+ @_property
219
+ def transaction_date(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
220
+ @transaction_date.setter
221
+ def transaction_date(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
222
+ @_property
223
+ def is_launchable(self) -> bool: ...
224
+ @is_launchable.setter
225
+ def is_launchable(self, value: bool) -> None: ...
226
+ @_property
227
+ def ignore_time_of_day(self) -> bool: ...
228
+ @ignore_time_of_day.setter
229
+ def ignore_time_of_day(self, value: bool) -> None: ...
230
+ @_property
231
+ def display_location(self) -> str: ...
232
+ @display_location.setter
233
+ def display_location(self, value: str) -> None: ...
234
+ @_property
235
+ def display_amount(self) -> str: ...
236
+ @display_amount.setter
237
+ def display_amount(self, value: str) -> None: ...
238
+ @_property
239
+ def description(self) -> str: ...
240
+ @description.setter
241
+ def description(self, value: str) -> None: ...
242
+
243
+ @typing.final
244
+ class WalletVerb(winrt.system.Object):
245
+ @staticmethod
246
+ def _from(obj: winrt.system.Object, /) -> WalletVerb: ...
247
+ def __new__(cls: typing.Type[WalletVerb], name: str) -> WalletVerb: ...
248
+ @_property
249
+ def name(self) -> str: ...
250
+ @name.setter
251
+ def name(self, value: str) -> None: ...
252
+
@@ -0,0 +1,83 @@
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_applicationmodel_wallet
7
+
8
+ __all__ = [
9
+ "WalletActionKind",
10
+ "WalletBarcodeSymbology",
11
+ "WalletDetailViewPosition",
12
+ "WalletItemKind",
13
+ "WalletSummaryViewPosition",
14
+ "WalletBarcode",
15
+ "WalletItem",
16
+ "WalletItemCustomProperty",
17
+ "WalletItemStore",
18
+ "WalletManager",
19
+ "WalletRelevantLocation",
20
+ "WalletTransaction",
21
+ "WalletVerb",
22
+ ]
23
+
24
+ class WalletActionKind(enum.IntEnum):
25
+ OPEN_ITEM = 0
26
+ TRANSACTION = 1
27
+ MORE_TRANSACTIONS = 2
28
+ MESSAGE = 3
29
+ VERB = 4
30
+
31
+ class WalletBarcodeSymbology(enum.IntEnum):
32
+ INVALID = 0
33
+ UPCA = 1
34
+ UPCE = 2
35
+ EAN13 = 3
36
+ EAN8 = 4
37
+ ITF = 5
38
+ CODE39 = 6
39
+ CODE128 = 7
40
+ QR = 8
41
+ PDF417 = 9
42
+ AZTEC = 10
43
+ CUSTOM = 100000
44
+
45
+ class WalletDetailViewPosition(enum.IntEnum):
46
+ HIDDEN = 0
47
+ HEADER_FIELD1 = 1
48
+ HEADER_FIELD2 = 2
49
+ PRIMARY_FIELD1 = 3
50
+ PRIMARY_FIELD2 = 4
51
+ SECONDARY_FIELD1 = 5
52
+ SECONDARY_FIELD2 = 6
53
+ SECONDARY_FIELD3 = 7
54
+ SECONDARY_FIELD4 = 8
55
+ SECONDARY_FIELD5 = 9
56
+ CENTER_FIELD1 = 10
57
+ FOOTER_FIELD1 = 11
58
+ FOOTER_FIELD2 = 12
59
+ FOOTER_FIELD3 = 13
60
+ FOOTER_FIELD4 = 14
61
+
62
+ class WalletItemKind(enum.IntEnum):
63
+ INVALID = 0
64
+ DEAL = 1
65
+ GENERAL = 2
66
+ PAYMENT_INSTRUMENT = 3
67
+ TICKET = 4
68
+ BOARDING_PASS = 5
69
+ MEMBERSHIP_CARD = 6
70
+
71
+ class WalletSummaryViewPosition(enum.IntEnum):
72
+ HIDDEN = 0
73
+ FIELD1 = 1
74
+ FIELD2 = 2
75
+
76
+ WalletBarcode = _winrt_windows_applicationmodel_wallet.WalletBarcode
77
+ WalletItem = _winrt_windows_applicationmodel_wallet.WalletItem
78
+ WalletItemCustomProperty = _winrt_windows_applicationmodel_wallet.WalletItemCustomProperty
79
+ WalletItemStore = _winrt_windows_applicationmodel_wallet.WalletItemStore
80
+ WalletManager = _winrt_windows_applicationmodel_wallet.WalletManager
81
+ WalletRelevantLocation = _winrt_windows_applicationmodel_wallet.WalletRelevantLocation
82
+ WalletTransaction = _winrt_windows_applicationmodel_wallet.WalletTransaction
83
+ WalletVerb = _winrt_windows_applicationmodel_wallet.WalletVerb
File without changes
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.ApplicationModel.Wallet
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.Devices.Geolocation[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
+ Requires-Dist: winrt-Windows.UI[all] ==2.2.0 ; extra == 'all'
22
+
23
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
24
+
25
+ # winrt-Windows.ApplicationModel.Wallet
26
+
27
+ Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Wallet` namespace.
28
+
29
+ This package provides the `winrt.windows.applicationmodel.wallet` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_applicationmodel_wallet.cp313-win32.pyd,sha256=hNHtBdOJa0e29ZXlQvQ_AkQkU8qFIoH0e7FMVptVsLE,226816
2
+ winrt/_winrt_windows_applicationmodel_wallet.pyi,sha256=-EAWSaEo_xBL3CsGSDBeIW16r4-a2FCw-FQvSAQeYCY,11618
3
+ winrt/windows/applicationmodel/wallet/__init__.py,sha256=5pKFnYU1EnYU0Q3ePvNSCxBtYPxVu0jhMeofxvfP9lo,2113
4
+ winrt/windows/applicationmodel/wallet/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.ApplicationModel.Wallet-2.2.0.dist-info/METADATA,sha256=qfd89Q-kBILBby27CrmeAqeb33tYFeyOgxFx-aJgXmE,1377
6
+ winrt_Windows.ApplicationModel.Wallet-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
7
+ winrt_Windows.ApplicationModel.Wallet-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.ApplicationModel.Wallet-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
+