@octane-xplat/macos-renderer 0.14.0 → 0.15.0
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.
- package/README.md +95 -20
- package/package.json +15 -2
- package/src/appearance.ts +2 -0
- package/src/fonts.ts +2 -0
- package/src/formatted-text.ts +147 -0
- package/src/gestures.ts +196 -0
- package/src/host-globals.d.ts +55 -0
- package/src/html-text.ts +88 -0
- package/src/image.ts +91 -16
- package/src/index.d.ts +9 -0
- package/src/index.ts +5030 -678
- package/src/layer.ts +11 -9
- package/src/list-template.ts +266 -0
- package/src/list-view.ts +445 -0
- package/src/portal-components.macos.tsx +86 -0
- package/src/presentation.ts +48 -15
- package/src/scroll-view.ts +124 -0
- package/src/tab-view.ts +512 -0
- package/src/template-props.ts +402 -0
- package/src/vendor/listview/LICENSE +19 -0
- package/src/vendor/listview/README.md +1 -0
- package/src/vendor/listview/binding-options.ts +189 -0
- package/src/vendor/listview/expressions.ts +285 -0
- package/src/webview.ts +36 -7
- package/types/ARKitCore.d.ts +199 -0
- package/types/AVFAudio.d.ts +2304 -0
- package/types/AVFoundation.d.ts +6974 -0
- package/types/AVKit.d.ts +215 -0
- package/types/AVRouting.d.ts +7 -0
- package/types/Accelerate.d.ts +4776 -0
- package/types/Accessibility.d.ts +69 -0
- package/types/Accounts.d.ts +134 -0
- package/types/AdSupport.d.ts +12 -0
- package/types/AddressBook.d.ts +1012 -0
- package/types/AppKit.d.ts +34247 -0
- package/types/AppTrackingTransparency.d.ts +23 -0
- package/types/AppleScriptKit.d.ts +6 -0
- package/types/ApplicationServices.d.ts +6346 -0
- package/types/AudioToolbox.d.ts +7129 -0
- package/types/AudioVideoBridging.d.ts +613 -0
- package/types/AuthenticationServices.d.ts +982 -0
- package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
- package/types/Automator.d.ts +248 -0
- package/types/BackgroundAssets.d.ts +9 -0
- package/types/BrowserEngineKit.d.ts +166 -0
- package/types/BusinessChat.d.ts +29 -0
- package/types/CFNetwork.d.ts +931 -0
- package/types/CalendarStore.d.ts +354 -0
- package/types/CallKit.d.ts +30 -0
- package/types/Carbon.d.ts +16207 -0
- package/types/ClassKit.d.ts +281 -0
- package/types/CloudKit.d.ts +1565 -0
- package/types/Collaboration.d.ts +123 -0
- package/types/ColorSync.d.ts +562 -0
- package/types/CompositorServices.d.ts +60 -0
- package/types/ComputeGraph.d.ts +16 -0
- package/types/Contacts.d.ts +1558 -0
- package/types/ContactsUI.d.ts +39 -0
- package/types/CoreAudio.d.ts +1376 -0
- package/types/CoreAudioKit.d.ts +122 -0
- package/types/CoreAudioTypes.d.ts +1003 -0
- package/types/CoreBluetooth.d.ts +657 -0
- package/types/CoreData.d.ts +2479 -0
- package/types/CoreFoundation.d.ts +5546 -0
- package/types/CoreGraphics.d.ts +3676 -0
- package/types/CoreHaptics.d.ts +361 -0
- package/types/CoreImage.d.ts +4781 -0
- package/types/CoreLocation.d.ts +564 -0
- package/types/CoreMIDI.d.ts +1538 -0
- package/types/CoreML.d.ts +905 -0
- package/types/CoreMedia.d.ts +2615 -0
- package/types/CoreMediaIO.d.ts +1046 -0
- package/types/CoreMotion.d.ts +316 -0
- package/types/CoreServices.d.ts +24810 -0
- package/types/CoreSpotlight.d.ts +789 -0
- package/types/CoreTelephony.d.ts +31 -0
- package/types/CoreText.d.ts +3973 -0
- package/types/CoreTransferable.d.ts +3 -0
- package/types/CoreVideo.d.ts +1162 -0
- package/types/CoreWLAN.d.ts +556 -0
- package/types/CryptoTokenKit.d.ts +548 -0
- package/types/DVDPlayback.d.ts +931 -0
- package/types/DataDetection.d.ts +66 -0
- package/types/DeviceCheck.d.ts +46 -0
- package/types/DeviceDiscoveryExtension.d.ts +142 -0
- package/types/DirectoryService.d.ts +966 -0
- package/types/DiscRecording.d.ts +2345 -0
- package/types/DiscRecordingUI.d.ts +288 -0
- package/types/DiskArbitration.d.ts +366 -0
- package/types/DriverKit.d.ts +639 -0
- package/types/EventKit.d.ts +640 -0
- package/types/ExceptionHandling.d.ts +56 -0
- package/types/ExecutionPolicy.d.ts +30 -0
- package/types/ExternalAccessory.d.ts +98 -0
- package/types/FSKit.d.ts +237 -0
- package/types/FileProvider.d.ts +495 -0
- package/types/FileProviderUI.d.ts +31 -0
- package/types/FinderSync.d.ts +165 -0
- package/types/FocusEngine.d.ts +133 -0
- package/types/ForceFeedback.d.ts +399 -0
- package/types/Foundation.d.ts +18216 -0
- package/types/GLKit.d.ts +937 -0
- package/types/GLUT.d.ts +1018 -0
- package/types/GSS.d.ts +855 -0
- package/types/GameController.d.ts +1394 -0
- package/types/GameKit.d.ts +1958 -0
- package/types/GameSave.d.ts +54 -0
- package/types/GameplayKit.d.ts +1645 -0
- package/types/HealthKit.d.ts +278 -0
- package/types/Hypervisor.d.ts +2079 -0
- package/types/ICADevices.d.ts +1400 -0
- package/types/IOBluetooth.d.ts +6094 -0
- package/types/IOBluetoothUI.d.ts +250 -0
- package/types/IOKit.d.ts +25804 -0
- package/types/IOSurface.d.ts +435 -0
- package/types/IOUSBHost.d.ts +809 -0
- package/types/ImageCaptureCore.d.ts +1104 -0
- package/types/ImageIO.d.ts +1697 -0
- package/types/InputMethodKit.d.ts +264 -0
- package/types/InstallerPlugins.d.ts +102 -0
- package/types/InstantMessage.d.ts +229 -0
- package/types/Intents.d.ts +1833 -0
- package/types/IntentsUI.d.ts +5 -0
- package/types/JavaRuntimeSupport.d.ts +520 -0
- package/types/JavaScriptCore.d.ts +934 -0
- package/types/Kerberos.d.ts +3754 -0
- package/types/Kernel.d.ts +33698 -0
- package/types/KernelManagement.d.ts +5 -0
- package/types/LatentSemanticMapping.d.ts +152 -0
- package/types/LinkPresentation.d.ts +57 -0
- package/types/LocalAuthentication.d.ts +94 -0
- package/types/MLCompute.d.ts +2343 -0
- package/types/MapKit.d.ts +2125 -0
- package/types/Matter.d.ts +151 -0
- package/types/MediaAccessibility.d.ts +137 -0
- package/types/MediaLibrary.d.ts +394 -0
- package/types/MediaPlayer.d.ts +475 -0
- package/types/MediaToolbox.d.ts +70 -0
- package/types/Metal.d.ts +4542 -0
- package/types/MetalFX.d.ts +107 -0
- package/types/MetalKit.d.ts +524 -0
- package/types/MetalPerformanceShaders.d.ts +9306 -0
- package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
- package/types/MetricKit.d.ts +231 -0
- package/types/ModelIO.d.ts +2908 -0
- package/types/MultipeerConnectivity.d.ts +348 -0
- package/types/NaturalLanguage.d.ts +556 -0
- package/types/NearbyInteraction.d.ts +51 -0
- package/types/NetFS.d.ts +99 -0
- package/types/Network.d.ts +1622 -0
- package/types/NetworkExtension.d.ts +1574 -0
- package/types/NotificationCenter.d.ts +103 -0
- package/types/OSAKit.d.ts +260 -0
- package/types/OSLog.d.ts +208 -0
- package/types/OpenAL.d.ts +314 -0
- package/types/OpenCL.d.ts +2489 -0
- package/types/OpenDirectory.d.ts +1919 -0
- package/types/OpenGL.d.ts +11322 -0
- package/types/PCSC.d.ts +534 -0
- package/types/PDFKit.d.ts +1575 -0
- package/types/PHASE.d.ts +166 -0
- package/types/ParavirtualizedGraphics.d.ts +153 -0
- package/types/PassKit.d.ts +1287 -0
- package/types/PencilKit.d.ts +201 -0
- package/types/Photos.d.ts +1125 -0
- package/types/PhotosUI.d.ts +397 -0
- package/types/PreferencePanes.d.ts +68 -0
- package/types/ProximityReaderStub.d.ts +5 -0
- package/types/PushKit.d.ts +45 -0
- package/types/Quartz.d.ts +1642 -0
- package/types/QuartzCore.d.ts +1398 -0
- package/types/QuickLook.d.ts +212 -0
- package/types/QuickLookThumbnailing.d.ts +131 -0
- package/types/QuickLookUI.d.ts +117 -0
- package/types/REVISION.json +5 -0
- package/types/ReplayKit.d.ts +294 -0
- package/types/Runtime.d.ts +51605 -0
- package/types/SafariServices.d.ts +430 -0
- package/types/SafetyKit.d.ts +7 -0
- package/types/SceneKit.d.ts +4996 -0
- package/types/ScreenCaptureKit.d.ts +16 -0
- package/types/ScreenSaver.d.ts +41 -0
- package/types/ScreenTime.d.ts +41 -0
- package/types/ScriptingBridge.d.ts +96 -0
- package/types/Security.d.ts +14336 -0
- package/types/SecurityFoundation.d.ts +53 -0
- package/types/SecurityInterface.d.ts +297 -0
- package/types/SensorKit.d.ts +7 -0
- package/types/ServiceManagement.d.ts +71 -0
- package/types/SharedWithYou.d.ts +9 -0
- package/types/SharedWithYouCore.d.ts +5 -0
- package/types/ShazamKit.d.ts +12 -0
- package/types/Social.d.ts +306 -0
- package/types/SoundAnalysis.d.ts +177 -0
- package/types/Speech.d.ts +246 -0
- package/types/SpriteKit.d.ts +2766 -0
- package/types/StoreKit.d.ts +509 -0
- package/types/SyncServices.d.ts +551 -0
- package/types/SystemConfiguration.d.ts +1415 -0
- package/types/SystemExtensions.d.ts +89 -0
- package/types/TWAIN.d.ts +380 -0
- package/types/Tcl.d.ts +4013 -0
- package/types/ThreadNetwork.d.ts +77 -0
- package/types/Tk.d.ts +3750 -0
- package/types/UIUtilities.d.ts +31 -0
- package/types/UniformTypeIdentifiers.d.ts +358 -0
- package/types/UserNotifications.d.ts +538 -0
- package/types/UserNotificationsUI.d.ts +38 -0
- package/types/VideoDecodeAcceleration.d.ts +50 -0
- package/types/VideoSubscriberAccount.d.ts +139 -0
- package/types/VideoToolbox.d.ts +907 -0
- package/types/Virtualization.d.ts +302 -0
- package/types/Vision.d.ts +1723 -0
- package/types/WebKit.d.ts +5195 -0
- package/types/WidgetKit.d.ts +9 -0
- package/types/_LocationEssentials.d.ts +159 -0
- package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
- package/types/iTunesLibrary.d.ts +528 -0
- package/types/index.d.ts +9 -0
- package/types/vecLib.d.ts +33586 -0
- package/types/vmnet.d.ts +178 -0
- package/src/appkit.d.ts +0 -472
|
@@ -0,0 +1,1287 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./Runtime.d.ts" />
|
|
3
|
+
/// <reference path="./AppKit.d.ts" />
|
|
4
|
+
|
|
5
|
+
declare const PKStoredValuePassBalanceTypeLoyaltyPoints: string
|
|
6
|
+
|
|
7
|
+
declare const PKStoredValuePassBalanceTypeCash: string
|
|
8
|
+
|
|
9
|
+
declare const PKPassLibrarySerialNumberUserInfoKey: string
|
|
10
|
+
|
|
11
|
+
declare const PKPassLibraryAddedPassesUserInfoKey: string
|
|
12
|
+
|
|
13
|
+
declare const PKPassLibraryRemotePaymentPassesDidChangeNotification: string
|
|
14
|
+
|
|
15
|
+
declare const PKPassLibraryDidChangeNotification: string
|
|
16
|
+
|
|
17
|
+
declare const PKAddSecureElementPassErrorDomain: string
|
|
18
|
+
|
|
19
|
+
declare const PKPaymentErrorContactFieldUserInfoKey: string
|
|
20
|
+
|
|
21
|
+
declare const PKPassKitErrorDomain: string
|
|
22
|
+
|
|
23
|
+
declare const PKContactFieldPhoneticName: string
|
|
24
|
+
|
|
25
|
+
declare const PKContactFieldPhoneNumber: string
|
|
26
|
+
|
|
27
|
+
declare const PKPaymentNetworkVPay: string
|
|
28
|
+
|
|
29
|
+
declare const PKPaymentNetworkVisa: string
|
|
30
|
+
|
|
31
|
+
declare const PKPaymentNetworkQuicPay: string
|
|
32
|
+
|
|
33
|
+
declare const PKPaymentNetworkPrivateLabel: string
|
|
34
|
+
|
|
35
|
+
declare const PKPaymentNetworkMaestro: string
|
|
36
|
+
|
|
37
|
+
declare const PKPaymentNetworkJCB: string
|
|
38
|
+
|
|
39
|
+
declare const PKPaymentNetworkIDCredit: string
|
|
40
|
+
|
|
41
|
+
declare const PKPaymentNetworkEftpos: string
|
|
42
|
+
|
|
43
|
+
declare const PKPaymentNetworkDiscover: string
|
|
44
|
+
|
|
45
|
+
declare const PKPaymentNetworkCartesBancaires: string
|
|
46
|
+
|
|
47
|
+
declare const PKEncryptionSchemeECC_V2: string
|
|
48
|
+
|
|
49
|
+
declare const PKPaymentNetworkGirocard: string
|
|
50
|
+
|
|
51
|
+
declare const PKShareSecureElementPassErrorDomain: string
|
|
52
|
+
|
|
53
|
+
declare const PKPaymentNetworkCarteBancaire: string
|
|
54
|
+
|
|
55
|
+
declare const PKPaymentNetworkCarteBancaires: string
|
|
56
|
+
|
|
57
|
+
declare const PKPassLibraryRemovedPassInfosUserInfoKey: string
|
|
58
|
+
|
|
59
|
+
declare const PKContactFieldEmailAddress: string
|
|
60
|
+
|
|
61
|
+
declare const PKPaymentNetworkBarcode: string
|
|
62
|
+
|
|
63
|
+
declare const PKPaymentNetworkMada: string
|
|
64
|
+
|
|
65
|
+
declare const PKPassLibraryRecoveredPassesUserInfoKey: string
|
|
66
|
+
|
|
67
|
+
declare const PKEncryptionSchemeRSA_V2: string
|
|
68
|
+
|
|
69
|
+
declare const PKPaymentNetworkElectron: string
|
|
70
|
+
|
|
71
|
+
declare const PKPassLibraryReplacementPassesUserInfoKey: string
|
|
72
|
+
|
|
73
|
+
declare const PKPaymentNetworkElo: string
|
|
74
|
+
|
|
75
|
+
declare const PKContactFieldPostalAddress: string
|
|
76
|
+
|
|
77
|
+
declare const PKPassLibraryPassTypeIdentifierUserInfoKey: string
|
|
78
|
+
|
|
79
|
+
declare const PKPaymentNetworkSuica: string
|
|
80
|
+
|
|
81
|
+
declare const PKPaymentErrorPostalAddressUserInfoKey: string
|
|
82
|
+
|
|
83
|
+
declare const PKPaymentNetworkAmex: string
|
|
84
|
+
|
|
85
|
+
declare const PKPaymentErrorDomain: string
|
|
86
|
+
|
|
87
|
+
declare const PKPaymentNetworkInterac: string
|
|
88
|
+
|
|
89
|
+
declare const PKContactFieldName: string
|
|
90
|
+
|
|
91
|
+
declare const PKPaymentNetworkChinaUnionPay: string
|
|
92
|
+
|
|
93
|
+
declare const PKPaymentNetworkMasterCard: string
|
|
94
|
+
|
|
95
|
+
declare const PKAddIdentityDocumentType: {
|
|
96
|
+
IDCard: 0
|
|
97
|
+
MDL: 1
|
|
98
|
+
PhotoID: 2
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
declare const PKAddPaymentPassStyle: {
|
|
102
|
+
Payment: 0
|
|
103
|
+
Access: 1
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
declare const PKMerchantCapability: {
|
|
107
|
+
Capability3DS: 1
|
|
108
|
+
CapabilityEMV: 2
|
|
109
|
+
CapabilityCredit: 4
|
|
110
|
+
CapabilityDebit: 8
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
declare const PKPaymentSummaryItemType: {
|
|
114
|
+
Final: 0
|
|
115
|
+
Pending: 1
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
declare const PKAutomaticPassPresentationSuppressionResult: {
|
|
119
|
+
NotSupported: 0
|
|
120
|
+
AlreadyPresenting: 1
|
|
121
|
+
Denied: 2
|
|
122
|
+
Cancelled: 3
|
|
123
|
+
Success: 4
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
declare const PKAddSecureElementPassErrorCode: {
|
|
127
|
+
Generic: 0
|
|
128
|
+
Unknown: 0
|
|
129
|
+
UserCanceled: 1
|
|
130
|
+
Unavailable: 2
|
|
131
|
+
InvalidConfiguration: 3
|
|
132
|
+
DeviceNotSupported: 4
|
|
133
|
+
DeviceNotReady: 5
|
|
134
|
+
OSVersionNotSupported: 6
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
declare const PKAddPaymentPassError: {
|
|
138
|
+
Unsupported: 0
|
|
139
|
+
UserCancelled: 1
|
|
140
|
+
SystemCancelled: 2
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
declare const PKPaymentPassActivationState: {
|
|
144
|
+
Activated: 0
|
|
145
|
+
RequiresActivation: 1
|
|
146
|
+
Activating: 2
|
|
147
|
+
Suspended: 3
|
|
148
|
+
Deactivated: 4
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
declare const PKSecureElementPassActivationState: {
|
|
152
|
+
Activated: 0
|
|
153
|
+
RequiresActivation: 1
|
|
154
|
+
Activating: 2
|
|
155
|
+
Suspended: 3
|
|
156
|
+
Deactivated: 4
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
declare const PKPassType: {
|
|
160
|
+
Barcode: 0
|
|
161
|
+
SecureElement: 1
|
|
162
|
+
Payment: 1
|
|
163
|
+
Any: -1
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
declare const PKPaymentButtonType: {
|
|
167
|
+
Plain: 0
|
|
168
|
+
Buy: 1
|
|
169
|
+
SetUp: 2
|
|
170
|
+
InStore: 3
|
|
171
|
+
Donate: 4
|
|
172
|
+
Checkout: 5
|
|
173
|
+
Book: 6
|
|
174
|
+
Subscribe: 7
|
|
175
|
+
Reload: 8
|
|
176
|
+
AddMoney: 9
|
|
177
|
+
TopUp: 10
|
|
178
|
+
Order: 11
|
|
179
|
+
Rent: 12
|
|
180
|
+
Support: 13
|
|
181
|
+
Contribute: 14
|
|
182
|
+
Tip: 15
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
declare const PKBarcodeEventConfigurationDataType: {
|
|
186
|
+
Unknown: 0
|
|
187
|
+
SigningKeyMaterial: 1
|
|
188
|
+
SigningCertificate: 2
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
declare const PKRadioTechnology: {
|
|
192
|
+
None: 0
|
|
193
|
+
NFC: 1
|
|
194
|
+
Bluetooth: 2
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
declare const PKPaymentButtonStyle: {
|
|
198
|
+
White: 0
|
|
199
|
+
WhiteOutline: 1
|
|
200
|
+
Black: 2
|
|
201
|
+
Automatic: 3
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
declare const PKPassKitErrorCode: {
|
|
205
|
+
UnknownError: -1
|
|
206
|
+
InvalidDataError: 1
|
|
207
|
+
UnsupportedVersionError: 2
|
|
208
|
+
InvalidSignature: 3
|
|
209
|
+
NotEntitledError: 4
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
declare const PKVehicleConnectionSessionConnectionState: {
|
|
213
|
+
Disconnected: 0
|
|
214
|
+
Connected: 1
|
|
215
|
+
Connecting: 2
|
|
216
|
+
FailedToConnect: 3
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
declare const PKPaymentErrorCode: {
|
|
220
|
+
Unknown: -1
|
|
221
|
+
ShippingContactInvalid: 1
|
|
222
|
+
BillingContactInvalid: 2
|
|
223
|
+
ShippingAddressUnserviceable: 3
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
declare const PKAddressField: {
|
|
227
|
+
None: 0
|
|
228
|
+
PostalAddress: 1
|
|
229
|
+
Phone: 2
|
|
230
|
+
Email: 4
|
|
231
|
+
Name: 8
|
|
232
|
+
All: 15
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
declare const PKShareSecureElementPassErrorCode: {
|
|
236
|
+
Unknown: 0
|
|
237
|
+
Setup: 1
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
declare const PKPaymentMethodType: {
|
|
241
|
+
Unknown: 0
|
|
242
|
+
Debit: 1
|
|
243
|
+
Credit: 2
|
|
244
|
+
Prepaid: 3
|
|
245
|
+
Store: 4
|
|
246
|
+
EMoney: 5
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
declare const PKShippingType: {
|
|
250
|
+
Shipping: 0
|
|
251
|
+
Delivery: 1
|
|
252
|
+
StorePickup: 2
|
|
253
|
+
ServicePickup: 3
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
declare const PKVehicleConnectionErrorCode: {
|
|
257
|
+
Unknown: 0
|
|
258
|
+
SessionUnableToStart: 1
|
|
259
|
+
SessionNotActive: 2
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
declare const PKAddShareablePassConfigurationPrimaryAction: {
|
|
263
|
+
Add: 0
|
|
264
|
+
Share: 1
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
declare const PKPaymentAuthorizationStatus: {
|
|
268
|
+
Success: 0
|
|
269
|
+
Failure: 1
|
|
270
|
+
InvalidBillingPostalAddress: 2
|
|
271
|
+
InvalidShippingPostalAddress: 3
|
|
272
|
+
InvalidShippingContact: 4
|
|
273
|
+
PINRequired: 5
|
|
274
|
+
PINIncorrect: 6
|
|
275
|
+
PINLockout: 7
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
declare const PKPassLibraryAddPassesStatus: {
|
|
279
|
+
DidAdd: 0
|
|
280
|
+
ShouldReview: 1
|
|
281
|
+
DidCancelAdd: 2
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
declare interface PKPaymentAuthorizationViewControllerDelegate extends NSObjectProtocol {
|
|
285
|
+
paymentAuthorizationViewControllerDidFinish(
|
|
286
|
+
controller: PKPaymentAuthorizationViewController,
|
|
287
|
+
): void
|
|
288
|
+
|
|
289
|
+
paymentAuthorizationViewControllerDidAuthorizePaymentHandler?(
|
|
290
|
+
controller: PKPaymentAuthorizationViewController,
|
|
291
|
+
payment: PKPayment,
|
|
292
|
+
completion: (p1: PKPaymentAuthorizationResult) => void,
|
|
293
|
+
): void
|
|
294
|
+
|
|
295
|
+
paymentAuthorizationViewControllerWillAuthorizePayment?(
|
|
296
|
+
controller: PKPaymentAuthorizationViewController,
|
|
297
|
+
): void
|
|
298
|
+
|
|
299
|
+
paymentAuthorizationViewControllerDidRequestMerchantSessionUpdate?(
|
|
300
|
+
controller: PKPaymentAuthorizationViewController,
|
|
301
|
+
handler: (p1: PKPaymentRequestMerchantSessionUpdate) => void,
|
|
302
|
+
): void
|
|
303
|
+
|
|
304
|
+
paymentAuthorizationViewControllerDidSelectShippingMethodHandler?(
|
|
305
|
+
controller: PKPaymentAuthorizationViewController,
|
|
306
|
+
shippingMethod: PKShippingMethod,
|
|
307
|
+
completion: (p1: PKPaymentRequestShippingMethodUpdate) => void,
|
|
308
|
+
): void
|
|
309
|
+
|
|
310
|
+
paymentAuthorizationViewControllerDidSelectShippingContactHandler?(
|
|
311
|
+
controller: PKPaymentAuthorizationViewController,
|
|
312
|
+
contact: PKContact,
|
|
313
|
+
completion: (p1: PKPaymentRequestShippingContactUpdate) => void,
|
|
314
|
+
): void
|
|
315
|
+
|
|
316
|
+
paymentAuthorizationViewControllerDidSelectPaymentMethodHandler?(
|
|
317
|
+
controller: PKPaymentAuthorizationViewController,
|
|
318
|
+
paymentMethod: PKPaymentMethod,
|
|
319
|
+
completion: (p1: PKPaymentRequestPaymentMethodUpdate) => void,
|
|
320
|
+
): void
|
|
321
|
+
|
|
322
|
+
paymentAuthorizationViewControllerDidAuthorizePaymentCompletion?(
|
|
323
|
+
controller: PKPaymentAuthorizationViewController,
|
|
324
|
+
payment: PKPayment,
|
|
325
|
+
completion: (p1: interop.Enum<typeof PKPaymentAuthorizationStatus>) => void,
|
|
326
|
+
): void
|
|
327
|
+
|
|
328
|
+
paymentAuthorizationViewControllerDidSelectShippingMethodCompletion?(
|
|
329
|
+
controller: PKPaymentAuthorizationViewController,
|
|
330
|
+
shippingMethod: PKShippingMethod,
|
|
331
|
+
completion: (
|
|
332
|
+
p1: interop.Enum<typeof PKPaymentAuthorizationStatus>,
|
|
333
|
+
p2: NSArray<interop.Object> | Array<interop.Object>,
|
|
334
|
+
) => void,
|
|
335
|
+
): void
|
|
336
|
+
|
|
337
|
+
paymentAuthorizationViewControllerDidSelectShippingContactCompletion?(
|
|
338
|
+
controller: PKPaymentAuthorizationViewController,
|
|
339
|
+
contact: PKContact,
|
|
340
|
+
completion: (
|
|
341
|
+
p1: interop.Enum<typeof PKPaymentAuthorizationStatus>,
|
|
342
|
+
p2: NSArray<interop.Object> | Array<interop.Object>,
|
|
343
|
+
p3: NSArray<interop.Object> | Array<interop.Object>,
|
|
344
|
+
) => void,
|
|
345
|
+
): void
|
|
346
|
+
|
|
347
|
+
paymentAuthorizationViewControllerDidSelectPaymentMethodCompletion?(
|
|
348
|
+
controller: PKPaymentAuthorizationViewController,
|
|
349
|
+
paymentMethod: PKPaymentMethod,
|
|
350
|
+
completion: (p1: NSArray<interop.Object> | Array<interop.Object>) => void,
|
|
351
|
+
): void
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
declare class PKPaymentAuthorizationViewControllerDelegate
|
|
355
|
+
extends NativeObject
|
|
356
|
+
implements PKPaymentAuthorizationViewControllerDelegate {}
|
|
357
|
+
|
|
358
|
+
declare interface PKPaymentInformationRequestHandling {
|
|
359
|
+
handleInformationRequestCompletion(
|
|
360
|
+
infoRequest: PKBarcodeEventMetadataRequest,
|
|
361
|
+
completion: (p1: PKBarcodeEventMetadataResponse) => void,
|
|
362
|
+
): void
|
|
363
|
+
|
|
364
|
+
handleSignatureRequestCompletion(
|
|
365
|
+
signatureRequest: PKBarcodeEventSignatureRequest,
|
|
366
|
+
completion: (p1: PKBarcodeEventSignatureResponse) => void,
|
|
367
|
+
): void
|
|
368
|
+
|
|
369
|
+
handleConfigurationRequestCompletion(
|
|
370
|
+
configurationRequest: PKBarcodeEventConfigurationRequest,
|
|
371
|
+
completion: () => void,
|
|
372
|
+
): void
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
declare class PKPaymentInformationRequestHandling
|
|
376
|
+
extends NativeObject
|
|
377
|
+
implements PKPaymentInformationRequestHandling {}
|
|
378
|
+
|
|
379
|
+
declare interface PKPaymentAuthorizationControllerDelegate extends NSObjectProtocol {
|
|
380
|
+
paymentAuthorizationControllerDidFinish(controller: PKPaymentAuthorizationController): void
|
|
381
|
+
|
|
382
|
+
paymentAuthorizationControllerDidAuthorizePaymentHandler?(
|
|
383
|
+
controller: PKPaymentAuthorizationController,
|
|
384
|
+
payment: PKPayment,
|
|
385
|
+
completion: (p1: PKPaymentAuthorizationResult) => void,
|
|
386
|
+
): void
|
|
387
|
+
|
|
388
|
+
paymentAuthorizationControllerDidAuthorizePaymentCompletion?(
|
|
389
|
+
controller: PKPaymentAuthorizationController,
|
|
390
|
+
payment: PKPayment,
|
|
391
|
+
completion: (p1: interop.Enum<typeof PKPaymentAuthorizationStatus>) => void,
|
|
392
|
+
): void
|
|
393
|
+
|
|
394
|
+
paymentAuthorizationControllerWillAuthorizePayment?(
|
|
395
|
+
controller: PKPaymentAuthorizationController,
|
|
396
|
+
): void
|
|
397
|
+
|
|
398
|
+
paymentAuthorizationControllerDidRequestMerchantSessionUpdate?(
|
|
399
|
+
controller: PKPaymentAuthorizationController,
|
|
400
|
+
handler: (p1: PKPaymentRequestMerchantSessionUpdate) => void,
|
|
401
|
+
): void
|
|
402
|
+
|
|
403
|
+
paymentAuthorizationControllerDidSelectShippingMethodHandler?(
|
|
404
|
+
controller: PKPaymentAuthorizationController,
|
|
405
|
+
shippingMethod: PKShippingMethod,
|
|
406
|
+
completion: (p1: PKPaymentRequestShippingMethodUpdate) => void,
|
|
407
|
+
): void
|
|
408
|
+
|
|
409
|
+
paymentAuthorizationControllerDidSelectShippingContactHandler?(
|
|
410
|
+
controller: PKPaymentAuthorizationController,
|
|
411
|
+
contact: PKContact,
|
|
412
|
+
completion: (p1: PKPaymentRequestShippingContactUpdate) => void,
|
|
413
|
+
): void
|
|
414
|
+
|
|
415
|
+
paymentAuthorizationControllerDidSelectPaymentMethodHandler?(
|
|
416
|
+
controller: PKPaymentAuthorizationController,
|
|
417
|
+
paymentMethod: PKPaymentMethod,
|
|
418
|
+
completion: (p1: PKPaymentRequestPaymentMethodUpdate) => void,
|
|
419
|
+
): void
|
|
420
|
+
|
|
421
|
+
paymentAuthorizationControllerDidSelectShippingMethodCompletion?(
|
|
422
|
+
controller: PKPaymentAuthorizationController,
|
|
423
|
+
shippingMethod: PKShippingMethod,
|
|
424
|
+
completion: (
|
|
425
|
+
p1: interop.Enum<typeof PKPaymentAuthorizationStatus>,
|
|
426
|
+
p2: NSArray<interop.Object> | Array<interop.Object>,
|
|
427
|
+
) => void,
|
|
428
|
+
): void
|
|
429
|
+
|
|
430
|
+
paymentAuthorizationControllerDidSelectShippingContactCompletion?(
|
|
431
|
+
controller: PKPaymentAuthorizationController,
|
|
432
|
+
contact: PKContact,
|
|
433
|
+
completion: (
|
|
434
|
+
p1: interop.Enum<typeof PKPaymentAuthorizationStatus>,
|
|
435
|
+
p2: NSArray<interop.Object> | Array<interop.Object>,
|
|
436
|
+
p3: NSArray<interop.Object> | Array<interop.Object>,
|
|
437
|
+
) => void,
|
|
438
|
+
): void
|
|
439
|
+
|
|
440
|
+
paymentAuthorizationControllerDidSelectPaymentMethodCompletion?(
|
|
441
|
+
controller: PKPaymentAuthorizationController,
|
|
442
|
+
paymentMethod: PKPaymentMethod,
|
|
443
|
+
completion: (p1: NSArray<interop.Object> | Array<interop.Object>) => void,
|
|
444
|
+
): void
|
|
445
|
+
|
|
446
|
+
presentationWindowForPaymentAuthorizationController(
|
|
447
|
+
controller: PKPaymentAuthorizationController,
|
|
448
|
+
): NSWindow
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
declare class PKPaymentAuthorizationControllerDelegate
|
|
452
|
+
extends NativeObject
|
|
453
|
+
implements PKPaymentAuthorizationControllerDelegate {}
|
|
454
|
+
|
|
455
|
+
declare interface PKVehicleConnectionDelegate extends NSObjectProtocol {
|
|
456
|
+
sessionDidChangeConnectionState(
|
|
457
|
+
newState: interop.Enum<typeof PKVehicleConnectionSessionConnectionState>,
|
|
458
|
+
): void
|
|
459
|
+
|
|
460
|
+
sessionDidReceiveData(data: NSData): void
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
declare class PKVehicleConnectionDelegate
|
|
464
|
+
extends NativeObject
|
|
465
|
+
implements PKVehicleConnectionDelegate {}
|
|
466
|
+
|
|
467
|
+
declare class PKVehicleConnectionSession extends NSObject {
|
|
468
|
+
readonly delegate: PKVehicleConnectionDelegate | null
|
|
469
|
+
|
|
470
|
+
readonly connectionStatus: interop.Enum<typeof PKVehicleConnectionSessionConnectionState>
|
|
471
|
+
|
|
472
|
+
static sessionForPassDelegateCompletion(
|
|
473
|
+
pass: PKSecureElementPass,
|
|
474
|
+
delegate: PKVehicleConnectionDelegate,
|
|
475
|
+
completion: (p1: PKVehicleConnectionSession, p2: NSError) => void | null,
|
|
476
|
+
): void
|
|
477
|
+
|
|
478
|
+
sendDataError(message: NSData, error: interop.PointerConvertible): boolean
|
|
479
|
+
|
|
480
|
+
invalidate(): void
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
declare class PKShareablePassMetadata extends NSObject {
|
|
484
|
+
initWithProvisioningCredentialIdentifierCardConfigurationIdentifierSharingInstanceIdentifierPassThumbnailImageOwnerDisplayNameLocalizedDescription(
|
|
485
|
+
credentialIdentifier: string,
|
|
486
|
+
cardConfigurationIdentifier: string,
|
|
487
|
+
sharingInstanceIdentifier: string,
|
|
488
|
+
passThumbnailImage: interop.Object,
|
|
489
|
+
ownerDisplayName: string,
|
|
490
|
+
localizedDescription: string,
|
|
491
|
+
): this
|
|
492
|
+
|
|
493
|
+
initWithProvisioningCredentialIdentifierSharingInstanceIdentifierPassThumbnailImageOwnerDisplayNameLocalizedDescriptionAccountHashTemplateIdentifierRelyingPartyIdentifierRequiresUnifiedAccessCapableDevice(
|
|
494
|
+
credentialIdentifier: string,
|
|
495
|
+
sharingInstanceIdentifier: string,
|
|
496
|
+
passThumbnailImage: interop.Object,
|
|
497
|
+
ownerDisplayName: string,
|
|
498
|
+
localizedDescription: string,
|
|
499
|
+
accountHash: string,
|
|
500
|
+
templateIdentifier: string,
|
|
501
|
+
relyingPartyIdentifier: string,
|
|
502
|
+
requiresUnifiedAccessCapableDevice: boolean,
|
|
503
|
+
): this
|
|
504
|
+
|
|
505
|
+
initWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardTemplateIdentifierPreview(
|
|
506
|
+
credentialIdentifier: string,
|
|
507
|
+
sharingInstanceIdentifier: string,
|
|
508
|
+
templateIdentifier: string,
|
|
509
|
+
preview: PKShareablePassMetadataPreview,
|
|
510
|
+
): this
|
|
511
|
+
|
|
512
|
+
initWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardConfigurationIdentifierPreview(
|
|
513
|
+
credentialIdentifier: string,
|
|
514
|
+
sharingInstanceIdentifier: string,
|
|
515
|
+
templateIdentifier: string,
|
|
516
|
+
preview: PKShareablePassMetadataPreview,
|
|
517
|
+
): this
|
|
518
|
+
|
|
519
|
+
readonly credentialIdentifier: string
|
|
520
|
+
|
|
521
|
+
readonly sharingInstanceIdentifier: string
|
|
522
|
+
|
|
523
|
+
readonly templateIdentifier: string
|
|
524
|
+
|
|
525
|
+
readonly cardTemplateIdentifier: string
|
|
526
|
+
|
|
527
|
+
readonly cardConfigurationIdentifier: string
|
|
528
|
+
|
|
529
|
+
requiresUnifiedAccessCapableDevice: boolean
|
|
530
|
+
|
|
531
|
+
serverEnvironmentIdentifier: string
|
|
532
|
+
|
|
533
|
+
readonly preview: PKShareablePassMetadataPreview
|
|
534
|
+
|
|
535
|
+
readonly passThumbnailImage: interop.Object
|
|
536
|
+
|
|
537
|
+
readonly localizedDescription: string
|
|
538
|
+
|
|
539
|
+
readonly ownerDisplayName: string
|
|
540
|
+
|
|
541
|
+
accountHash: string
|
|
542
|
+
|
|
543
|
+
relyingPartyIdentifier: string
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
declare class PKShareablePassMetadataPreview extends PKAddPassMetadataPreview {
|
|
547
|
+
initWithTemplateIdentifier(templateIdentifier: string): this
|
|
548
|
+
|
|
549
|
+
static previewWithTemplateIdentifier<This extends abstract new (...args: any) => any>(
|
|
550
|
+
this: This,
|
|
551
|
+
templateIdentifier: string,
|
|
552
|
+
): InstanceType<This>
|
|
553
|
+
|
|
554
|
+
ownerDisplayName: string
|
|
555
|
+
|
|
556
|
+
readonly provisioningTemplateIdentifier: string
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
declare class PKPaymentMerchantSession extends NSObject {
|
|
560
|
+
initWithDictionary(
|
|
561
|
+
dictionary:
|
|
562
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
563
|
+
| Record<interop.Object, interop.Object>,
|
|
564
|
+
): this
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
declare class PKAddCarKeyPassConfiguration extends PKAddSecureElementPassConfiguration {
|
|
568
|
+
init(): this
|
|
569
|
+
|
|
570
|
+
password: string
|
|
571
|
+
|
|
572
|
+
supportedRadioTechnologies: interop.Enum<typeof PKRadioTechnology>
|
|
573
|
+
|
|
574
|
+
manufacturerIdentifier: string
|
|
575
|
+
|
|
576
|
+
provisioningTemplateIdentifier: string
|
|
577
|
+
|
|
578
|
+
productPlanIdentifier: string
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
declare class PKAddPaymentPassRequestConfiguration extends NSObject {
|
|
582
|
+
initWithEncryptionScheme(encryptionScheme: string): this
|
|
583
|
+
|
|
584
|
+
readonly encryptionScheme: string
|
|
585
|
+
|
|
586
|
+
style: interop.Enum<typeof PKAddPaymentPassStyle>
|
|
587
|
+
|
|
588
|
+
cardholderName: string
|
|
589
|
+
|
|
590
|
+
primaryAccountSuffix: string
|
|
591
|
+
|
|
592
|
+
get cardDetails(): NSArray
|
|
593
|
+
set cardDetails(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
594
|
+
|
|
595
|
+
localizedDescription: string
|
|
596
|
+
|
|
597
|
+
primaryAccountIdentifier: string
|
|
598
|
+
|
|
599
|
+
paymentNetwork: string
|
|
600
|
+
|
|
601
|
+
productIdentifiers: NSSet
|
|
602
|
+
|
|
603
|
+
requiresFelicaSecureElement: boolean
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
declare class PKPaymentButton extends NSButton {
|
|
607
|
+
static buttonWithTypeStyle<This extends abstract new (...args: any) => any>(
|
|
608
|
+
this: This,
|
|
609
|
+
buttonType: interop.Enum<typeof PKPaymentButtonType>,
|
|
610
|
+
buttonStyle: interop.Enum<typeof PKPaymentButtonStyle>,
|
|
611
|
+
): InstanceType<This>
|
|
612
|
+
|
|
613
|
+
initWithPaymentButtonTypePaymentButtonStyle(
|
|
614
|
+
type: interop.Enum<typeof PKPaymentButtonType>,
|
|
615
|
+
style: interop.Enum<typeof PKPaymentButtonStyle>,
|
|
616
|
+
): this
|
|
617
|
+
|
|
618
|
+
cornerRadius: number
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
declare class PKPaymentAuthorizationController extends NSObject {
|
|
622
|
+
static canMakePayments(): boolean
|
|
623
|
+
|
|
624
|
+
static canMakePaymentsUsingNetworks(
|
|
625
|
+
supportedNetworks: NSArray<interop.Object> | Array<interop.Object>,
|
|
626
|
+
): boolean
|
|
627
|
+
|
|
628
|
+
static canMakePaymentsUsingNetworksCapabilities(
|
|
629
|
+
supportedNetworks: NSArray<interop.Object> | Array<interop.Object>,
|
|
630
|
+
capabilties: interop.Enum<typeof PKMerchantCapability>,
|
|
631
|
+
): boolean
|
|
632
|
+
|
|
633
|
+
delegate: PKPaymentAuthorizationControllerDelegate
|
|
634
|
+
|
|
635
|
+
initWithPaymentRequest(request: PKPaymentRequest): this
|
|
636
|
+
|
|
637
|
+
presentWithCompletion(completion: (p1: boolean) => void | null): void
|
|
638
|
+
|
|
639
|
+
dismissWithCompletion(completion: () => void | null): void
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
declare class PKPaymentAuthorizationViewController extends NSViewController {
|
|
643
|
+
static canMakePayments(): boolean
|
|
644
|
+
|
|
645
|
+
static canMakePaymentsUsingNetworks(
|
|
646
|
+
supportedNetworks: NSArray<interop.Object> | Array<interop.Object>,
|
|
647
|
+
): boolean
|
|
648
|
+
|
|
649
|
+
static canMakePaymentsUsingNetworksCapabilities(
|
|
650
|
+
supportedNetworks: NSArray<interop.Object> | Array<interop.Object>,
|
|
651
|
+
capabilties: interop.Enum<typeof PKMerchantCapability>,
|
|
652
|
+
): boolean
|
|
653
|
+
|
|
654
|
+
delegate: PKPaymentAuthorizationViewControllerDelegate
|
|
655
|
+
|
|
656
|
+
initWithPaymentRequest(request: PKPaymentRequest): this
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
declare class PKPaymentToken extends NSObject {
|
|
660
|
+
readonly paymentMethod: PKPaymentMethod
|
|
661
|
+
|
|
662
|
+
readonly paymentInstrumentName: string
|
|
663
|
+
|
|
664
|
+
readonly paymentNetwork: string
|
|
665
|
+
|
|
666
|
+
readonly transactionIdentifier: string
|
|
667
|
+
|
|
668
|
+
readonly paymentData: NSData
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
declare class PKPaymentRequestMerchantSessionUpdate extends NSObject {
|
|
672
|
+
initWithStatusMerchantSession(
|
|
673
|
+
status: interop.Enum<typeof PKPaymentAuthorizationStatus>,
|
|
674
|
+
session: PKPaymentMerchantSession | null,
|
|
675
|
+
): this
|
|
676
|
+
|
|
677
|
+
status: interop.Enum<typeof PKPaymentAuthorizationStatus>
|
|
678
|
+
|
|
679
|
+
session: PKPaymentMerchantSession
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
declare class PKPaymentRequestPaymentMethodUpdate extends PKPaymentRequestUpdate {
|
|
683
|
+
initWithErrorsPaymentSummaryItems(
|
|
684
|
+
errors: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
685
|
+
paymentSummaryItems: NSArray<interop.Object> | Array<interop.Object>,
|
|
686
|
+
): this
|
|
687
|
+
|
|
688
|
+
get errors(): NSArray
|
|
689
|
+
set errors(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
declare class PKPaymentRequestShippingContactUpdate extends PKPaymentRequestUpdate {
|
|
693
|
+
initWithErrorsPaymentSummaryItemsShippingMethods(
|
|
694
|
+
errors: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
695
|
+
paymentSummaryItems: NSArray<interop.Object> | Array<interop.Object>,
|
|
696
|
+
shippingMethods: NSArray<interop.Object> | Array<interop.Object>,
|
|
697
|
+
): this
|
|
698
|
+
|
|
699
|
+
get shippingMethods(): NSArray
|
|
700
|
+
set shippingMethods(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
701
|
+
|
|
702
|
+
get errors(): NSArray
|
|
703
|
+
set errors(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
declare class PKPaymentRequestUpdate extends NSObject {
|
|
707
|
+
initWithPaymentSummaryItems(
|
|
708
|
+
paymentSummaryItems: NSArray<interop.Object> | Array<interop.Object>,
|
|
709
|
+
): this
|
|
710
|
+
|
|
711
|
+
status: interop.Enum<typeof PKPaymentAuthorizationStatus>
|
|
712
|
+
|
|
713
|
+
get paymentSummaryItems(): NSArray
|
|
714
|
+
set paymentSummaryItems(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
declare class PKSuicaPassProperties extends PKTransitPassProperties {
|
|
718
|
+
static passPropertiesForPass<This extends abstract new (...args: any) => any>(
|
|
719
|
+
this: This,
|
|
720
|
+
pass: PKPass,
|
|
721
|
+
): InstanceType<This>
|
|
722
|
+
|
|
723
|
+
readonly transitBalance: NSDecimalNumber
|
|
724
|
+
|
|
725
|
+
readonly transitBalanceCurrencyCode: string
|
|
726
|
+
|
|
727
|
+
readonly inStation: boolean
|
|
728
|
+
|
|
729
|
+
readonly inShinkansenStation: boolean
|
|
730
|
+
|
|
731
|
+
readonly balanceAllowedForCommute: boolean
|
|
732
|
+
|
|
733
|
+
readonly lowBalanceGateNotificationEnabled: boolean
|
|
734
|
+
|
|
735
|
+
readonly greenCarTicketUsed: boolean
|
|
736
|
+
|
|
737
|
+
readonly blacklisted: boolean
|
|
738
|
+
|
|
739
|
+
isInStation(): boolean
|
|
740
|
+
|
|
741
|
+
isInShinkansenStation(): boolean
|
|
742
|
+
|
|
743
|
+
isBalanceAllowedForCommute(): boolean
|
|
744
|
+
|
|
745
|
+
isLowBalanceGateNotificationEnabled(): boolean
|
|
746
|
+
|
|
747
|
+
isGreenCarTicketUsed(): boolean
|
|
748
|
+
|
|
749
|
+
isBlacklisted(): boolean
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
declare class PKStoredValuePassBalance extends NSObject {
|
|
753
|
+
readonly amount: NSDecimalNumber
|
|
754
|
+
|
|
755
|
+
readonly currencyCode: string
|
|
756
|
+
|
|
757
|
+
readonly balanceType: string
|
|
758
|
+
|
|
759
|
+
readonly expiryDate: NSDate
|
|
760
|
+
|
|
761
|
+
isEqualToBalance(balance: PKStoredValuePassBalance): boolean
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
declare class PKContact extends NSObject {
|
|
765
|
+
name: NSPersonNameComponents
|
|
766
|
+
|
|
767
|
+
postalAddress: CNPostalAddress
|
|
768
|
+
|
|
769
|
+
phoneNumber: CNPhoneNumber
|
|
770
|
+
|
|
771
|
+
emailAddress: string
|
|
772
|
+
|
|
773
|
+
supplementarySubLocality: string
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
declare class PKPaymentPass extends PKSecureElementPass {
|
|
777
|
+
readonly activationState: interop.Enum<typeof PKPaymentPassActivationState>
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
declare class PKSecureElementPass extends PKPass {
|
|
781
|
+
readonly primaryAccountIdentifier: string
|
|
782
|
+
|
|
783
|
+
readonly primaryAccountNumberSuffix: string
|
|
784
|
+
|
|
785
|
+
readonly deviceAccountIdentifier: string
|
|
786
|
+
|
|
787
|
+
readonly deviceAccountNumberSuffix: string
|
|
788
|
+
|
|
789
|
+
readonly passActivationState: interop.Enum<typeof PKSecureElementPassActivationState>
|
|
790
|
+
|
|
791
|
+
readonly devicePassIdentifier: string
|
|
792
|
+
|
|
793
|
+
readonly pairedTerminalIdentifier: string
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
declare class PKIssuerProvisioningExtensionStatus extends NSObject {
|
|
797
|
+
init(): this
|
|
798
|
+
|
|
799
|
+
requiresAuthentication: boolean
|
|
800
|
+
|
|
801
|
+
passEntriesAvailable: boolean
|
|
802
|
+
|
|
803
|
+
remotePassEntriesAvailable: boolean
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
declare class PKStoredValuePassProperties extends NSObject {
|
|
807
|
+
static passPropertiesForPass<This extends abstract new (...args: any) => any>(
|
|
808
|
+
this: This,
|
|
809
|
+
pass: PKPass,
|
|
810
|
+
): InstanceType<This>
|
|
811
|
+
|
|
812
|
+
readonly expirationDate: NSDate
|
|
813
|
+
|
|
814
|
+
readonly balances: NSArray
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
declare class PKJapanIndividualNumberCardMetadata extends PKIdentityDocumentMetadata {
|
|
818
|
+
initWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardTemplateIdentifierPreview(
|
|
819
|
+
credentialIdentifier: string,
|
|
820
|
+
sharingInstanceIdentifier: string,
|
|
821
|
+
templateIdentifier: string,
|
|
822
|
+
preview: PKAddPassMetadataPreview,
|
|
823
|
+
): this
|
|
824
|
+
|
|
825
|
+
initWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardConfigurationIdentifierPreview(
|
|
826
|
+
credentialIdentifier: string,
|
|
827
|
+
sharingInstanceIdentifier: string,
|
|
828
|
+
cardConfigurationIdentifier: string,
|
|
829
|
+
preview: PKAddPassMetadataPreview,
|
|
830
|
+
): this
|
|
831
|
+
|
|
832
|
+
authenticationPassword: string
|
|
833
|
+
|
|
834
|
+
signingPassword: string
|
|
835
|
+
|
|
836
|
+
preview: PKAddPassMetadataPreview
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
declare class PKObject extends NSObject {}
|
|
840
|
+
|
|
841
|
+
declare class PKPaymentMethod extends NSObject {
|
|
842
|
+
readonly displayName: string
|
|
843
|
+
|
|
844
|
+
readonly network: string
|
|
845
|
+
|
|
846
|
+
readonly type: interop.Enum<typeof PKPaymentMethodType>
|
|
847
|
+
|
|
848
|
+
readonly paymentPass: PKPaymentPass
|
|
849
|
+
|
|
850
|
+
readonly secureElementPass: PKSecureElementPass
|
|
851
|
+
|
|
852
|
+
readonly billingAddress: CNContact
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
declare class PKPaymentAuthorizationResult extends NSObject {
|
|
856
|
+
initWithStatusErrors(
|
|
857
|
+
status: interop.Enum<typeof PKPaymentAuthorizationStatus>,
|
|
858
|
+
errors: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
859
|
+
): this
|
|
860
|
+
|
|
861
|
+
status: interop.Enum<typeof PKPaymentAuthorizationStatus>
|
|
862
|
+
|
|
863
|
+
get errors(): NSArray
|
|
864
|
+
set errors(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
declare class PKPassRelevantDate extends NSObject {
|
|
868
|
+
readonly interval: NSDateInterval
|
|
869
|
+
|
|
870
|
+
readonly date: NSDate
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
declare class PKPaymentRequestShippingMethodUpdate extends PKPaymentRequestUpdate {}
|
|
874
|
+
|
|
875
|
+
declare class PKShippingMethod extends PKPaymentSummaryItem {
|
|
876
|
+
identifier: string
|
|
877
|
+
|
|
878
|
+
detail: string
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
declare class PKIssuerProvisioningExtensionPassEntry extends NSObject {
|
|
882
|
+
readonly identifier: string
|
|
883
|
+
|
|
884
|
+
readonly title: string
|
|
885
|
+
|
|
886
|
+
readonly art: interop.Object
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
declare class PKBarcodeEventSignatureRequest extends NSObject {
|
|
890
|
+
readonly deviceAccountIdentifier: string
|
|
891
|
+
|
|
892
|
+
readonly transactionIdentifier: string
|
|
893
|
+
|
|
894
|
+
readonly barcodeIdentifier: string
|
|
895
|
+
|
|
896
|
+
readonly rawMerchantName: string
|
|
897
|
+
|
|
898
|
+
readonly merchantName: string
|
|
899
|
+
|
|
900
|
+
readonly transactionDate: NSDate
|
|
901
|
+
|
|
902
|
+
readonly currencyCode: string
|
|
903
|
+
|
|
904
|
+
readonly amount: NSNumber
|
|
905
|
+
|
|
906
|
+
readonly transactionStatus: string
|
|
907
|
+
|
|
908
|
+
readonly partialSignature: NSData
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
declare class PKIssuerProvisioningExtensionPaymentPassEntry extends PKIssuerProvisioningExtensionPassEntry {
|
|
912
|
+
initWithIdentifierTitleArtAddRequestConfiguration(
|
|
913
|
+
identifier: string,
|
|
914
|
+
title: string,
|
|
915
|
+
art: interop.Object,
|
|
916
|
+
configuration: PKAddPaymentPassRequestConfiguration,
|
|
917
|
+
): this
|
|
918
|
+
|
|
919
|
+
readonly addRequestConfiguration: PKAddPaymentPassRequestConfiguration
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
declare class PKPaymentRequest extends NSObject {
|
|
923
|
+
static availableNetworks(): NSArray
|
|
924
|
+
|
|
925
|
+
static paymentContactInvalidErrorWithContactFieldLocalizedDescription(
|
|
926
|
+
field: string,
|
|
927
|
+
localizedDescription: string | null,
|
|
928
|
+
): NSError
|
|
929
|
+
|
|
930
|
+
static paymentShippingAddressInvalidErrorWithKeyLocalizedDescription(
|
|
931
|
+
postalAddressKey: string,
|
|
932
|
+
localizedDescription: string | null,
|
|
933
|
+
): NSError
|
|
934
|
+
|
|
935
|
+
static paymentBillingAddressInvalidErrorWithKeyLocalizedDescription(
|
|
936
|
+
postalAddressKey: string,
|
|
937
|
+
localizedDescription: string | null,
|
|
938
|
+
): NSError
|
|
939
|
+
|
|
940
|
+
static paymentShippingAddressUnserviceableErrorWithLocalizedDescription(
|
|
941
|
+
localizedDescription: string | null,
|
|
942
|
+
): NSError
|
|
943
|
+
|
|
944
|
+
merchantIdentifier: string
|
|
945
|
+
|
|
946
|
+
attributionIdentifier: string
|
|
947
|
+
|
|
948
|
+
countryCode: string
|
|
949
|
+
|
|
950
|
+
get supportedNetworks(): NSArray
|
|
951
|
+
set supportedNetworks(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
952
|
+
|
|
953
|
+
merchantCapabilities: interop.Enum<typeof PKMerchantCapability>
|
|
954
|
+
|
|
955
|
+
get paymentSummaryItems(): NSArray
|
|
956
|
+
set paymentSummaryItems(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
957
|
+
|
|
958
|
+
currencyCode: string
|
|
959
|
+
|
|
960
|
+
requiredBillingContactFields: NSSet
|
|
961
|
+
|
|
962
|
+
requiredBillingAddressFields: interop.Enum<typeof PKAddressField>
|
|
963
|
+
|
|
964
|
+
billingContact: PKContact
|
|
965
|
+
|
|
966
|
+
requiredShippingContactFields: NSSet
|
|
967
|
+
|
|
968
|
+
requiredShippingAddressFields: interop.Enum<typeof PKAddressField>
|
|
969
|
+
|
|
970
|
+
shippingContact: PKContact
|
|
971
|
+
|
|
972
|
+
get shippingMethods(): NSArray
|
|
973
|
+
set shippingMethods(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
974
|
+
|
|
975
|
+
shippingType: interop.Enum<typeof PKShippingType>
|
|
976
|
+
|
|
977
|
+
applicationData: NSData
|
|
978
|
+
|
|
979
|
+
supportedCountries: NSSet
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
declare class PKIdentityDocumentMetadata extends NSObject {
|
|
983
|
+
readonly credentialIdentifier: string
|
|
984
|
+
|
|
985
|
+
readonly sharingInstanceIdentifier: string
|
|
986
|
+
|
|
987
|
+
readonly cardTemplateIdentifier: string
|
|
988
|
+
|
|
989
|
+
readonly cardConfigurationIdentifier: string
|
|
990
|
+
|
|
991
|
+
serverEnvironmentIdentifier: string
|
|
992
|
+
|
|
993
|
+
readonly issuingCountryCode: string
|
|
994
|
+
|
|
995
|
+
readonly documentType: interop.Enum<typeof PKAddIdentityDocumentType>
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
declare class PKPayment extends NSObject {
|
|
999
|
+
readonly token: PKPaymentToken
|
|
1000
|
+
|
|
1001
|
+
readonly billingContact: PKContact
|
|
1002
|
+
|
|
1003
|
+
readonly shippingContact: PKContact
|
|
1004
|
+
|
|
1005
|
+
readonly shippingMethod: PKShippingMethod
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
declare class PKAddIdentityDocumentConfiguration extends PKAddSecureElementPassConfiguration {
|
|
1009
|
+
static configurationForMetadataCompletion(
|
|
1010
|
+
metadata: PKIdentityDocumentMetadata,
|
|
1011
|
+
completion: (p1: PKAddIdentityDocumentConfiguration, p2: NSError) => void | null,
|
|
1012
|
+
): void
|
|
1013
|
+
|
|
1014
|
+
readonly metadata: PKIdentityDocumentMetadata
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
declare class PKBarcodeEventSignatureResponse extends NSObject {
|
|
1018
|
+
initWithSignedData(signedData: NSData): this
|
|
1019
|
+
|
|
1020
|
+
signedData: NSData
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
declare class PKLabeledValue extends NSObject {
|
|
1024
|
+
initWithLabelValue(label: string, value: string): this
|
|
1025
|
+
|
|
1026
|
+
readonly label: string
|
|
1027
|
+
|
|
1028
|
+
readonly value: string
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
declare class PKAddShareablePassConfiguration extends PKAddSecureElementPassConfiguration {
|
|
1032
|
+
static configurationForPassMetadataProvisioningPolicyIdentifierPrimaryActionCompletion(
|
|
1033
|
+
passMetadata: NSArray<interop.Object> | Array<interop.Object>,
|
|
1034
|
+
provisioningPolicyIdentifier: string,
|
|
1035
|
+
action: interop.Enum<typeof PKAddShareablePassConfigurationPrimaryAction>,
|
|
1036
|
+
completion: (p1: PKAddShareablePassConfiguration, p2: NSError) => void | null,
|
|
1037
|
+
): void
|
|
1038
|
+
|
|
1039
|
+
static configurationForPassMetadataPrimaryActionCompletion(
|
|
1040
|
+
passMetadata: NSArray<interop.Object> | Array<interop.Object>,
|
|
1041
|
+
action: interop.Enum<typeof PKAddShareablePassConfigurationPrimaryAction>,
|
|
1042
|
+
completion: (p1: PKAddShareablePassConfiguration, p2: NSError) => void | null,
|
|
1043
|
+
): void
|
|
1044
|
+
|
|
1045
|
+
readonly primaryAction: interop.Enum<typeof PKAddShareablePassConfigurationPrimaryAction>
|
|
1046
|
+
|
|
1047
|
+
readonly credentialsMetadata: NSArray
|
|
1048
|
+
|
|
1049
|
+
readonly provisioningPolicyIdentifier: string
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
declare class PKPass extends PKObject {
|
|
1053
|
+
initWithDataError(data: NSData, error: interop.PointerConvertible): this
|
|
1054
|
+
|
|
1055
|
+
readonly passType: interop.Enum<typeof PKPassType>
|
|
1056
|
+
|
|
1057
|
+
readonly paymentPass: PKPaymentPass
|
|
1058
|
+
|
|
1059
|
+
readonly secureElementPass: PKSecureElementPass
|
|
1060
|
+
|
|
1061
|
+
readonly serialNumber: string
|
|
1062
|
+
|
|
1063
|
+
readonly passTypeIdentifier: string
|
|
1064
|
+
|
|
1065
|
+
readonly webServiceURL: NSURL
|
|
1066
|
+
|
|
1067
|
+
readonly authenticationToken: string
|
|
1068
|
+
|
|
1069
|
+
readonly localizedName: string
|
|
1070
|
+
|
|
1071
|
+
readonly localizedDescription: string
|
|
1072
|
+
|
|
1073
|
+
readonly organizationName: string
|
|
1074
|
+
|
|
1075
|
+
readonly relevantDate: NSDate
|
|
1076
|
+
|
|
1077
|
+
readonly userInfo: NSDictionary
|
|
1078
|
+
|
|
1079
|
+
readonly passURL: NSURL
|
|
1080
|
+
|
|
1081
|
+
readonly remotePass: boolean
|
|
1082
|
+
|
|
1083
|
+
readonly deviceName: string
|
|
1084
|
+
|
|
1085
|
+
localizedValueForFieldKey(key: string): interop.Object
|
|
1086
|
+
|
|
1087
|
+
isRemotePass(): boolean
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
declare class PKAddPaymentPassRequest extends NSObject {
|
|
1091
|
+
init(): this
|
|
1092
|
+
|
|
1093
|
+
encryptedPassData: NSData
|
|
1094
|
+
|
|
1095
|
+
activationData: NSData
|
|
1096
|
+
|
|
1097
|
+
ephemeralPublicKey: NSData
|
|
1098
|
+
|
|
1099
|
+
wrappedKey: NSData
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
declare class PKBarcodeEventMetadataResponse extends NSObject {
|
|
1103
|
+
initWithPaymentInformation(paymentInformation: NSData): this
|
|
1104
|
+
|
|
1105
|
+
paymentInformation: NSData
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
declare class PKAddIdentityDocumentMetadata extends PKIdentityDocumentMetadata {
|
|
1109
|
+
initWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardTemplateIdentifierIssuingCountryCodeDocumentTypePreview(
|
|
1110
|
+
credentialIdentifier: string,
|
|
1111
|
+
sharingInstanceIdentifier: string,
|
|
1112
|
+
templateIdentifier: string,
|
|
1113
|
+
issuingCountryCode: string,
|
|
1114
|
+
documentType: interop.Enum<typeof PKAddIdentityDocumentType>,
|
|
1115
|
+
preview: PKAddPassMetadataPreview,
|
|
1116
|
+
): this
|
|
1117
|
+
|
|
1118
|
+
readonly preview: PKAddPassMetadataPreview
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
declare class PKPaymentInformationEventExtension extends NSObject {}
|
|
1122
|
+
|
|
1123
|
+
declare class PKBarcodeEventMetadataRequest extends NSObject {
|
|
1124
|
+
readonly deviceAccountIdentifier: string
|
|
1125
|
+
|
|
1126
|
+
readonly lastUsedBarcodeIdentifier: string
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
declare class PKAddSecureElementPassConfiguration extends NSObject {
|
|
1130
|
+
issuerIdentifier: string
|
|
1131
|
+
|
|
1132
|
+
localizedDescription: string
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
declare class PKPaymentSummaryItem extends NSObject {
|
|
1136
|
+
static summaryItemWithLabelAmount<This extends abstract new (...args: any) => any>(
|
|
1137
|
+
this: This,
|
|
1138
|
+
label: string,
|
|
1139
|
+
amount: NSDecimalNumber,
|
|
1140
|
+
): InstanceType<This>
|
|
1141
|
+
|
|
1142
|
+
static summaryItemWithLabelAmountType<This extends abstract new (...args: any) => any>(
|
|
1143
|
+
this: This,
|
|
1144
|
+
label: string,
|
|
1145
|
+
amount: NSDecimalNumber,
|
|
1146
|
+
type: interop.Enum<typeof PKPaymentSummaryItemType>,
|
|
1147
|
+
): InstanceType<This>
|
|
1148
|
+
|
|
1149
|
+
label: string
|
|
1150
|
+
|
|
1151
|
+
amount: NSDecimalNumber
|
|
1152
|
+
|
|
1153
|
+
type: interop.Enum<typeof PKPaymentSummaryItemType>
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
declare class PKPassLibrary extends NSObject {
|
|
1157
|
+
static isPassLibraryAvailable(): boolean
|
|
1158
|
+
|
|
1159
|
+
static requestAutomaticPassPresentationSuppressionWithResponseHandler(
|
|
1160
|
+
responseHandler: (
|
|
1161
|
+
p1: interop.Enum<typeof PKAutomaticPassPresentationSuppressionResult>,
|
|
1162
|
+
) => void,
|
|
1163
|
+
): number
|
|
1164
|
+
|
|
1165
|
+
static endAutomaticPassPresentationSuppressionWithRequestToken(requestToken: number): void
|
|
1166
|
+
|
|
1167
|
+
static isSuppressingAutomaticPassPresentation(): boolean
|
|
1168
|
+
|
|
1169
|
+
static isPaymentPassActivationAvailable(): boolean
|
|
1170
|
+
|
|
1171
|
+
isPaymentPassActivationAvailable(): boolean
|
|
1172
|
+
|
|
1173
|
+
readonly secureElementPassActivationAvailable: boolean
|
|
1174
|
+
|
|
1175
|
+
passes(): NSArray
|
|
1176
|
+
|
|
1177
|
+
passWithPassTypeIdentifierSerialNumber(identifier: string, serialNumber: string): PKPass
|
|
1178
|
+
|
|
1179
|
+
passesWithReaderIdentifier(readerIdentifier: string): NSSet
|
|
1180
|
+
|
|
1181
|
+
passesOfType(passType: interop.Enum<typeof PKPassType>): NSArray
|
|
1182
|
+
|
|
1183
|
+
remotePaymentPasses(): NSArray
|
|
1184
|
+
|
|
1185
|
+
readonly remoteSecureElementPasses: NSArray
|
|
1186
|
+
|
|
1187
|
+
removePass(pass: PKPass): void
|
|
1188
|
+
|
|
1189
|
+
containsPass(pass: PKPass): boolean
|
|
1190
|
+
|
|
1191
|
+
replacePassWithPass(pass: PKPass): boolean
|
|
1192
|
+
|
|
1193
|
+
addPassesWithCompletionHandler(
|
|
1194
|
+
passes: NSArray<interop.Object> | Array<interop.Object>,
|
|
1195
|
+
completion: (p1: interop.Enum<typeof PKPassLibraryAddPassesStatus>) => void | null,
|
|
1196
|
+
): void
|
|
1197
|
+
|
|
1198
|
+
openPaymentSetup(): void
|
|
1199
|
+
|
|
1200
|
+
presentPaymentPass(pass: PKPaymentPass): void
|
|
1201
|
+
|
|
1202
|
+
presentSecureElementPass(pass: PKSecureElementPass): void
|
|
1203
|
+
|
|
1204
|
+
canAddPaymentPassWithPrimaryAccountIdentifier(primaryAccountIdentifier: string): boolean
|
|
1205
|
+
|
|
1206
|
+
canAddSecureElementPassWithPrimaryAccountIdentifier(primaryAccountIdentifier: string): boolean
|
|
1207
|
+
|
|
1208
|
+
canAddFelicaPass(): boolean
|
|
1209
|
+
|
|
1210
|
+
activatePaymentPassWithActivationDataCompletion(
|
|
1211
|
+
paymentPass: PKPaymentPass,
|
|
1212
|
+
activationData: NSData,
|
|
1213
|
+
completion: (p1: boolean, p2: NSError) => void | null,
|
|
1214
|
+
): void
|
|
1215
|
+
|
|
1216
|
+
activatePaymentPassWithActivationCodeCompletion(
|
|
1217
|
+
paymentPass: PKPaymentPass,
|
|
1218
|
+
activationCode: string,
|
|
1219
|
+
completion: (p1: boolean, p2: NSError) => void | null,
|
|
1220
|
+
): void
|
|
1221
|
+
|
|
1222
|
+
activateSecureElementPassWithActivationDataCompletion(
|
|
1223
|
+
secureElementPass: PKSecureElementPass,
|
|
1224
|
+
activationData: NSData,
|
|
1225
|
+
completion: (p1: boolean, p2: NSError) => void | null,
|
|
1226
|
+
): void
|
|
1227
|
+
|
|
1228
|
+
signDataWithSecureElementPassCompletion(
|
|
1229
|
+
signData: NSData,
|
|
1230
|
+
secureElementPass: PKSecureElementPass,
|
|
1231
|
+
completion: (p1: NSData, p2: NSData, p3: NSError) => void | null,
|
|
1232
|
+
): void
|
|
1233
|
+
|
|
1234
|
+
encryptedServiceProviderDataForSecureElementPassCompletion(
|
|
1235
|
+
secureElementPass: PKSecureElementPass,
|
|
1236
|
+
completion: (
|
|
1237
|
+
p1: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
|
|
1238
|
+
p2: NSError,
|
|
1239
|
+
) => void | null,
|
|
1240
|
+
): void
|
|
1241
|
+
|
|
1242
|
+
serviceProviderDataForSecureElementPassCompletion(
|
|
1243
|
+
secureElementPass: PKSecureElementPass,
|
|
1244
|
+
completion: (p1: NSData, p2: NSError) => void | null,
|
|
1245
|
+
): void
|
|
1246
|
+
|
|
1247
|
+
isSecureElementPassActivationAvailable(): boolean
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
declare class PKAddPassMetadataPreview extends NSObject {
|
|
1251
|
+
initWithPassThumbnailLocalizedDescription(
|
|
1252
|
+
passThumbnail: interop.Object,
|
|
1253
|
+
description: string,
|
|
1254
|
+
): this
|
|
1255
|
+
|
|
1256
|
+
static previewWithPassThumbnailLocalizedDescription<
|
|
1257
|
+
This extends abstract new (...args: any) => any,
|
|
1258
|
+
>(this: This, passThumbnail: interop.Object, description: string): InstanceType<This>
|
|
1259
|
+
|
|
1260
|
+
readonly passThumbnailImage: interop.Object
|
|
1261
|
+
|
|
1262
|
+
readonly localizedDescription: string
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
declare class PKTransitPassProperties extends PKStoredValuePassProperties {
|
|
1266
|
+
readonly transitBalance: NSDecimalNumber
|
|
1267
|
+
|
|
1268
|
+
readonly transitBalanceCurrencyCode: string
|
|
1269
|
+
|
|
1270
|
+
readonly blacklisted: boolean
|
|
1271
|
+
|
|
1272
|
+
readonly expirationDate: NSDate
|
|
1273
|
+
|
|
1274
|
+
readonly inStation: boolean
|
|
1275
|
+
|
|
1276
|
+
isBlacklisted(): boolean
|
|
1277
|
+
|
|
1278
|
+
isInStation(): boolean
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
declare class PKBarcodeEventConfigurationRequest extends NSObject {
|
|
1282
|
+
readonly deviceAccountIdentifier: string
|
|
1283
|
+
|
|
1284
|
+
readonly configurationData: NSData
|
|
1285
|
+
|
|
1286
|
+
readonly configurationDataType: interop.Enum<typeof PKBarcodeEventConfigurationDataType>
|
|
1287
|
+
}
|