pyobjc-framework-PassKit 10.2__tar.gz → 11.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.
- pyobjc_framework_passkit-11.0/Lib/PassKit/__init__.py +72 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/Lib/PassKit/_metadata.py +153 -5
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/Lib/pyobjc_framework_PassKit.egg-info/PKG-INFO +5 -5
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/Lib/pyobjc_framework_PassKit.egg-info/SOURCES.txt +6 -6
- pyobjc_framework_passkit-11.0/Lib/pyobjc_framework_PassKit.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_passkit-11.0/Lib/pyobjc_framework_PassKit.egg-info/requires.txt +2 -0
- pyobjc_framework_passkit-11.0/Modules/_PassKit.m +67 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/Modules/pyobjc-api.h +1 -1
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/Modules/pyobjc-compat.h +80 -5
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PKG-INFO +5 -5
- pyobjc_framework_passkit-11.0/PyObjCTest/test_pkaddidentitydocumentconfiguration.py +13 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkconstants.py +5 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkerror.py +1 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkpaymentrequest.py +5 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/metadata/PassKit.fwinfo +1 -0
- pyobjc-framework-PassKit-10.2/metadata/raw/arm64-14.4.fwinfo → pyobjc_framework_passkit-11.0/metadata/raw/arm64-14.5.fwinfo +24 -2
- pyobjc_framework_passkit-11.0/metadata/raw/arm64-15.0.fwinfo +11883 -0
- pyobjc-framework-PassKit-10.2/metadata/raw/x86_64-14.4.fwinfo → pyobjc_framework_passkit-11.0/metadata/raw/x86_64-14.5.fwinfo +24 -2
- pyobjc_framework_passkit-11.0/metadata/raw/x86_64-15.0.fwinfo +11883 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/pyobjc_setup.py +121 -27
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/setup.py +2 -3
- pyobjc-framework-PassKit-10.2/Lib/PassKit/__init__.py +0 -37
- pyobjc-framework-PassKit-10.2/Lib/pyobjc_framework_PassKit.egg-info/requires.txt +0 -2
- pyobjc-framework-PassKit-10.2/Modules/_PassKit.m +0 -33
- pyobjc-framework-PassKit-10.2/metadata/raw/arm64-12.0.fwinfo +0 -8109
- pyobjc-framework-PassKit-10.2/metadata/raw/arm64-13.0.fwinfo +0 -10786
- pyobjc-framework-PassKit-10.2/metadata/raw/x86_64-12.0.fwinfo +0 -8109
- pyobjc-framework-PassKit-10.2/metadata/raw/x86_64-13.0.fwinfo +0 -10786
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/Lib/pyobjc_framework_PassKit.egg-info/dependency_links.txt +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/Lib/pyobjc_framework_PassKit.egg-info/not-zip-safe +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/Lib/pyobjc_framework_PassKit.egg-info/top_level.txt +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/License.txt +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/MANIFEST.in +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/Modules/_PassKit_protocols.m +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/__init__.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_passkit.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkaddpaymentpassrequest.py +0 -0
- /pyobjc-framework-PassKit-10.2/PyObjCTest/test_PKAddShareablePassConfiguration.py → /pyobjc_framework_passkit-11.0/PyObjCTest/test_pkaddshareablepassconfiguration.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkbarcodeeventmetadatarequest.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkdisbursementrequest.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkissuerprovisioningextensionstatus.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkpass.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkpasslibrary.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkpaymentauthorizationcontroller.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkpaymentauthorizationviewcontroller.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkpaymentauthorizationviewcontrollerdelegate.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkpaymentinformationeventextension.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkpaymentmethod.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkpaymentpass.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkpaymentsummaryitem.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pksecureelementpass.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pksuicapassproperties.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pktransitpassproperties.py +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/metadata/metadata.ini +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/metadata/raw/arm64-12.3.fwinfo +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/metadata/raw/arm64-13.3.fwinfo +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/metadata/raw/x86_64-11.0.fwinfo +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/metadata/raw/x86_64-12.3.fwinfo +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/metadata/raw/x86_64-13.3.fwinfo +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/pyproject.toml +0 -0
- {pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/setup.cfg +0 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the PassKit framework.
|
|
3
|
+
|
|
4
|
+
This module does not contain docstrings for the wrapped code, check Apple's
|
|
5
|
+
documentation for details on how to use these functions and classes.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def _setup():
|
|
10
|
+
import sys
|
|
11
|
+
|
|
12
|
+
import Foundation
|
|
13
|
+
import objc
|
|
14
|
+
from . import _metadata, _PassKit
|
|
15
|
+
|
|
16
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
17
|
+
name="PassKit",
|
|
18
|
+
frameworkIdentifier="com.apple.PassKit",
|
|
19
|
+
frameworkPath=objc.pathForFramework(
|
|
20
|
+
"/System/Library/Frameworks/PassKit.framework"
|
|
21
|
+
),
|
|
22
|
+
globals_dict=globals(),
|
|
23
|
+
inline_list=None,
|
|
24
|
+
parents=(
|
|
25
|
+
_PassKit,
|
|
26
|
+
Foundation,
|
|
27
|
+
),
|
|
28
|
+
metadict=_metadata.__dict__,
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
globals()["__dir__"] = dir_func
|
|
32
|
+
globals()["__getattr__"] = getattr_func
|
|
33
|
+
|
|
34
|
+
for cls, sel in (
|
|
35
|
+
("PKIssuerProvisioningExtensionPassEntry", b"init"),
|
|
36
|
+
("PKPaymentOrderDetails", b"init"),
|
|
37
|
+
("PKPaymentOrderDetails", b"new"),
|
|
38
|
+
("PKPaymentTokenContext", b"init"),
|
|
39
|
+
("PKDeferredPaymentRequest", b"init"),
|
|
40
|
+
("PKPayLaterView", b"init"),
|
|
41
|
+
("PKPayLaterView", b"new"),
|
|
42
|
+
("PKPayLaterView", b"initWithFrame:"),
|
|
43
|
+
("PKPayLaterView", b"initWithCoder:"),
|
|
44
|
+
("PKIdentityButton", b"initWithFrame:"),
|
|
45
|
+
("PKIdentityButton", b"initWithFrame:primaryAction:"),
|
|
46
|
+
("PKIdentityElement", b"init"),
|
|
47
|
+
("PKIdentityElement", b"new"),
|
|
48
|
+
("PKAddSecureElementPassConfiguration", b"init"),
|
|
49
|
+
("PKAddSecureElementPassConfiguration", b"new"),
|
|
50
|
+
("PKDateComponentsRange", b"init"),
|
|
51
|
+
("PKStoredValuePassBalance", b"init"),
|
|
52
|
+
("PKStoredValuePassBalance", b"new"),
|
|
53
|
+
("PKIdentityDocument", b"init"),
|
|
54
|
+
("PKIdentityDocument", b"new"),
|
|
55
|
+
("PKIdentityIntentToStore", b"init"),
|
|
56
|
+
("PKIdentityIntentToStore", b"new"),
|
|
57
|
+
("PKAutomaticReloadPaymentRequest", b"init"),
|
|
58
|
+
("PKShareSecureElementPassViewController", b"init"),
|
|
59
|
+
("PKVehicleConnectionSession", b"init"),
|
|
60
|
+
("PKVehicleConnectionSession", b"new"),
|
|
61
|
+
("PKRecurringPaymentRequest", b"init"),
|
|
62
|
+
("PKShareablePassMetadataPreview", b"init"),
|
|
63
|
+
("PKShareablePassMetadataPreview", b"new"),
|
|
64
|
+
("PKIdentityDocumentMetadata", b"init"),
|
|
65
|
+
("PKIdentityDocumentMetadata", b"new"),
|
|
66
|
+
):
|
|
67
|
+
objc.registerUnavailableMethod(cls, sel)
|
|
68
|
+
|
|
69
|
+
del sys.modules["PassKit._metadata"]
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
globals().pop("_setup")()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update:
|
|
3
|
+
# Last update: Thu Jun 20 20:14:58 2024
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -30,8 +30,8 @@ else:
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
misc = {}
|
|
33
|
-
constants = """$PKAddSecureElementPassErrorDomain$PKContactFieldEmailAddress$PKContactFieldName$PKContactFieldPhoneNumber$PKContactFieldPhoneticName$PKContactFieldPostalAddress$PKDisbursementErrorContactFieldUserInfoKey$PKDisbursementErrorDomain$PKEncryptionSchemeECC_V2$PKEncryptionSchemeRSA_V2$PKIdentityErrorDomain$PKPassKitErrorDomain$PKPassLibraryAddedPassesUserInfoKey$PKPassLibraryDidChangeNotification$PKPassLibraryPassTypeIdentifierUserInfoKey$PKPassLibraryRecoveredPassesUserInfoKey$PKPassLibraryRemotePaymentPassesDidChangeNotification$PKPassLibraryRemovedPassInfosUserInfoKey$PKPassLibraryReplacementPassesUserInfoKey$PKPassLibrarySerialNumberUserInfoKey$PKPaymentErrorContactFieldUserInfoKey$PKPaymentErrorDomain$PKPaymentErrorPostalAddressUserInfoKey$PKPaymentNetworkAmex$PKPaymentNetworkBancomat$PKPaymentNetworkBancontact$PKPaymentNetworkBarcode$PKPaymentNetworkCarteBancaire$PKPaymentNetworkCarteBancaires$PKPaymentNetworkCartesBancaires$PKPaymentNetworkChinaUnionPay$PKPaymentNetworkDankort$PKPaymentNetworkDiscover$PKPaymentNetworkEftpos$PKPaymentNetworkElectron$PKPaymentNetworkElo$PKPaymentNetworkGirocard$PKPaymentNetworkIDCredit$PKPaymentNetworkInterac$PKPaymentNetworkJCB$PKPaymentNetworkMada$PKPaymentNetworkMaestro$PKPaymentNetworkMasterCard$PKPaymentNetworkMeeza$PKPaymentNetworkMir$PKPaymentNetworkNanaco$PKPaymentNetworkPagoBancomat$PKPaymentNetworkPostFinance$PKPaymentNetworkPrivateLabel$PKPaymentNetworkQuicPay$PKPaymentNetworkSuica$PKPaymentNetworkTmoney$PKPaymentNetworkVPay$PKPaymentNetworkVisa$PKPaymentNetworkWaon$PKShareSecureElementPassErrorDomain$PKStoredValuePassBalanceTypeCash$PKStoredValuePassBalanceTypeLoyaltyPoints$"""
|
|
34
|
-
enums = """$PKAddPaymentPassErrorSystemCancelled@2$PKAddPaymentPassErrorUnsupported@0$PKAddPaymentPassErrorUserCancelled@1$PKAddPaymentPassStyleAccess@1$PKAddPaymentPassStylePayment@0$PKAddSecureElementPassDeviceNotReadyError@5$PKAddSecureElementPassDeviceNotSupportedError@4$PKAddSecureElementPassInvalidConfigurationError@3$PKAddSecureElementPassOSVersionNotSupportedError@6$PKAddSecureElementPassUnavailableError@2$PKAddSecureElementPassUnknownError@0$PKAddSecureElementPassUserCanceledError@1$PKAddShareablePassConfigurationPrimaryActionAdd@0$PKAddShareablePassConfigurationPrimaryActionShare@1$PKAddressFieldAll@15$PKAddressFieldEmail@4$PKAddressFieldName@8$PKAddressFieldNone@0$PKAddressFieldPhone@2$PKAddressFieldPostalAddress@1$PKApplePayLaterAvailable@0$PKApplePayLaterUnavailableItemIneligible@1$PKApplePayLaterUnavailableRecurringTransaction@2$PKAutomaticPassPresentationSuppressionResultAlreadyPresenting@1$PKAutomaticPassPresentationSuppressionResultCancelled@3$PKAutomaticPassPresentationSuppressionResultDenied@2$PKAutomaticPassPresentationSuppressionResultNotSupported@0$PKAutomaticPassPresentationSuppressionResultSuccess@4$PKBarcodeEventConfigurationDataTypeSigningCertificate@2$PKBarcodeEventConfigurationDataTypeSigningKeyMaterial@1$PKBarcodeEventConfigurationDataTypeUnknown@0$PKDisbursementRecipientContactInvalidError@2$PKDisbursementRequestScheduleFuture@1$PKDisbursementRequestScheduleOneTime@0$PKDisbursementUnknownError@-1$PKDisbursementUnsupportedCardError@1$PKIdentityErrorCancelled@2$PKIdentityErrorInvalidElement@7$PKIdentityErrorInvalidNonce@6$PKIdentityErrorNetworkUnavailable@3$PKIdentityErrorNoElementsRequested@4$PKIdentityErrorNotSupported@1$PKIdentityErrorRequestAlreadyInProgress@5$PKIdentityErrorUnknown@0$PKInvalidDataError@1$PKInvalidSignature@3$PKIssuerProvisioningExtensionAuthorizationResultAuthorized@1$PKIssuerProvisioningExtensionAuthorizationResultCanceled@0$PKMerchantCapability3DS@1$PKMerchantCapabilityCredit@4$PKMerchantCapabilityDebit@8$PKMerchantCapabilityEMV@2$PKMerchantCapabilityInstantFundsOut@128$PKNotEntitledError@4$PKPassLibraryDidAddPasses@0$PKPassLibraryDidCancelAddPasses@2$PKPassLibraryShouldReviewPasses@1$PKPassTypeAny@18446744073709551615$PKPassTypeBarcode@0$PKPassTypePayment@1$PKPassTypeSecureElement@1$PKPaymentAuthorizationStatusFailure@1$PKPaymentAuthorizationStatusInvalidBillingPostalAddress@2$PKPaymentAuthorizationStatusInvalidShippingContact@4$PKPaymentAuthorizationStatusInvalidShippingPostalAddress@3$PKPaymentAuthorizationStatusPINIncorrect@6$PKPaymentAuthorizationStatusPINLockout@7$PKPaymentAuthorizationStatusPINRequired@5$PKPaymentAuthorizationStatusSuccess@0$PKPaymentBillingContactInvalidError@2$PKPaymentButtonStyleAutomatic@3$PKPaymentButtonStyleBlack@2$PKPaymentButtonStyleWhite@0$PKPaymentButtonStyleWhiteOutline@1$PKPaymentButtonTypeAddMoney@9$PKPaymentButtonTypeBook@6$PKPaymentButtonTypeBuy@1$PKPaymentButtonTypeCheckout@5$PKPaymentButtonTypeContinue@16$PKPaymentButtonTypeContribute@14$PKPaymentButtonTypeDonate@4$PKPaymentButtonTypeInStore@3$PKPaymentButtonTypeOrder@11$PKPaymentButtonTypePlain@0$PKPaymentButtonTypeReload@8$PKPaymentButtonTypeRent@12$PKPaymentButtonTypeSetUp@2$PKPaymentButtonTypeSubscribe@7$PKPaymentButtonTypeSupport@13$PKPaymentButtonTypeTip@15$PKPaymentButtonTypeTopUp@10$PKPaymentCouponCodeExpiredError@5$PKPaymentCouponCodeInvalidError@4$PKPaymentMethodTypeCredit@2$PKPaymentMethodTypeDebit@1$PKPaymentMethodTypeEMoney@5$PKPaymentMethodTypePrepaid@3$PKPaymentMethodTypeStore@4$PKPaymentMethodTypeUnknown@0$PKPaymentPassActivationStateActivated@0$PKPaymentPassActivationStateActivating@2$PKPaymentPassActivationStateDeactivated@4$PKPaymentPassActivationStateRequiresActivation@1$PKPaymentPassActivationStateSuspended@3$PKPaymentShippingAddressUnserviceableError@3$PKPaymentShippingContactInvalidError@1$PKPaymentSummaryItemTypeFinal@0$PKPaymentSummaryItemTypePending@1$PKPaymentUnknownError@-1$PKRadioTechnologyBluetooth@2$PKRadioTechnologyNFC@1$PKRadioTechnologyNone@0$PKSecureElementPassActivationStateActivated@0$PKSecureElementPassActivationStateActivating@2$PKSecureElementPassActivationStateDeactivated@4$PKSecureElementPassActivationStateRequiresActivation@1$PKSecureElementPassActivationStateSuspended@3$PKShareSecureElementPassSetupError@1$PKShareSecureElementPassUnknownError@0$PKShippingContactEditingModeAvailable@1$PKShippingContactEditingModeEnabled@1$PKShippingContactEditingModeStorePickup@2$PKShippingTypeDelivery@1$PKShippingTypeServicePickup@3$PKShippingTypeShipping@0$PKShippingTypeStorePickup@2$PKUnknownError@-1$PKUnsupportedVersionError@2$PKVehicleConnectionErrorCodeSessionNotActive@2$PKVehicleConnectionErrorCodeSessionUnableToStart@1$PKVehicleConnectionErrorCodeUnknown@0$PKVehicleConnectionSessionConnectionStateConnected@1$PKVehicleConnectionSessionConnectionStateConnecting@2$PKVehicleConnectionSessionConnectionStateDisconnected@0$PKVehicleConnectionSessionConnectionStateFailedToConnect@3$"""
|
|
33
|
+
constants = """$PKAddSecureElementPassErrorDomain$PKContactFieldEmailAddress$PKContactFieldName$PKContactFieldPhoneNumber$PKContactFieldPhoneticName$PKContactFieldPostalAddress$PKDisbursementErrorContactFieldUserInfoKey$PKDisbursementErrorDomain$PKEncryptionSchemeECC_V2$PKEncryptionSchemeRSA_V2$PKIdentityErrorDomain$PKMerchantCategoryCodeNone@s$PKPassKitErrorDomain$PKPassLibraryAddedPassesUserInfoKey$PKPassLibraryDidChangeNotification$PKPassLibraryPassTypeIdentifierUserInfoKey$PKPassLibraryRecoveredPassesUserInfoKey$PKPassLibraryRemotePaymentPassesDidChangeNotification$PKPassLibraryRemovedPassInfosUserInfoKey$PKPassLibraryReplacementPassesUserInfoKey$PKPassLibrarySerialNumberUserInfoKey$PKPaymentErrorContactFieldUserInfoKey$PKPaymentErrorDomain$PKPaymentErrorPostalAddressUserInfoKey$PKPaymentNetworkAmex$PKPaymentNetworkBancomat$PKPaymentNetworkBancontact$PKPaymentNetworkBankAxept$PKPaymentNetworkBarcode$PKPaymentNetworkCarteBancaire$PKPaymentNetworkCarteBancaires$PKPaymentNetworkCartesBancaires$PKPaymentNetworkChinaUnionPay$PKPaymentNetworkDankort$PKPaymentNetworkDiscover$PKPaymentNetworkEftpos$PKPaymentNetworkElectron$PKPaymentNetworkElo$PKPaymentNetworkGirocard$PKPaymentNetworkIDCredit$PKPaymentNetworkInterac$PKPaymentNetworkJCB$PKPaymentNetworkMada$PKPaymentNetworkMaestro$PKPaymentNetworkMasterCard$PKPaymentNetworkMeeza$PKPaymentNetworkMir$PKPaymentNetworkNAPAS$PKPaymentNetworkNanaco$PKPaymentNetworkPagoBancomat$PKPaymentNetworkPostFinance$PKPaymentNetworkPrivateLabel$PKPaymentNetworkQuicPay$PKPaymentNetworkSuica$PKPaymentNetworkTmoney$PKPaymentNetworkVPay$PKPaymentNetworkVisa$PKPaymentNetworkWaon$PKShareSecureElementPassErrorDomain$PKStoredValuePassBalanceTypeCash$PKStoredValuePassBalanceTypeLoyaltyPoints$"""
|
|
34
|
+
enums = """$PKAddPaymentPassErrorSystemCancelled@2$PKAddPaymentPassErrorUnsupported@0$PKAddPaymentPassErrorUserCancelled@1$PKAddPaymentPassStyleAccess@1$PKAddPaymentPassStylePayment@0$PKAddSecureElementPassDeviceNotReadyError@5$PKAddSecureElementPassDeviceNotSupportedError@4$PKAddSecureElementPassGenericError@0$PKAddSecureElementPassInvalidConfigurationError@3$PKAddSecureElementPassOSVersionNotSupportedError@6$PKAddSecureElementPassUnavailableError@2$PKAddSecureElementPassUnknownError@0$PKAddSecureElementPassUserCanceledError@1$PKAddShareablePassConfigurationPrimaryActionAdd@0$PKAddShareablePassConfigurationPrimaryActionShare@1$PKAddressFieldAll@15$PKAddressFieldEmail@4$PKAddressFieldName@8$PKAddressFieldNone@0$PKAddressFieldPhone@2$PKAddressFieldPostalAddress@1$PKApplePayLaterAvailable@0$PKApplePayLaterUnavailableItemIneligible@1$PKApplePayLaterUnavailableRecurringTransaction@2$PKAutomaticPassPresentationSuppressionResultAlreadyPresenting@1$PKAutomaticPassPresentationSuppressionResultCancelled@3$PKAutomaticPassPresentationSuppressionResultDenied@2$PKAutomaticPassPresentationSuppressionResultNotSupported@0$PKAutomaticPassPresentationSuppressionResultSuccess@4$PKBarcodeEventConfigurationDataTypeSigningCertificate@2$PKBarcodeEventConfigurationDataTypeSigningKeyMaterial@1$PKBarcodeEventConfigurationDataTypeUnknown@0$PKDisbursementRecipientContactInvalidError@2$PKDisbursementRequestScheduleFuture@1$PKDisbursementRequestScheduleOneTime@0$PKDisbursementUnknownError@-1$PKDisbursementUnsupportedCardError@1$PKIdentityErrorCancelled@2$PKIdentityErrorInvalidElement@7$PKIdentityErrorInvalidNonce@6$PKIdentityErrorNetworkUnavailable@3$PKIdentityErrorNoElementsRequested@4$PKIdentityErrorNotSupported@1$PKIdentityErrorRegionNotSupported@8$PKIdentityErrorRequestAlreadyInProgress@5$PKIdentityErrorUnknown@0$PKInvalidDataError@1$PKInvalidSignature@3$PKIssuerProvisioningExtensionAuthorizationResultAuthorized@1$PKIssuerProvisioningExtensionAuthorizationResultCanceled@0$PKMerchantCapability3DS@1$PKMerchantCapabilityCredit@4$PKMerchantCapabilityDebit@8$PKMerchantCapabilityEMV@2$PKMerchantCapabilityInstantFundsOut@128$PKNotEntitledError@4$PKPassLibraryDidAddPasses@0$PKPassLibraryDidCancelAddPasses@2$PKPassLibraryShouldReviewPasses@1$PKPassTypeAny@18446744073709551615$PKPassTypeBarcode@0$PKPassTypePayment@1$PKPassTypeSecureElement@1$PKPaymentAuthorizationStatusFailure@1$PKPaymentAuthorizationStatusInvalidBillingPostalAddress@2$PKPaymentAuthorizationStatusInvalidShippingContact@4$PKPaymentAuthorizationStatusInvalidShippingPostalAddress@3$PKPaymentAuthorizationStatusPINIncorrect@6$PKPaymentAuthorizationStatusPINLockout@7$PKPaymentAuthorizationStatusPINRequired@5$PKPaymentAuthorizationStatusSuccess@0$PKPaymentBillingContactInvalidError@2$PKPaymentButtonStyleAutomatic@3$PKPaymentButtonStyleBlack@2$PKPaymentButtonStyleWhite@0$PKPaymentButtonStyleWhiteOutline@1$PKPaymentButtonTypeAddMoney@9$PKPaymentButtonTypeBook@6$PKPaymentButtonTypeBuy@1$PKPaymentButtonTypeCheckout@5$PKPaymentButtonTypeContinue@16$PKPaymentButtonTypeContribute@14$PKPaymentButtonTypeDonate@4$PKPaymentButtonTypeInStore@3$PKPaymentButtonTypeOrder@11$PKPaymentButtonTypePlain@0$PKPaymentButtonTypeReload@8$PKPaymentButtonTypeRent@12$PKPaymentButtonTypeSetUp@2$PKPaymentButtonTypeSubscribe@7$PKPaymentButtonTypeSupport@13$PKPaymentButtonTypeTip@15$PKPaymentButtonTypeTopUp@10$PKPaymentCouponCodeExpiredError@5$PKPaymentCouponCodeInvalidError@4$PKPaymentMethodTypeCredit@2$PKPaymentMethodTypeDebit@1$PKPaymentMethodTypeEMoney@5$PKPaymentMethodTypePrepaid@3$PKPaymentMethodTypeStore@4$PKPaymentMethodTypeUnknown@0$PKPaymentPassActivationStateActivated@0$PKPaymentPassActivationStateActivating@2$PKPaymentPassActivationStateDeactivated@4$PKPaymentPassActivationStateRequiresActivation@1$PKPaymentPassActivationStateSuspended@3$PKPaymentShippingAddressUnserviceableError@3$PKPaymentShippingContactInvalidError@1$PKPaymentSummaryItemTypeFinal@0$PKPaymentSummaryItemTypePending@1$PKPaymentUnknownError@-1$PKRadioTechnologyBluetooth@2$PKRadioTechnologyNFC@1$PKRadioTechnologyNone@0$PKSecureElementPassActivationStateActivated@0$PKSecureElementPassActivationStateActivating@2$PKSecureElementPassActivationStateDeactivated@4$PKSecureElementPassActivationStateRequiresActivation@1$PKSecureElementPassActivationStateSuspended@3$PKShareSecureElementPassSetupError@1$PKShareSecureElementPassUnknownError@0$PKShippingContactEditingModeAvailable@1$PKShippingContactEditingModeEnabled@1$PKShippingContactEditingModeStorePickup@2$PKShippingTypeDelivery@1$PKShippingTypeServicePickup@3$PKShippingTypeShipping@0$PKShippingTypeStorePickup@2$PKUnknownError@-1$PKUnsupportedVersionError@2$PKVehicleConnectionErrorCodeSessionNotActive@2$PKVehicleConnectionErrorCodeSessionUnableToStart@1$PKVehicleConnectionErrorCodeUnknown@0$PKVehicleConnectionSessionConnectionStateConnected@1$PKVehicleConnectionSessionConnectionStateConnecting@2$PKVehicleConnectionSessionConnectionStateDisconnected@0$PKVehicleConnectionSessionConnectionStateFailedToConnect@3$"""
|
|
35
35
|
misc.update(
|
|
36
36
|
{
|
|
37
37
|
"PKShippingContactEditingMode": NewType("PKShippingContactEditingMode", int),
|
|
@@ -85,6 +85,7 @@ misc.update(
|
|
|
85
85
|
misc.update(
|
|
86
86
|
{
|
|
87
87
|
"PKPassLibraryNotificationKey": NewType("PKPassLibraryNotificationKey", str),
|
|
88
|
+
"PKMerchantCategoryCode": NewType("PKMerchantCategoryCode", int),
|
|
88
89
|
"PKContactField": NewType("PKContactField", str),
|
|
89
90
|
"PKPaymentErrorKey": NewType("PKPaymentErrorKey", str),
|
|
90
91
|
"PKEncryptionScheme": NewType("PKEncryptionScheme", str),
|
|
@@ -93,6 +94,7 @@ misc.update(
|
|
|
93
94
|
misc.update({})
|
|
94
95
|
aliases = {
|
|
95
96
|
"PKShippingContactEditingModeEnabled": "PKShippingContactEditingModeAvailable",
|
|
97
|
+
"PKAddSecureElementPassUnknownError": "PKAddSecureElementPassGenericError",
|
|
96
98
|
"PKPassTypePayment": "PKPassTypeSecureElement",
|
|
97
99
|
}
|
|
98
100
|
r = objc.registerMetaDataForSelector
|
|
@@ -107,7 +109,20 @@ try:
|
|
|
107
109
|
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
108
110
|
},
|
|
109
111
|
)
|
|
110
|
-
r(
|
|
112
|
+
r(
|
|
113
|
+
b"NSObject",
|
|
114
|
+
b"completionHandler",
|
|
115
|
+
{
|
|
116
|
+
"required": True,
|
|
117
|
+
"retval": {
|
|
118
|
+
"callable": {
|
|
119
|
+
"retval": {"type": b"v"},
|
|
120
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"q"}},
|
|
121
|
+
},
|
|
122
|
+
"type": b"@?",
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
)
|
|
111
126
|
r(
|
|
112
127
|
b"NSObject",
|
|
113
128
|
b"disbursementAuthorizationController:didAuthorizeWithDisbursementVoucher:",
|
|
@@ -623,13 +638,31 @@ try:
|
|
|
623
638
|
2: {
|
|
624
639
|
"callable": {
|
|
625
640
|
"retval": {"type": b"v"},
|
|
626
|
-
"arguments": {0: {"type": b"^v"}},
|
|
641
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"q"}},
|
|
627
642
|
},
|
|
628
643
|
"type": b"@?",
|
|
629
644
|
}
|
|
630
645
|
},
|
|
631
646
|
},
|
|
632
647
|
)
|
|
648
|
+
r(
|
|
649
|
+
b"PKAddIdentityDocumentConfiguration",
|
|
650
|
+
b"configurationForMetadata:completion:",
|
|
651
|
+
{
|
|
652
|
+
"arguments": {
|
|
653
|
+
3: {
|
|
654
|
+
"callable": {
|
|
655
|
+
"retval": {"type": b"v"},
|
|
656
|
+
"arguments": {
|
|
657
|
+
0: {"type": b"^v"},
|
|
658
|
+
1: {"type": b"@"},
|
|
659
|
+
2: {"type": b"@"},
|
|
660
|
+
},
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
)
|
|
633
666
|
r(
|
|
634
667
|
b"PKAddPaymentPassRequestConfiguration",
|
|
635
668
|
b"requiresFelicaSecureElement",
|
|
@@ -1136,6 +1169,121 @@ try:
|
|
|
1136
1169
|
)
|
|
1137
1170
|
finally:
|
|
1138
1171
|
objc._updatingMetadata(False)
|
|
1172
|
+
|
|
1173
|
+
objc.registerNewKeywordsFromSelector(
|
|
1174
|
+
"PKAddPassMetadataPreview", b"initWithPassThumbnail:localizedDescription:"
|
|
1175
|
+
)
|
|
1176
|
+
objc.registerNewKeywordsFromSelector(
|
|
1177
|
+
"PKAddPaymentPassRequestConfiguration", b"initWithEncryptionScheme:"
|
|
1178
|
+
)
|
|
1179
|
+
objc.registerNewKeywordsFromSelector(
|
|
1180
|
+
"PKAutomaticReloadPaymentRequest",
|
|
1181
|
+
b"initWithPaymentDescription:automaticReloadBilling:managementURL:",
|
|
1182
|
+
)
|
|
1183
|
+
objc.registerNewKeywordsFromSelector(
|
|
1184
|
+
"PKBarcodeEventMetadataResponse", b"initWithPaymentInformation:"
|
|
1185
|
+
)
|
|
1186
|
+
objc.registerNewKeywordsFromSelector(
|
|
1187
|
+
"PKBarcodeEventSignatureResponse", b"initWithSignedData:"
|
|
1188
|
+
)
|
|
1189
|
+
objc.registerNewKeywordsFromSelector(
|
|
1190
|
+
"PKDateComponentsRange", b"initWithStartDateComponents:endDateComponents:"
|
|
1191
|
+
)
|
|
1192
|
+
objc.registerNewKeywordsFromSelector(
|
|
1193
|
+
"PKDeferredPaymentRequest",
|
|
1194
|
+
b"initWithPaymentDescription:deferredBilling:managementURL:",
|
|
1195
|
+
)
|
|
1196
|
+
objc.registerNewKeywordsFromSelector(
|
|
1197
|
+
"PKDisbursementAuthorizationController", b"initWithDisbursementRequest:delegate:"
|
|
1198
|
+
)
|
|
1199
|
+
objc.registerNewKeywordsFromSelector(
|
|
1200
|
+
"PKDisbursementRequest",
|
|
1201
|
+
b"initWithMerchantIdentifier:currencyCode:regionCode:supportedNetworks:merchantCapabilities:summaryItems:",
|
|
1202
|
+
)
|
|
1203
|
+
objc.registerNewKeywordsFromSelector(
|
|
1204
|
+
"PKIssuerProvisioningExtensionPaymentPassEntry",
|
|
1205
|
+
b"initWithIdentifier:title:art:addRequestConfiguration:",
|
|
1206
|
+
)
|
|
1207
|
+
objc.registerNewKeywordsFromSelector(
|
|
1208
|
+
"PKJapanIndividualNumberCardMetadata",
|
|
1209
|
+
b"initWithProvisioningCredentialIdentifier:sharingInstanceIdentifier:cardConfigurationIdentifier:preview:",
|
|
1210
|
+
)
|
|
1211
|
+
objc.registerNewKeywordsFromSelector(
|
|
1212
|
+
"PKJapanIndividualNumberCardMetadata",
|
|
1213
|
+
b"initWithProvisioningCredentialIdentifier:sharingInstanceIdentifier:cardTemplateIdentifier:preview:",
|
|
1214
|
+
)
|
|
1215
|
+
objc.registerNewKeywordsFromSelector("PKLabeledValue", b"initWithLabel:value:")
|
|
1216
|
+
objc.registerNewKeywordsFromSelector("PKPass", b"initWithData:error:")
|
|
1217
|
+
objc.registerNewKeywordsFromSelector(
|
|
1218
|
+
"PKPaymentAuthorizationController", b"initWithDisbursementRequest:"
|
|
1219
|
+
)
|
|
1220
|
+
objc.registerNewKeywordsFromSelector(
|
|
1221
|
+
"PKPaymentAuthorizationController", b"initWithPaymentRequest:"
|
|
1222
|
+
)
|
|
1223
|
+
objc.registerNewKeywordsFromSelector(
|
|
1224
|
+
"PKPaymentAuthorizationResult", b"initWithStatus:errors:"
|
|
1225
|
+
)
|
|
1226
|
+
objc.registerNewKeywordsFromSelector(
|
|
1227
|
+
"PKPaymentAuthorizationViewController", b"initWithDisbursementRequest:"
|
|
1228
|
+
)
|
|
1229
|
+
objc.registerNewKeywordsFromSelector(
|
|
1230
|
+
"PKPaymentAuthorizationViewController", b"initWithPaymentRequest:"
|
|
1231
|
+
)
|
|
1232
|
+
objc.registerNewKeywordsFromSelector(
|
|
1233
|
+
"PKPaymentButton", b"initWithPaymentButtonType:paymentButtonStyle:"
|
|
1234
|
+
)
|
|
1235
|
+
objc.registerNewKeywordsFromSelector("PKPaymentMerchantSession", b"initWithDictionary:")
|
|
1236
|
+
objc.registerNewKeywordsFromSelector(
|
|
1237
|
+
"PKPaymentOrderDetails",
|
|
1238
|
+
b"initWithOrderTypeIdentifier:orderIdentifier:webServiceURL:authenticationToken:",
|
|
1239
|
+
)
|
|
1240
|
+
objc.registerNewKeywordsFromSelector(
|
|
1241
|
+
"PKPaymentRequestCouponCodeUpdate",
|
|
1242
|
+
b"initWithErrors:paymentSummaryItems:shippingMethods:",
|
|
1243
|
+
)
|
|
1244
|
+
objc.registerNewKeywordsFromSelector(
|
|
1245
|
+
"PKPaymentRequestMerchantSessionUpdate", b"initWithStatus:merchantSession:"
|
|
1246
|
+
)
|
|
1247
|
+
objc.registerNewKeywordsFromSelector(
|
|
1248
|
+
"PKPaymentRequestPaymentMethodUpdate", b"initWithErrors:paymentSummaryItems:"
|
|
1249
|
+
)
|
|
1250
|
+
objc.registerNewKeywordsFromSelector(
|
|
1251
|
+
"PKPaymentRequestShippingContactUpdate",
|
|
1252
|
+
b"initWithErrors:paymentSummaryItems:shippingMethods:",
|
|
1253
|
+
)
|
|
1254
|
+
objc.registerNewKeywordsFromSelector(
|
|
1255
|
+
"PKPaymentRequestUpdate", b"initWithPaymentSummaryItems:"
|
|
1256
|
+
)
|
|
1257
|
+
objc.registerNewKeywordsFromSelector(
|
|
1258
|
+
"PKPaymentTokenContext",
|
|
1259
|
+
b"initWithMerchantIdentifier:externalIdentifier:merchantName:merchantDomain:amount:",
|
|
1260
|
+
)
|
|
1261
|
+
objc.registerNewKeywordsFromSelector(
|
|
1262
|
+
"PKRecurringPaymentRequest",
|
|
1263
|
+
b"initWithPaymentDescription:regularBilling:managementURL:",
|
|
1264
|
+
)
|
|
1265
|
+
objc.registerNewKeywordsFromSelector(
|
|
1266
|
+
"PKShareablePassMetadata",
|
|
1267
|
+
b"initWithProvisioningCredentialIdentifier:cardConfigurationIdentifier:sharingInstanceIdentifier:passThumbnailImage:ownerDisplayName:localizedDescription:",
|
|
1268
|
+
)
|
|
1269
|
+
objc.registerNewKeywordsFromSelector(
|
|
1270
|
+
"PKShareablePassMetadata",
|
|
1271
|
+
b"initWithProvisioningCredentialIdentifier:sharingInstanceIdentifier:cardConfigurationIdentifier:preview:",
|
|
1272
|
+
)
|
|
1273
|
+
objc.registerNewKeywordsFromSelector(
|
|
1274
|
+
"PKShareablePassMetadata",
|
|
1275
|
+
b"initWithProvisioningCredentialIdentifier:sharingInstanceIdentifier:cardTemplateIdentifier:preview:",
|
|
1276
|
+
)
|
|
1277
|
+
objc.registerNewKeywordsFromSelector(
|
|
1278
|
+
"PKShareablePassMetadata",
|
|
1279
|
+
b"initWithProvisioningCredentialIdentifier:sharingInstanceIdentifier:passThumbnailImage:ownerDisplayName:localizedDescription:accountHash:templateIdentifier:relyingPartyIdentifier:requiresUnifiedAccessCapableDevice:",
|
|
1280
|
+
)
|
|
1281
|
+
objc.registerNewKeywordsFromSelector(
|
|
1282
|
+
"PKShareablePassMetadataPreview", b"initWithPassThumbnail:localizedDescription:"
|
|
1283
|
+
)
|
|
1284
|
+
objc.registerNewKeywordsFromSelector(
|
|
1285
|
+
"PKShareablePassMetadataPreview", b"initWithTemplateIdentifier:"
|
|
1286
|
+
)
|
|
1139
1287
|
expressions = {}
|
|
1140
1288
|
|
|
1141
1289
|
# END OF FILE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-PassKit
|
|
3
|
-
Version:
|
|
3
|
+
Version: 11.0
|
|
4
4
|
Summary: Wrappers for the framework PassKit on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -18,20 +18,20 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
18
18
|
Classifier: Programming Language :: Python
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.9
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.10
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.12
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
27
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
28
|
Classifier: Programming Language :: Objective C
|
|
29
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.9
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
33
|
+
Requires-Dist: pyobjc-core>=11.0
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=11.0
|
|
35
35
|
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
36
36
|
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
37
37
|
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
@@ -9,6 +9,7 @@ Lib/pyobjc_framework_PassKit.egg-info/PKG-INFO
|
|
|
9
9
|
Lib/pyobjc_framework_PassKit.egg-info/SOURCES.txt
|
|
10
10
|
Lib/pyobjc_framework_PassKit.egg-info/dependency_links.txt
|
|
11
11
|
Lib/pyobjc_framework_PassKit.egg-info/not-zip-safe
|
|
12
|
+
Lib/pyobjc_framework_PassKit.egg-info/pyobjc-build-info.txt
|
|
12
13
|
Lib/pyobjc_framework_PassKit.egg-info/requires.txt
|
|
13
14
|
Lib/pyobjc_framework_PassKit.egg-info/top_level.txt
|
|
14
15
|
Modules/_PassKit.m
|
|
@@ -18,6 +19,7 @@ Modules/pyobjc-compat.h
|
|
|
18
19
|
PyObjCTest/__init__.py
|
|
19
20
|
PyObjCTest/test_PKAddShareablePassConfiguration.py
|
|
20
21
|
PyObjCTest/test_passkit.py
|
|
22
|
+
PyObjCTest/test_pkaddidentitydocumentconfiguration.py
|
|
21
23
|
PyObjCTest/test_pkaddpaymentpassrequest.py
|
|
22
24
|
PyObjCTest/test_pkaddshareablepassconfiguration.py
|
|
23
25
|
PyObjCTest/test_pkbarcodeeventmetadatarequest.py
|
|
@@ -40,14 +42,12 @@ PyObjCTest/test_pksuicapassproperties.py
|
|
|
40
42
|
PyObjCTest/test_pktransitpassproperties.py
|
|
41
43
|
metadata/PassKit.fwinfo
|
|
42
44
|
metadata/metadata.ini
|
|
43
|
-
metadata/raw/arm64-12.0.fwinfo
|
|
44
45
|
metadata/raw/arm64-12.3.fwinfo
|
|
45
|
-
metadata/raw/arm64-13.0.fwinfo
|
|
46
46
|
metadata/raw/arm64-13.3.fwinfo
|
|
47
|
-
metadata/raw/arm64-14.
|
|
47
|
+
metadata/raw/arm64-14.5.fwinfo
|
|
48
|
+
metadata/raw/arm64-15.0.fwinfo
|
|
48
49
|
metadata/raw/x86_64-11.0.fwinfo
|
|
49
|
-
metadata/raw/x86_64-12.0.fwinfo
|
|
50
50
|
metadata/raw/x86_64-12.3.fwinfo
|
|
51
|
-
metadata/raw/x86_64-13.0.fwinfo
|
|
52
51
|
metadata/raw/x86_64-13.3.fwinfo
|
|
53
|
-
metadata/raw/x86_64-14.
|
|
52
|
+
metadata/raw/x86_64-14.5.fwinfo
|
|
53
|
+
metadata/raw/x86_64-15.0.fwinfo
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
#define PY_SSIZE_T_CLEAN
|
|
2
|
+
#include "Python.h"
|
|
3
|
+
#include "pyobjc-api.h"
|
|
4
|
+
|
|
5
|
+
#import <Foundation/Foundation.h>
|
|
6
|
+
#import <PassKit/PassKit.h>
|
|
7
|
+
|
|
8
|
+
/* We include the source code here instead of
|
|
9
|
+
* using the linker due to limitations in pyobjc-api.h
|
|
10
|
+
*/
|
|
11
|
+
#include "_PassKit_protocols.m"
|
|
12
|
+
|
|
13
|
+
static PyMethodDef mod_methods[] = {
|
|
14
|
+
{0, 0, 0, 0} /* sentinel */
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
static int mod_exec_module(PyObject* m)
|
|
18
|
+
{
|
|
19
|
+
return 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static struct PyModuleDef_Slot mod_slots[] = {
|
|
23
|
+
{
|
|
24
|
+
.slot = Py_mod_exec,
|
|
25
|
+
.value = (void*)mod_exec_module
|
|
26
|
+
},
|
|
27
|
+
#if PY_VERSION_HEX >= 0x030c0000
|
|
28
|
+
{
|
|
29
|
+
/* This extension does not use the CPython API other than initializing
|
|
30
|
+
* the module, hence is safe with subinterpreters and per-interpreter
|
|
31
|
+
* GILs
|
|
32
|
+
*/
|
|
33
|
+
.slot = Py_mod_multiple_interpreters,
|
|
34
|
+
.value = Py_MOD_PER_INTERPRETER_GIL_SUPPORTED,
|
|
35
|
+
},
|
|
36
|
+
#endif
|
|
37
|
+
#if PY_VERSION_HEX >= 0x030d0000
|
|
38
|
+
{
|
|
39
|
+
/* The code in this extension should be safe to use without the GIL */
|
|
40
|
+
.slot = Py_mod_gil,
|
|
41
|
+
.value = Py_MOD_GIL_NOT_USED,
|
|
42
|
+
},
|
|
43
|
+
#endif
|
|
44
|
+
{ /* Sentinel */
|
|
45
|
+
.slot = 0,
|
|
46
|
+
.value = 0
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
static struct PyModuleDef mod_module = {
|
|
51
|
+
.m_base = PyModuleDef_HEAD_INIT,
|
|
52
|
+
.m_name = "_PassKit",
|
|
53
|
+
.m_doc = NULL,
|
|
54
|
+
.m_size = 0,
|
|
55
|
+
.m_methods = mod_methods,
|
|
56
|
+
.m_slots = mod_slots,
|
|
57
|
+
.m_traverse = NULL,
|
|
58
|
+
.m_clear = NULL,
|
|
59
|
+
.m_free = NULL,
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
PyObject* PyInit__PassKit(void);
|
|
63
|
+
|
|
64
|
+
PyObject* __attribute__((__visibility__("default"))) PyInit__PassKit(void)
|
|
65
|
+
{
|
|
66
|
+
return PyModuleDef_Init(&mod_module);
|
|
67
|
+
}
|
|
@@ -83,7 +83,7 @@ struct pyobjc_api {
|
|
|
83
83
|
PyObject* _Nullable (*_Nonnull unsupported_method_caller)(
|
|
84
84
|
PyObject* _Nonnull, PyObject* _Nonnull, PyObject* _Nonnull const* _Nonnull,
|
|
85
85
|
size_t);
|
|
86
|
-
void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state);
|
|
86
|
+
void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state) __attribute__((__noreturn__));
|
|
87
87
|
int (*_Nonnull simplify_sig)(const char* signature, char* buf, size_t buflen);
|
|
88
88
|
void (*_Nonnull free_c_array)(int, Py_buffer*);
|
|
89
89
|
int (*_Nonnull py_to_c_array)(BOOL, BOOL, const char* _Nonnull, PyObject* _Nonnull,
|
|
@@ -11,6 +11,12 @@
|
|
|
11
11
|
|
|
12
12
|
NS_ASSUME_NONNULL_BEGIN
|
|
13
13
|
|
|
14
|
+
#ifdef USE_STATIC_ANALYZER
|
|
15
|
+
#define CLANG_SUPPRESS [[clang::suppress]]
|
|
16
|
+
#else
|
|
17
|
+
#define CLANG_SUPPRESS
|
|
18
|
+
#endif
|
|
19
|
+
|
|
14
20
|
/*
|
|
15
21
|
*
|
|
16
22
|
* Start of compiler definitions
|
|
@@ -153,10 +159,6 @@ extern PyObject* _Nullable PyObject_VectorcallMethod(
|
|
|
153
159
|
|
|
154
160
|
extern int PyObjC_Cmp(PyObject* o1, PyObject* o2, int* result);
|
|
155
161
|
|
|
156
|
-
extern PyObject* _Nullable PyObjCBytes_InternFromString(const char* v);
|
|
157
|
-
extern PyObject* _Nullable PyObjCBytes_InternFromStringAndSize(const char* v,
|
|
158
|
-
Py_ssize_t l);
|
|
159
|
-
|
|
160
162
|
/*
|
|
161
163
|
* A micro optimization: when using Python 3.3 or later it
|
|
162
164
|
* is possible to access a 'char*' with an ASCII representation
|
|
@@ -238,7 +240,80 @@ _PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
|
|
|
238
240
|
PyGILState_Release(_GILState); \
|
|
239
241
|
} while (0)
|
|
240
242
|
|
|
241
|
-
|
|
243
|
+
#if PY_VERSION_HEX < 0x030a0000
|
|
244
|
+
|
|
245
|
+
static inline PyObject* Py_NewRef(PyObject* o)
|
|
246
|
+
{
|
|
247
|
+
Py_INCREF(o);
|
|
248
|
+
return o;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
static inline PyObject* Py_XNewRef(PyObject* o)
|
|
252
|
+
{
|
|
253
|
+
Py_XINCREF(o);
|
|
254
|
+
return o;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
#endif /* PY_VERSION_HEX < 0x030a0000 */
|
|
258
|
+
|
|
259
|
+
#if PY_VERSION_HEX < 0x030d0000
|
|
260
|
+
#define Py_BEGIN_CRITICAL_SECTION(value) { (void)(value);
|
|
261
|
+
#define Py_END_CRITICAL_SECTION() }
|
|
262
|
+
#define Py_EXIT_CRITICAL_SECTION() ((void)0)
|
|
263
|
+
|
|
264
|
+
#define Py_BEGIN_CRITICAL_SECTION2(value1, value2) { (void)(value1); (void)(value2);
|
|
265
|
+
#define Py_END_CRITICAL_SECTION2() }
|
|
266
|
+
#define Py_EXIT_CRITICAL_SECTION2() ((void)0)
|
|
267
|
+
|
|
268
|
+
#define PyObjC_ATOMIC
|
|
269
|
+
|
|
270
|
+
#else
|
|
271
|
+
|
|
272
|
+
#ifdef Py_GIL_DISABLED
|
|
273
|
+
#define Py_EXIT_CRITICAL_SECTION() PyCriticalSection_End(&_py_cs)
|
|
274
|
+
#define Py_EXIT_CRITICAL_SECTION2() PyCriticalSection2_End(&_py_cs2)
|
|
275
|
+
#define PyObjC_ATOMIC _Atomic
|
|
276
|
+
#else
|
|
277
|
+
#define Py_EXIT_CRITICAL_SECTION() ((void)0)
|
|
278
|
+
#define Py_EXIT_CRITICAL_SECTION2() ((void)0)
|
|
279
|
+
#define PyObjC_ATOMIC
|
|
280
|
+
#endif
|
|
281
|
+
|
|
282
|
+
#endif
|
|
283
|
+
|
|
284
|
+
#if PY_VERSION_HEX < 0x030d0000
|
|
285
|
+
static inline int PyDict_GetItemRef(PyObject *p, PyObject *key, PyObject * _Nonnull* _Nullable result)
|
|
286
|
+
{
|
|
287
|
+
*result = PyDict_GetItemWithError(p, key);
|
|
288
|
+
if (*result == NULL) {
|
|
289
|
+
if (PyErr_Occurred()) {
|
|
290
|
+
return -1;
|
|
291
|
+
} else {
|
|
292
|
+
return 0;
|
|
293
|
+
}
|
|
294
|
+
} else {
|
|
295
|
+
Py_INCREF(*result);
|
|
296
|
+
return 1;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
static inline PyObject* _Nullable PyList_GetItemRef(PyObject* l, Py_ssize_t i)
|
|
301
|
+
{
|
|
302
|
+
PyObject* result = PyList_GetItem(l, i);
|
|
303
|
+
Py_XINCREF(result);
|
|
304
|
+
return result;
|
|
305
|
+
}
|
|
306
|
+
#endif
|
|
307
|
+
|
|
308
|
+
#if PY_VERSION_HEX < 0x030c0000
|
|
309
|
+
static inline PyObject* PyType_GetDict(PyTypeObject* type)
|
|
310
|
+
{
|
|
311
|
+
PyObject* result = type->tp_dict;
|
|
312
|
+
Py_INCREF(result);
|
|
313
|
+
return result;
|
|
314
|
+
}
|
|
315
|
+
#endif
|
|
316
|
+
|
|
242
317
|
|
|
243
318
|
NS_ASSUME_NONNULL_END
|
|
244
319
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-PassKit
|
|
3
|
-
Version:
|
|
3
|
+
Version: 11.0
|
|
4
4
|
Summary: Wrappers for the framework PassKit on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -18,20 +18,20 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
18
18
|
Classifier: Programming Language :: Python
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.9
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.10
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.12
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
27
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
28
|
Classifier: Programming Language :: Objective C
|
|
29
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.9
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
33
|
+
Requires-Dist: pyobjc-core>=11.0
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=11.0
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
Wrappers for the "PassKit" framework on macOS.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from PyObjCTools.TestSupport import TestCase, min_os_level
|
|
2
|
+
|
|
3
|
+
import PassKit
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class TestPKAddIdentityDocumentConfiguration(TestCase):
|
|
7
|
+
@min_os_level("15.0")
|
|
8
|
+
def test_methods(self):
|
|
9
|
+
self.assertArgIsBlock(
|
|
10
|
+
PassKit.PKAddIdentityDocumentConfiguration.configurationForMetadata_completion_,
|
|
11
|
+
1,
|
|
12
|
+
b"v@@",
|
|
13
|
+
)
|
{pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkconstants.py
RENAMED
|
@@ -112,3 +112,8 @@ class TestPKConstants(TestCase):
|
|
|
112
112
|
@min_os_level("14.4")
|
|
113
113
|
def test_constants14_4(self):
|
|
114
114
|
self.assertIsInstance(PassKit.PKPaymentNetworkMeeza, str)
|
|
115
|
+
|
|
116
|
+
@min_os_level("14.5")
|
|
117
|
+
def test_constants14_5(self):
|
|
118
|
+
self.assertIsInstance(PassKit.PKPaymentNetworkNAPAS, str)
|
|
119
|
+
self.assertIsInstance(PassKit.PKPaymentNetworkBankAxept, str)
|
|
@@ -35,6 +35,7 @@ class TestPKError(TestCase):
|
|
|
35
35
|
self.assertEqual(PassKit.PKAddPaymentPassErrorSystemCancelled, 2)
|
|
36
36
|
|
|
37
37
|
self.assertEqual(PassKit.PKAddSecureElementPassUnknownError, 0)
|
|
38
|
+
self.assertEqual(PassKit.PKAddSecureElementPassGenericError, 0)
|
|
38
39
|
self.assertEqual(PassKit.PKAddSecureElementPassUserCanceledError, 1)
|
|
39
40
|
self.assertEqual(PassKit.PKAddSecureElementPassUnavailableError, 2)
|
|
40
41
|
self.assertEqual(PassKit.PKAddSecureElementPassInvalidConfigurationError, 3)
|
{pyobjc-framework-PassKit-10.2 → pyobjc_framework_passkit-11.0}/PyObjCTest/test_pkpaymentrequest.py
RENAMED
|
@@ -9,6 +9,7 @@ class TestPKPaymentRequest(TestCase):
|
|
|
9
9
|
self.assertIsEnumType(PassKit.PKMerchantCapability)
|
|
10
10
|
self.assertIsEnumType(PassKit.PKShippingContactEditingMode)
|
|
11
11
|
self.assertIsEnumType(PassKit.PKShippingType)
|
|
12
|
+
self.assertIsTypedEnum(PassKit.PKMerchantCategoryCode, int)
|
|
12
13
|
|
|
13
14
|
def test_constants(self):
|
|
14
15
|
self.assertEqual(PassKit.PKMerchantCapability3DS, 1 << 0)
|
|
@@ -50,6 +51,10 @@ class TestPKPaymentRequest(TestCase):
|
|
|
50
51
|
self.assertEqual(PassKit.PKApplePayLaterUnavailableItemIneligible, 1)
|
|
51
52
|
self.assertEqual(PassKit.PKApplePayLaterUnavailableRecurringTransaction, 2)
|
|
52
53
|
|
|
54
|
+
@min_os_level("15.0")
|
|
55
|
+
def test_constants15_0(self):
|
|
56
|
+
self.assertIsInstance(PassKit.PKMerchantCategoryCodeNone, int)
|
|
57
|
+
|
|
53
58
|
@min_os_level("12.0")
|
|
54
59
|
def test_methods12_0(self):
|
|
55
60
|
self.assertResultIsBOOL(PassKit.PKPaymentRequest.supportsCouponCode)
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
{
|
|
4
4
|
"definitions": {
|
|
5
5
|
"typed_enum": {
|
|
6
|
+
"PKMerchantCategoryCode": { "type": "s" },
|
|
6
7
|
"PKEncryptionScheme": { "type": "@", "type_name": "NSString" },
|
|
7
8
|
"PKContactField": { "type": "@", "type_name": "NSString" },
|
|
8
9
|
"PKPassLibraryNotificationKey": { "type": "@", "type_name": "NSString" },
|