objcjs-types 0.4.0 → 0.5.1

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.
Files changed (1259) hide show
  1. package/dist/AVFAudio/AVAudioApplication.d.ts +3 -3
  2. package/dist/AVFAudio/AVAudioConverter.d.ts +1 -1
  3. package/dist/AVFAudio/AVAudioEngine.d.ts +5 -5
  4. package/dist/AVFAudio/AVAudioInputNode.d.ts +3 -2
  5. package/dist/AVFAudio/AVAudioNode.d.ts +2 -2
  6. package/dist/AVFAudio/AVAudioPCMBuffer.d.ts +1 -1
  7. package/dist/AVFAudio/AVAudioPlayerNode.d.ts +8 -9
  8. package/dist/AVFAudio/AVAudioRoutingArbiter.d.ts +2 -2
  9. package/dist/AVFAudio/AVAudioSequencer.d.ts +1 -1
  10. package/dist/AVFAudio/AVAudioSession.d.ts +3 -2
  11. package/dist/AVFAudio/AVAudioSinkNode.d.ts +1 -1
  12. package/dist/AVFAudio/AVAudioSourceNode.d.ts +2 -2
  13. package/dist/AVFAudio/AVAudioUnit.d.ts +2 -1
  14. package/dist/AVFAudio/AVAudioUnitComponentManager.d.ts +2 -1
  15. package/dist/AVFAudio/AVMIDIPlayer.d.ts +1 -1
  16. package/dist/AVFAudio/AVMusicTrack.d.ts +1 -1
  17. package/dist/AVFAudio/AVSpeechSynthesisProviderAudioUnit.d.ts +2 -3
  18. package/dist/AVFAudio/AVSpeechSynthesizer.d.ts +4 -4
  19. package/dist/AVFoundation/AVAsset.d.ts +9 -8
  20. package/dist/AVFoundation/AVAssetExportSession.d.ts +5 -6
  21. package/dist/AVFoundation/AVAssetImageGenerator.d.ts +4 -2
  22. package/dist/AVFoundation/AVAssetPlaybackAssistant.d.ts +2 -2
  23. package/dist/AVFoundation/AVAssetTrack.d.ts +5 -5
  24. package/dist/AVFoundation/AVAssetWriter.d.ts +1 -1
  25. package/dist/AVFoundation/AVAssetWriterInput.d.ts +2 -2
  26. package/dist/AVFoundation/AVAsynchronousKeyValueLoading.d.ts +1 -1
  27. package/dist/AVFoundation/AVCaptionConversionValidator.d.ts +2 -2
  28. package/dist/AVFoundation/AVCaptureDeskViewApplication.d.ts +3 -3
  29. package/dist/AVFoundation/AVCaptureDevice.d.ts +8 -7
  30. package/dist/AVFoundation/AVCaptureIndexPicker.d.ts +2 -3
  31. package/dist/AVFoundation/AVCapturePhotoOutput.d.ts +2 -1
  32. package/dist/AVFoundation/AVCaptureSlider.d.ts +1 -2
  33. package/dist/AVFoundation/AVCaptureStillImageOutput.d.ts +5 -3
  34. package/dist/AVFoundation/AVCaptureSystemExposureBiasSlider.d.ts +1 -2
  35. package/dist/AVFoundation/AVCaptureSystemZoomSlider.d.ts +1 -2
  36. package/dist/AVFoundation/AVComposition.d.ts +3 -7
  37. package/dist/AVFoundation/AVContentKeyRequest.d.ts +1 -1
  38. package/dist/AVFoundation/AVContentKeySession.d.ts +4 -3
  39. package/dist/AVFoundation/AVError.d.ts +88 -0
  40. package/dist/AVFoundation/AVError.js +88 -0
  41. package/dist/AVFoundation/AVExternalStorageDevice.d.ts +1 -1
  42. package/dist/AVFoundation/AVFragmentedAsset.d.ts +3 -7
  43. package/dist/AVFoundation/AVFragmentedMovie.d.ts +3 -7
  44. package/dist/AVFoundation/AVMetadataItem.d.ts +3 -2
  45. package/dist/AVFoundation/AVMovie.d.ts +3 -6
  46. package/dist/AVFoundation/AVMutableComposition.d.ts +4 -7
  47. package/dist/AVFoundation/AVMutableMovie.d.ts +3 -6
  48. package/dist/AVFoundation/AVMutableVideoComposition.d.ts +4 -10
  49. package/dist/AVFoundation/AVPlaybackCoordinatorPlaybackControlDelegate.d.ts +4 -5
  50. package/dist/AVFoundation/AVPlayer.d.ts +6 -6
  51. package/dist/AVFoundation/AVPlayerItem.d.ts +4 -4
  52. package/dist/AVFoundation/AVPlayerItemIntegratedTimeline.d.ts +4 -5
  53. package/dist/AVFoundation/AVQueuedSampleBufferRendering.d.ts +1 -1
  54. package/dist/AVFoundation/AVSampleBufferAudioRenderer.d.ts +1 -2
  55. package/dist/AVFoundation/AVSampleBufferDisplayLayer.d.ts +1 -1
  56. package/dist/AVFoundation/AVSampleBufferGenerator.d.ts +2 -1
  57. package/dist/AVFoundation/AVSampleBufferGeneratorBatch.d.ts +2 -2
  58. package/dist/AVFoundation/AVSampleBufferRenderSynchronizer.d.ts +3 -3
  59. package/dist/AVFoundation/AVSampleBufferVideoRenderer.d.ts +3 -2
  60. package/dist/AVFoundation/AVURLAsset.d.ts +2 -2
  61. package/dist/AVFoundation/AVVideoComposition.d.ts +6 -4
  62. package/dist/AVFoundation/index.d.ts +1 -0
  63. package/dist/AVFoundation/index.js +1 -0
  64. package/dist/AVKit/AVPictureInPictureControllerDelegate.d.ts +1 -2
  65. package/dist/AVKit/AVPictureInPictureSampleBufferPlaybackDelegate.d.ts +1 -2
  66. package/dist/AVKit/AVPlayerView.d.ts +2 -2
  67. package/dist/AVKit/AVPlayerViewDelegate.d.ts +1 -2
  68. package/dist/AVKit/AVPlayerViewPictureInPictureDelegate.d.ts +1 -2
  69. package/dist/AVRouting/AVCustomRoutingControllerDelegate.d.ts +1 -2
  70. package/dist/Accessibility/AXBrailleMapRenderer.d.ts +3 -3
  71. package/dist/Accessibility/AXCustomContentProvider.d.ts +2 -3
  72. package/dist/Accessibility/AXNumericDataAxisDescriptor.d.ts +4 -5
  73. package/dist/Accessibility/functions.d.ts +2 -2
  74. package/dist/Accessibility/functions.js +1 -1
  75. package/dist/AccessorySetupKit/ASAccessorySession.d.ts +12 -10
  76. package/dist/AccessorySetupKit/ASErrorCode.d.ts +15 -0
  77. package/dist/AccessorySetupKit/ASErrorCode.js +15 -0
  78. package/dist/AccessorySetupKit/index.d.ts +1 -0
  79. package/dist/AccessorySetupKit/index.js +1 -0
  80. package/dist/Accounts/ACAccountStore.d.ts +7 -6
  81. package/dist/AdServices/AAAttributionErrorCode.d.ts +6 -0
  82. package/dist/AdServices/AAAttributionErrorCode.js +6 -0
  83. package/dist/AdServices/index.d.ts +1 -0
  84. package/dist/AdServices/index.js +1 -0
  85. package/dist/AppKit/NSAccessibilityCustomAction.d.ts +3 -4
  86. package/dist/AppKit/NSAlert.d.ts +1 -1
  87. package/dist/AppKit/NSAnimationContext.d.ts +4 -5
  88. package/dist/AppKit/NSAppearance.d.ts +1 -2
  89. package/dist/AppKit/NSApplication.d.ts +3 -2
  90. package/dist/AppKit/NSApplicationDelegate.d.ts +1 -1
  91. package/dist/AppKit/NSButton.d.ts +3 -2
  92. package/dist/AppKit/NSCandidateListTouchBarItem.d.ts +3 -2
  93. package/dist/AppKit/NSCell.d.ts +3 -2
  94. package/dist/AppKit/NSCollectionLayoutGroup.d.ts +2 -2
  95. package/dist/AppKit/NSCollectionLayoutSection.d.ts +4 -3
  96. package/dist/AppKit/NSCollectionView.d.ts +1 -1
  97. package/dist/AppKit/NSCollectionViewCompositionalLayout.d.ts +3 -3
  98. package/dist/AppKit/NSCollectionViewDiffableDataSource.d.ts +6 -3
  99. package/dist/AppKit/NSColor.d.ts +2 -1
  100. package/dist/AppKit/NSColorSampler.d.ts +2 -2
  101. package/dist/AppKit/NSControlStateValue.d.ts +6 -0
  102. package/dist/AppKit/NSControlStateValue.js +6 -0
  103. package/dist/AppKit/NSCursor.d.ts +2 -2
  104. package/dist/AppKit/NSCursorFrameResizePosition.d.ts +11 -0
  105. package/dist/AppKit/NSCursorFrameResizePosition.js +11 -0
  106. package/dist/AppKit/NSCustomImageRep.d.ts +3 -2
  107. package/dist/AppKit/NSDocument.d.ts +20 -20
  108. package/dist/AppKit/NSDocumentController.d.ts +4 -4
  109. package/dist/AppKit/NSDraggingInfo.d.ts +2 -1
  110. package/dist/AppKit/NSDraggingItem.d.ts +2 -2
  111. package/dist/AppKit/NSDraggingSession.d.ts +2 -1
  112. package/dist/AppKit/NSEvent.d.ts +3 -3
  113. package/dist/AppKit/NSFilePromiseProviderDelegate.d.ts +2 -2
  114. package/dist/AppKit/NSFilePromiseReceiver.d.ts +2 -2
  115. package/dist/AppKit/NSFontAssetRequest.d.ts +2 -2
  116. package/dist/AppKit/NSImage.d.ts +1 -1
  117. package/dist/AppKit/NSLayoutManager.d.ts +2 -2
  118. package/dist/AppKit/NSMenu.d.ts +2 -2
  119. package/dist/AppKit/NSMenuItem.d.ts +3 -2
  120. package/dist/AppKit/NSModalResponse.d.ts +11 -0
  121. package/dist/AppKit/NSModalResponse.js +11 -0
  122. package/dist/AppKit/NSPDFPanel.d.ts +1 -2
  123. package/dist/AppKit/NSPageLayout.d.ts +2 -1
  124. package/dist/AppKit/NSPasteboard.d.ts +4 -3
  125. package/dist/AppKit/NSPasteboardItem.d.ts +5 -3
  126. package/dist/AppKit/NSPrintPanel.d.ts +2 -1
  127. package/dist/AppKit/NSSavePanel.d.ts +2 -2
  128. package/dist/AppKit/NSScrubber.d.ts +1 -1
  129. package/dist/AppKit/NSSharingService.d.ts +1 -2
  130. package/dist/AppKit/NSSliderAccessoryBehavior.d.ts +1 -1
  131. package/dist/AppKit/NSSpellChecker.d.ts +3 -3
  132. package/dist/AppKit/NSStepperTouchBarItem.d.ts +2 -1
  133. package/dist/AppKit/NSStoryboard.d.ts +3 -2
  134. package/dist/AppKit/NSStoryboardSegue.d.ts +1 -1
  135. package/dist/AppKit/NSSwitch.d.ts +3 -2
  136. package/dist/AppKit/NSTableView.d.ts +1 -1
  137. package/dist/AppKit/NSTableViewDiffableDataSource.d.ts +9 -6
  138. package/dist/AppKit/NSTableViewRowAction.d.ts +1 -2
  139. package/dist/AppKit/NSTextContentManager.d.ts +3 -3
  140. package/dist/AppKit/NSTextElementProvider.d.ts +4 -3
  141. package/dist/AppKit/NSTextInsertionIndicator.d.ts +2 -3
  142. package/dist/AppKit/NSTextLayoutManager.d.ts +5 -5
  143. package/dist/AppKit/NSTextSelectionDataSource.d.ts +4 -3
  144. package/dist/AppKit/NSTextStorageObserving.d.ts +1 -2
  145. package/dist/AppKit/NSToolbarItem.d.ts +3 -2
  146. package/dist/AppKit/NSToolbarItemVisibilityPriority.d.ts +7 -0
  147. package/dist/AppKit/NSToolbarItemVisibilityPriority.js +7 -0
  148. package/dist/AppKit/NSUserInterfaceItemSearching.d.ts +1 -1
  149. package/dist/AppKit/NSView.d.ts +1 -1
  150. package/dist/AppKit/NSViewController.d.ts +1 -1
  151. package/dist/AppKit/NSWindow.d.ts +7 -6
  152. package/dist/AppKit/NSWindowLevel.d.ts +13 -0
  153. package/dist/AppKit/NSWindowLevel.js +13 -0
  154. package/dist/AppKit/NSWorkspace.d.ts +12 -10
  155. package/dist/AppKit/NSWritingToolsCoordinatorAnimationParameters.d.ts +4 -5
  156. package/dist/AppKit/NSWritingToolsCoordinatorDelegate.d.ts +16 -14
  157. package/dist/AppKit/index.d.ts +5 -0
  158. package/dist/AppKit/index.js +5 -0
  159. package/dist/AppTrackingTransparency/ATTrackingManager.d.ts +1 -2
  160. package/dist/AudioToolbox/AUAudioUnit.d.ts +20 -19
  161. package/dist/AudioToolbox/AUMessageChannel.d.ts +2 -3
  162. package/dist/AudioToolbox/AUParameterNode.d.ts +14 -13
  163. package/dist/AudioToolbox/functions.d.ts +11 -11
  164. package/dist/AudioToolbox/functions.js +11 -11
  165. package/dist/AudioVideoBridging/AVB17221ACMPInterface.d.ts +2 -1
  166. package/dist/AudioVideoBridging/AVB17221AECPInterface.d.ts +3 -2
  167. package/dist/AuthenticationServices/ASAccountAuthenticationModificationExtensionContext.d.ts +2 -2
  168. package/dist/AuthenticationServices/ASAuthorizationAppleIDProvider.d.ts +3 -2
  169. package/dist/AuthenticationServices/ASAuthorizationError.d.ts +14 -0
  170. package/dist/AuthenticationServices/ASAuthorizationError.js +14 -0
  171. package/dist/AuthenticationServices/ASAuthorizationProviderExtensionAuthorizationRequest.d.ts +1 -2
  172. package/dist/AuthenticationServices/ASAuthorizationProviderExtensionLoginConfiguration.d.ts +2 -1
  173. package/dist/AuthenticationServices/ASAuthorizationProviderExtensionLoginManager.d.ts +6 -4
  174. package/dist/AuthenticationServices/ASAuthorizationProviderExtensionRegistrationHandler.d.ts +8 -5
  175. package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialParameters.d.ts +3 -2
  176. package/dist/AuthenticationServices/ASAuthorizationWebBrowserPublicKeyCredentialManager.d.ts +3 -3
  177. package/dist/AuthenticationServices/ASCOSEAlgorithmIdentifier.d.ts +4 -0
  178. package/dist/AuthenticationServices/ASCOSEAlgorithmIdentifier.js +4 -0
  179. package/dist/AuthenticationServices/ASCOSEEllipticCurveIdentifier.d.ts +4 -0
  180. package/dist/AuthenticationServices/ASCOSEEllipticCurveIdentifier.js +4 -0
  181. package/dist/AuthenticationServices/ASCredentialIdentityStore.d.ts +11 -10
  182. package/dist/AuthenticationServices/ASCredentialIdentityStoreErrorCode.d.ts +6 -0
  183. package/dist/AuthenticationServices/ASCredentialIdentityStoreErrorCode.js +6 -0
  184. package/dist/AuthenticationServices/ASCredentialProviderExtensionContext.d.ts +6 -7
  185. package/dist/AuthenticationServices/ASExtensionErrorCode.d.ts +8 -0
  186. package/dist/AuthenticationServices/ASExtensionErrorCode.js +8 -0
  187. package/dist/AuthenticationServices/ASSettingsHelper.d.ts +4 -4
  188. package/dist/AuthenticationServices/ASWebAuthenticationSession.d.ts +3 -3
  189. package/dist/AuthenticationServices/ASWebAuthenticationSessionErrorCode.d.ts +6 -0
  190. package/dist/AuthenticationServices/ASWebAuthenticationSessionErrorCode.js +6 -0
  191. package/dist/AuthenticationServices/index.d.ts +6 -0
  192. package/dist/AuthenticationServices/index.js +6 -0
  193. package/dist/AutomaticAssessmentConfiguration/AEAssessmentErrorCode.d.ts +8 -0
  194. package/dist/AutomaticAssessmentConfiguration/AEAssessmentErrorCode.js +8 -0
  195. package/dist/AutomaticAssessmentConfiguration/index.d.ts +1 -0
  196. package/dist/AutomaticAssessmentConfiguration/index.js +1 -0
  197. package/dist/BackgroundAssets/BAAssetPackManager.d.ts +9 -6
  198. package/dist/BackgroundAssets/BADownload.d.ts +2 -1
  199. package/dist/BackgroundAssets/BADownloadManager.d.ts +4 -3
  200. package/dist/BackgroundAssets/BADownloadManagerDelegate.d.ts +3 -2
  201. package/dist/BackgroundAssets/BADownloaderExtension.d.ts +3 -2
  202. package/dist/BackgroundAssets/BADownloaderPriority.d.ts +2 -0
  203. package/dist/BackgroundAssets/BADownloaderPriority.js +2 -0
  204. package/dist/BackgroundAssets/BAURLDownload.d.ts +3 -2
  205. package/dist/BackgroundAssets/index.d.ts +1 -0
  206. package/dist/BackgroundAssets/index.js +1 -0
  207. package/dist/BackgroundTasks/BGTask.d.ts +2 -3
  208. package/dist/BackgroundTasks/BGTaskScheduler.d.ts +4 -2
  209. package/dist/BackgroundTasks/BGTaskSchedulerErrorCode.d.ts +7 -0
  210. package/dist/BackgroundTasks/BGTaskSchedulerErrorCode.js +7 -0
  211. package/dist/BackgroundTasks/index.d.ts +1 -0
  212. package/dist/BackgroundTasks/index.js +1 -0
  213. package/dist/BrowserEngineKit/BEDownloadMonitor.d.ts +5 -4
  214. package/dist/BrowserEngineKit/BELayerHierarchyHandle.d.ts +1 -1
  215. package/dist/BrowserEngineKit/BELayerHierarchyHostingTransactionCoordinator.d.ts +1 -1
  216. package/dist/BrowserEngineKit/BENetworkingProcess.d.ts +4 -3
  217. package/dist/BrowserEngineKit/BERenderingProcess.d.ts +4 -3
  218. package/dist/BrowserEngineKit/BEWebContentFilter.d.ts +4 -3
  219. package/dist/BrowserEngineKit/BEWebContentProcess.d.ts +4 -3
  220. package/dist/CallKit/CXCallController.d.ts +4 -4
  221. package/dist/CallKit/CXCallDirectoryExtensionContext.d.ts +1 -2
  222. package/dist/CallKit/CXCallDirectoryManager.d.ts +5 -4
  223. package/dist/CallKit/CXErrorCode.d.ts +7 -0
  224. package/dist/CallKit/CXErrorCode.js +7 -0
  225. package/dist/CallKit/CXErrorCodeCallDirectoryManagerError.d.ts +12 -0
  226. package/dist/CallKit/CXErrorCodeCallDirectoryManagerError.js +12 -0
  227. package/dist/CallKit/CXErrorCodeIncomingCallError.d.ts +11 -0
  228. package/dist/CallKit/CXErrorCodeIncomingCallError.js +11 -0
  229. package/dist/CallKit/CXErrorCodeNotificationServiceExtensionError.d.ts +6 -0
  230. package/dist/CallKit/CXErrorCodeNotificationServiceExtensionError.js +6 -0
  231. package/dist/CallKit/CXErrorCodeRequestTransactionError.d.ts +12 -0
  232. package/dist/CallKit/CXErrorCodeRequestTransactionError.js +12 -0
  233. package/dist/CallKit/CXProvider.d.ts +3 -2
  234. package/dist/CallKit/index.d.ts +5 -0
  235. package/dist/CallKit/index.js +5 -0
  236. package/dist/Cinematic/CNAssetInfo.d.ts +3 -3
  237. package/dist/Cinematic/CNAssetSpatialAudioInfo.d.ts +3 -3
  238. package/dist/Cinematic/CNCinematicErrorCode.d.ts +10 -0
  239. package/dist/Cinematic/CNCinematicErrorCode.js +10 -0
  240. package/dist/Cinematic/CNRenderingSessionAttributes.d.ts +2 -2
  241. package/dist/Cinematic/CNScript.d.ts +2 -2
  242. package/dist/Cinematic/index.d.ts +1 -0
  243. package/dist/Cinematic/index.js +1 -0
  244. package/dist/ClassKit/CLSContext.d.ts +2 -1
  245. package/dist/ClassKit/CLSContextProvider.d.ts +2 -2
  246. package/dist/ClassKit/CLSDataStore.d.ts +5 -5
  247. package/dist/ClassKit/CLSErrorCode.d.ts +14 -0
  248. package/dist/ClassKit/CLSErrorCode.js +14 -0
  249. package/dist/ClassKit/index.d.ts +1 -0
  250. package/dist/ClassKit/index.js +1 -0
  251. package/dist/CloudKit/CKAcceptSharesOperation.d.ts +7 -5
  252. package/dist/CloudKit/CKContainer.d.ts +22 -16
  253. package/dist/CloudKit/CKDatabase.d.ts +14 -13
  254. package/dist/CloudKit/CKDiscoverAllUserIdentitiesOperation.d.ts +6 -5
  255. package/dist/CloudKit/CKDiscoverUserIdentitiesOperation.d.ts +7 -5
  256. package/dist/CloudKit/CKFetchDatabaseChangesOperation.d.ts +14 -13
  257. package/dist/CloudKit/CKFetchRecordChangesOperation.d.ts +10 -7
  258. package/dist/CloudKit/CKFetchRecordZoneChangesOperation.d.ts +19 -13
  259. package/dist/CloudKit/CKFetchRecordZonesOperation.d.ts +8 -5
  260. package/dist/CloudKit/CKFetchRecordsOperation.d.ts +10 -7
  261. package/dist/CloudKit/CKFetchShareMetadataOperation.d.ts +7 -5
  262. package/dist/CloudKit/CKFetchShareParticipantsOperation.d.ts +9 -7
  263. package/dist/CloudKit/CKFetchSubscriptionsOperation.d.ts +8 -5
  264. package/dist/CloudKit/CKFetchWebAuthTokenOperation.d.ts +3 -3
  265. package/dist/CloudKit/CKModifyRecordZonesOperation.d.ts +9 -7
  266. package/dist/CloudKit/CKModifyRecordsOperation.d.ts +13 -11
  267. package/dist/CloudKit/CKModifySubscriptionsOperation.d.ts +9 -7
  268. package/dist/CloudKit/CKOperation.d.ts +2 -3
  269. package/dist/CloudKit/CKQueryOperation.d.ts +9 -7
  270. package/dist/CloudKit/CKShareRequestAccessOperation.d.ts +6 -5
  271. package/dist/CloudKit/CKSyncEngine.d.ts +6 -6
  272. package/dist/CloudKit/CKSyncEngineRecordZoneChangeBatch.d.ts +3 -2
  273. package/dist/CloudKit/CKSystemSharingUIObserver.d.ts +7 -5
  274. package/dist/Collaboration/CBIdentityPicker.d.ts +1 -1
  275. package/dist/Contacts/CNContact.d.ts +1 -1
  276. package/dist/Contacts/CNContactStore.d.ts +3 -2
  277. package/dist/CoreAudio/functions.d.ts +3 -3
  278. package/dist/CoreAudio/functions.js +3 -3
  279. package/dist/CoreData/NSAsynchronousFetchRequest.d.ts +3 -3
  280. package/dist/CoreData/NSBatchInsertRequest.d.ts +12 -11
  281. package/dist/CoreData/NSCoreDataCoreSpotlightDelegate.d.ts +4 -4
  282. package/dist/CoreData/NSCustomMigrationStage.d.ts +5 -4
  283. package/dist/CoreData/NSManagedObjectContext.d.ts +2 -2
  284. package/dist/CoreData/NSPersistentCloudKitContainer.d.ts +8 -5
  285. package/dist/CoreData/NSPersistentContainer.d.ts +4 -3
  286. package/dist/CoreData/NSPersistentStoreCoordinator.d.ts +4 -3
  287. package/dist/CoreHaptics/CHHapticAdvancedPatternPlayer.d.ts +3 -2
  288. package/dist/CoreHaptics/CHHapticEngine.d.ts +10 -7
  289. package/dist/CoreHaptics/CHHapticErrorCode.d.ts +27 -0
  290. package/dist/CoreHaptics/CHHapticErrorCode.js +27 -0
  291. package/dist/CoreHaptics/index.d.ts +1 -0
  292. package/dist/CoreHaptics/index.js +1 -0
  293. package/dist/CoreImage/CIKernel.d.ts +1 -1
  294. package/dist/CoreImage/CIRenderDestination.d.ts +1 -1
  295. package/dist/CoreImage/CIWarpKernel.d.ts +1 -2
  296. package/dist/CoreLocation/CLBackgroundActivitySession.d.ts +2 -2
  297. package/dist/CoreLocation/CLGeocoder.d.ts +11 -9
  298. package/dist/CoreLocation/CLLocationManager.d.ts +6 -3
  299. package/dist/CoreLocation/CLLocationManagerDelegate.d.ts +2 -1
  300. package/dist/CoreLocation/CLLocationPushServiceError.d.ts +8 -0
  301. package/dist/CoreLocation/CLLocationPushServiceError.js +8 -0
  302. package/dist/CoreLocation/CLLocationPushServiceExtension.d.ts +1 -2
  303. package/dist/CoreLocation/CLLocationUpdater.d.ts +3 -3
  304. package/dist/CoreLocation/CLMonitor.d.ts +1 -2
  305. package/dist/CoreLocation/CLMonitorConfiguration.d.ts +4 -3
  306. package/dist/CoreLocation/CLRegionState.d.ts +6 -0
  307. package/dist/CoreLocation/CLRegionState.js +6 -0
  308. package/dist/CoreLocation/CLServiceSession.d.ts +3 -3
  309. package/dist/CoreLocation/index.d.ts +2 -0
  310. package/dist/CoreLocation/index.js +2 -0
  311. package/dist/CoreMIDI/MIDICIDiscoveryManager.d.ts +2 -2
  312. package/dist/CoreMIDI/MIDICISession.d.ts +6 -5
  313. package/dist/CoreMIDI/MIDIUMPMutableEndpoint.d.ts +1 -1
  314. package/dist/CoreMIDI/functions.d.ts +5 -5
  315. package/dist/CoreMIDI/functions.js +5 -5
  316. package/dist/CoreML/MLComputePlan.d.ts +3 -3
  317. package/dist/CoreML/MLModel.d.ts +7 -6
  318. package/dist/CoreML/MLModelAsset.d.ts +6 -3
  319. package/dist/CoreML/MLModelCollection.d.ts +3 -2
  320. package/dist/CoreML/MLModelStructure.d.ts +3 -3
  321. package/dist/CoreML/MLMultiArray.d.ts +3 -3
  322. package/dist/CoreML/MLState.d.ts +2 -2
  323. package/dist/CoreML/MLUpdateProgressHandlers.d.ts +2 -2
  324. package/dist/CoreML/MLUpdateTask.d.ts +3 -2
  325. package/dist/CoreMediaIO/CMIOExtensionStream.d.ts +2 -1
  326. package/dist/CoreMediaIO/functions.d.ts +2 -2
  327. package/dist/CoreMediaIO/functions.js +2 -2
  328. package/dist/CoreMotion/CMAltimeter.d.ts +5 -3
  329. package/dist/CoreMotion/CMBatchedSensorManager.d.ts +3 -3
  330. package/dist/CoreMotion/CMFallDetectionDelegate.d.ts +1 -2
  331. package/dist/CoreMotion/CMFallDetectionManager.d.ts +1 -2
  332. package/dist/CoreMotion/CMHeadphoneActivityManager.d.ts +5 -3
  333. package/dist/CoreMotion/CMHeadphoneMotionManager.d.ts +2 -2
  334. package/dist/CoreMotion/CMMotionActivityManager.d.ts +5 -3
  335. package/dist/CoreMotion/CMMotionManager.d.ts +7 -5
  336. package/dist/CoreMotion/CMMovementDisorderManager.d.ts +4 -3
  337. package/dist/CoreMotion/CMPedometer.d.ts +6 -4
  338. package/dist/CoreMotion/CMStepCounter.d.ts +3 -3
  339. package/dist/CoreSpotlight/CSSearchQuery.d.ts +5 -5
  340. package/dist/CoreSpotlight/CSSearchableIndex.d.ts +9 -9
  341. package/dist/CoreSpotlight/CSSearchableIndexDelegate.d.ts +3 -3
  342. package/dist/CoreSpotlight/CSUserQuery.d.ts +2 -3
  343. package/dist/CoreTelephony/CTCallCenter.d.ts +3 -2
  344. package/dist/CoreTelephony/CTCellularData.d.ts +2 -3
  345. package/dist/CoreTelephony/CTCellularPlanProvisioning.d.ts +5 -4
  346. package/dist/CoreTelephony/CTCellularPlanStatus.d.ts +3 -3
  347. package/dist/CoreTelephony/CTTelephonyNetworkInfo.d.ts +4 -5
  348. package/dist/CoreText/functions.d.ts +9 -9
  349. package/dist/CoreText/functions.js +9 -9
  350. package/dist/CryptoTokenKit/TKErrorCode.d.ts +15 -0
  351. package/dist/CryptoTokenKit/TKErrorCode.js +15 -0
  352. package/dist/CryptoTokenKit/TKSmartCard.d.ts +5 -4
  353. package/dist/CryptoTokenKit/TKSmartCardATR.d.ts +1 -2
  354. package/dist/CryptoTokenKit/TKSmartCardSlotManager.d.ts +4 -3
  355. package/dist/CryptoTokenKit/TKSmartCardUserInteraction.d.ts +2 -2
  356. package/dist/CryptoTokenKit/TKTokenWatcher.d.ts +3 -4
  357. package/dist/CryptoTokenKit/index.d.ts +1 -0
  358. package/dist/CryptoTokenKit/index.js +1 -0
  359. package/dist/DeviceCheck/DCAppAttestService.d.ts +4 -4
  360. package/dist/DeviceCheck/DCDevice.d.ts +3 -2
  361. package/dist/DeviceCheck/DCError.d.ts +8 -0
  362. package/dist/DeviceCheck/DCError.js +8 -0
  363. package/dist/DeviceCheck/index.d.ts +1 -0
  364. package/dist/DeviceCheck/index.js +1 -0
  365. package/dist/DeviceDiscoveryExtension/DDErrorCode.d.ts +12 -0
  366. package/dist/DeviceDiscoveryExtension/DDErrorCode.js +12 -0
  367. package/dist/DeviceDiscoveryExtension/index.d.ts +1 -0
  368. package/dist/DeviceDiscoveryExtension/index.js +1 -0
  369. package/dist/EventKit/EKEventStore.d.ts +7 -6
  370. package/dist/EventKit/EKVirtualConferenceProvider.d.ts +5 -3
  371. package/dist/ExecutionPolicy/EPDeveloperTool.d.ts +1 -2
  372. package/dist/ExecutionPolicy/EPError.d.ts +5 -0
  373. package/dist/ExecutionPolicy/EPError.js +5 -0
  374. package/dist/ExecutionPolicy/index.d.ts +1 -0
  375. package/dist/ExecutionPolicy/index.js +1 -0
  376. package/dist/ExternalAccessory/EAAccessoryManager.d.ts +2 -1
  377. package/dist/FSKit/FSBlockDeviceResource.d.ts +3 -2
  378. package/dist/FSKit/FSClient.d.ts +3 -2
  379. package/dist/FSKit/FSErrorCode.d.ts +10 -0
  380. package/dist/FSKit/FSErrorCode.js +10 -0
  381. package/dist/FSKit/FSFileSystemBase.d.ts +2 -2
  382. package/dist/FSKit/FSOperationID.d.ts +2 -0
  383. package/dist/FSKit/FSOperationID.js +2 -0
  384. package/dist/FSKit/FSTask.d.ts +2 -3
  385. package/dist/FSKit/FSUnaryFileSystemOperations.d.ts +6 -4
  386. package/dist/FSKit/FSVolumeAccessCheckOperations.d.ts +2 -2
  387. package/dist/FSKit/FSVolumeItemDeactivation.d.ts +2 -2
  388. package/dist/FSKit/FSVolumeKernelOffloadedIOOperations.d.ts +6 -5
  389. package/dist/FSKit/FSVolumeOpenCloseOperations.d.ts +3 -3
  390. package/dist/FSKit/FSVolumeOperations.d.ts +18 -17
  391. package/dist/FSKit/FSVolumePreallocateOperations.d.ts +2 -1
  392. package/dist/FSKit/FSVolumeReadWriteOperations.d.ts +3 -2
  393. package/dist/FSKit/FSVolumeRenameOperations.d.ts +2 -2
  394. package/dist/FSKit/FSVolumeXattrOperations.d.ts +4 -4
  395. package/dist/FSKit/index.d.ts +2 -0
  396. package/dist/FSKit/index.js +2 -0
  397. package/dist/FileProvider/NSFileProviderCustomAction.d.ts +2 -2
  398. package/dist/FileProvider/NSFileProviderEnumerator.d.ts +1 -2
  399. package/dist/FileProvider/NSFileProviderErrorCode.d.ts +27 -0
  400. package/dist/FileProvider/NSFileProviderErrorCode.js +27 -0
  401. package/dist/FileProvider/NSFileProviderExtension.d.ts +14 -13
  402. package/dist/FileProvider/NSFileProviderExternalVolumeHandling.d.ts +2 -2
  403. package/dist/FileProvider/NSFileProviderIncrementalContentFetching.d.ts +3 -2
  404. package/dist/FileProvider/NSFileProviderKnownFolderSupporting.d.ts +3 -2
  405. package/dist/FileProvider/NSFileProviderManager.d.ts +25 -23
  406. package/dist/FileProvider/NSFileProviderPartialContentFetching.d.ts +5 -2
  407. package/dist/FileProvider/NSFileProviderReplicatedExtension.d.ts +9 -9
  408. package/dist/FileProvider/NSFileProviderServicing.d.ts +3 -2
  409. package/dist/FileProvider/NSFileProviderThumbnailing.d.ts +4 -2
  410. package/dist/FileProvider/index.d.ts +1 -0
  411. package/dist/FileProvider/index.js +1 -0
  412. package/dist/FinderSync/FIFinderSync.d.ts +3 -1
  413. package/dist/FinderSync/FIFinderSyncController.d.ts +3 -3
  414. package/dist/Foundation/NSArray.d.ts +13 -13
  415. package/dist/Foundation/NSAttributedString.d.ts +2 -2
  416. package/dist/Foundation/NSBackgroundActivityScheduler.d.ts +2 -2
  417. package/dist/Foundation/NSBlockOperation.d.ts +3 -3
  418. package/dist/Foundation/NSBundleResourceRequest.d.ts +3 -3
  419. package/dist/Foundation/NSCalendar.d.ts +1 -1
  420. package/dist/Foundation/NSData.d.ts +2 -2
  421. package/dist/Foundation/NSDictionary.d.ts +6 -6
  422. package/dist/Foundation/NSError.d.ts +2 -2
  423. package/dist/Foundation/NSExpression.d.ts +2 -2
  424. package/dist/Foundation/NSExtensionContext.d.ts +2 -3
  425. package/dist/Foundation/NSFileCoordinator.d.ts +7 -6
  426. package/dist/Foundation/NSFileHandle.d.ts +4 -4
  427. package/dist/Foundation/NSFileManager.d.ts +9 -7
  428. package/dist/Foundation/NSFilePresenter.d.ts +7 -7
  429. package/dist/Foundation/NSFileProviderService.d.ts +3 -2
  430. package/dist/Foundation/NSFileVersion.d.ts +2 -1
  431. package/dist/Foundation/NSHTTPCookieStorage.d.ts +1 -2
  432. package/dist/Foundation/NSIndexSet.d.ts +12 -12
  433. package/dist/Foundation/NSItemProvider.d.ts +15 -12
  434. package/dist/Foundation/NSItemProviderWriting.d.ts +3 -2
  435. package/dist/Foundation/NSLinguisticTagger.d.ts +3 -3
  436. package/dist/Foundation/NSMetadataQuery.d.ts +2 -2
  437. package/dist/Foundation/NSMutableArray.d.ts +2 -2
  438. package/dist/Foundation/NSMutableOrderedSet.d.ts +3 -3
  439. package/dist/Foundation/NSNotificationCenter.d.ts +1 -1
  440. package/dist/Foundation/NSOperation.d.ts +2 -3
  441. package/dist/Foundation/NSOperationQueue.d.ts +2 -3
  442. package/dist/Foundation/NSOrderedCollectionDifference.d.ts +2 -2
  443. package/dist/Foundation/NSOrderedSet.d.ts +13 -13
  444. package/dist/Foundation/NSPredicate.d.ts +1 -1
  445. package/dist/Foundation/NSProcessInfo.d.ts +2 -3
  446. package/dist/Foundation/NSProgress.d.ts +8 -8
  447. package/dist/Foundation/NSRegularExpression.d.ts +2 -1
  448. package/dist/Foundation/NSRunLoop.d.ts +2 -2
  449. package/dist/Foundation/NSSet.d.ts +4 -4
  450. package/dist/Foundation/NSSortDescriptor.d.ts +3 -3
  451. package/dist/Foundation/NSString.d.ts +6 -5
  452. package/dist/Foundation/NSTask.d.ts +3 -3
  453. package/dist/Foundation/NSThread.d.ts +2 -2
  454. package/dist/Foundation/NSTimer.d.ts +3 -3
  455. package/dist/Foundation/NSURLCache.d.ts +1 -2
  456. package/dist/Foundation/NSURLConnection.d.ts +3 -1
  457. package/dist/Foundation/NSURLCredentialStorage.d.ts +2 -3
  458. package/dist/Foundation/NSURLSession.d.ts +14 -13
  459. package/dist/Foundation/NSURLSessionDataDelegate.d.ts +3 -3
  460. package/dist/Foundation/NSURLSessionDelegate.d.ts +3 -2
  461. package/dist/Foundation/NSURLSessionDownloadTask.d.ts +2 -2
  462. package/dist/Foundation/NSURLSessionStreamTask.d.ts +3 -3
  463. package/dist/Foundation/NSURLSessionTaskDelegate.d.ts +9 -6
  464. package/dist/Foundation/NSURLSessionUploadTask.d.ts +2 -2
  465. package/dist/Foundation/NSURLSessionWebSocketTask.d.ts +4 -4
  466. package/dist/Foundation/NSUndoManager.d.ts +1 -1
  467. package/dist/Foundation/NSUserActivity.d.ts +6 -4
  468. package/dist/Foundation/NSUserAppleScriptTask.d.ts +2 -2
  469. package/dist/Foundation/NSUserAutomatorTask.d.ts +2 -1
  470. package/dist/Foundation/NSUserScriptTask.d.ts +2 -1
  471. package/dist/Foundation/NSUserUnixTask.d.ts +2 -2
  472. package/dist/Foundation/NSXPCConnection.d.ts +8 -7
  473. package/dist/Foundation/NSXPCProxyCreating.d.ts +3 -2
  474. package/dist/GLKit/GLKTextureLoader.d.ts +9 -8
  475. package/dist/GameController/GCAxis2DInput.d.ts +3 -3
  476. package/dist/GameController/GCAxisInput.d.ts +3 -3
  477. package/dist/GameController/GCController.d.ts +3 -3
  478. package/dist/GameController/GCControllerAxisInput.d.ts +2 -3
  479. package/dist/GameController/GCControllerButtonInput.d.ts +6 -7
  480. package/dist/GameController/GCControllerDirectionPad.d.ts +2 -3
  481. package/dist/GameController/GCControllerTouchpad.d.ts +6 -7
  482. package/dist/GameController/GCDevicePhysicalInput.d.ts +5 -5
  483. package/dist/GameController/GCExtendedGamepad.d.ts +3 -3
  484. package/dist/GameController/GCGamepad.d.ts +3 -3
  485. package/dist/GameController/GCKeyboardInput.d.ts +2 -2
  486. package/dist/GameController/GCLinearInput.d.ts +3 -3
  487. package/dist/GameController/GCMicroGamepad.d.ts +3 -3
  488. package/dist/GameController/GCMotion.d.ts +2 -3
  489. package/dist/GameController/GCMouseInput.d.ts +2 -3
  490. package/dist/GameController/GCPhysicalInputProfile.d.ts +2 -3
  491. package/dist/GameController/GCPressedStateInput.d.ts +3 -3
  492. package/dist/GameController/GCRelativeInput.d.ts +3 -3
  493. package/dist/GameController/GCSwitchPositionInput.d.ts +3 -3
  494. package/dist/GameController/GCTouchedStateInput.d.ts +3 -3
  495. package/dist/GameKit/GKAccessPoint.d.ts +13 -14
  496. package/dist/GameKit/GKAchievement.d.ts +11 -11
  497. package/dist/GameKit/GKAchievementDescription.d.ts +4 -3
  498. package/dist/GameKit/GKChallenge.d.ts +3 -2
  499. package/dist/GameKit/GKChallengeDefinition.d.ts +5 -4
  500. package/dist/GameKit/GKCloudPlayer.d.ts +2 -2
  501. package/dist/GameKit/GKGameActivity.d.ts +5 -3
  502. package/dist/GameKit/GKGameActivityDefinition.d.ts +7 -6
  503. package/dist/GameKit/GKGameActivityListener.d.ts +1 -2
  504. package/dist/GameKit/GKGameSession.d.ts +13 -12
  505. package/dist/GameKit/GKLeaderboard.d.ts +14 -12
  506. package/dist/GameKit/GKLeaderboardEntry.d.ts +2 -3
  507. package/dist/GameKit/GKLeaderboardSet.d.ts +7 -5
  508. package/dist/GameKit/GKLocalPlayer.d.ts +24 -20
  509. package/dist/GameKit/GKMatch.d.ts +5 -3
  510. package/dist/GameKit/GKMatchRequest.d.ts +6 -4
  511. package/dist/GameKit/GKMatchmaker.d.ts +17 -15
  512. package/dist/GameKit/GKMatchmakerViewControllerDelegate.d.ts +1 -1
  513. package/dist/GameKit/GKNotificationBanner.d.ts +2 -3
  514. package/dist/GameKit/GKPlayer.d.ts +4 -3
  515. package/dist/GameKit/GKSavedGame.d.ts +3 -2
  516. package/dist/GameKit/GKScore.d.ts +8 -8
  517. package/dist/GameKit/GKTurnBasedExchange.d.ts +3 -3
  518. package/dist/GameKit/GKTurnBasedMatch.d.ts +22 -21
  519. package/dist/GameKit/GKVoiceChat.d.ts +5 -5
  520. package/dist/GameSave/GSSyncedDirectory.d.ts +3 -4
  521. package/dist/GameplayKit/GKRule.d.ts +1 -2
  522. package/dist/HealthKit/HKActivitySummaryQuery.d.ts +5 -4
  523. package/dist/HealthKit/HKAnchoredObjectQuery.d.ts +6 -6
  524. package/dist/HealthKit/HKAttachmentStore.d.ts +8 -6
  525. package/dist/HealthKit/HKCorrelationQuery.d.ts +3 -2
  526. package/dist/HealthKit/HKDocumentQuery.d.ts +2 -2
  527. package/dist/HealthKit/HKElectrocardiogramQuery.d.ts +3 -2
  528. package/dist/HealthKit/HKHealthStore.d.ts +25 -22
  529. package/dist/HealthKit/HKHeartbeatSeriesBuilder.d.ts +5 -4
  530. package/dist/HealthKit/HKHeartbeatSeriesQuery.d.ts +2 -2
  531. package/dist/HealthKit/HKObserverQuery.d.ts +4 -3
  532. package/dist/HealthKit/HKQuantitySeriesSampleBuilder.d.ts +4 -2
  533. package/dist/HealthKit/HKQuantitySeriesSampleQuery.d.ts +6 -3
  534. package/dist/HealthKit/HKSampleQuery.d.ts +4 -4
  535. package/dist/HealthKit/HKSourceQuery.d.ts +3 -2
  536. package/dist/HealthKit/HKStatisticsCollection.d.ts +1 -1
  537. package/dist/HealthKit/HKStatisticsCollectionQuery.d.ts +7 -5
  538. package/dist/HealthKit/HKStatisticsQuery.d.ts +3 -2
  539. package/dist/HealthKit/HKUserAnnotatedMedicationQuery.d.ts +3 -2
  540. package/dist/HealthKit/HKVerifiableClinicalRecordQuery.d.ts +3 -3
  541. package/dist/HealthKit/HKWorkoutBuilder.d.ts +11 -10
  542. package/dist/HealthKit/HKWorkoutEffortRelationshipQuery.d.ts +3 -2
  543. package/dist/HealthKit/HKWorkoutRouteBuilder.d.ts +5 -4
  544. package/dist/HealthKit/HKWorkoutRouteQuery.d.ts +4 -3
  545. package/dist/HealthKit/HKWorkoutSession.d.ts +4 -3
  546. package/dist/IOUSBHost/IOUSBHostControllerInterface.d.ts +1 -1
  547. package/dist/IOUSBHost/IOUSBHostInterface.d.ts +1 -1
  548. package/dist/IOUSBHost/IOUSBHostObject.d.ts +5 -5
  549. package/dist/IOUSBHost/IOUSBHostPipe.d.ts +6 -6
  550. package/dist/IOUSBHost/IOUSBHostStream.d.ts +1 -1
  551. package/dist/IdentityLookup/ILMessageFilterCapabilitiesQueryHandling.d.ts +2 -2
  552. package/dist/IdentityLookup/ILMessageFilterError.d.ts +8 -0
  553. package/dist/IdentityLookup/ILMessageFilterError.js +8 -0
  554. package/dist/IdentityLookup/ILMessageFilterExtensionContext.d.ts +3 -2
  555. package/dist/IdentityLookup/ILMessageFilterQueryHandling.d.ts +2 -2
  556. package/dist/IdentityLookup/index.d.ts +1 -0
  557. package/dist/IdentityLookup/index.js +1 -0
  558. package/dist/ImageCaptureCore/ICCameraDevice.d.ts +5 -4
  559. package/dist/ImageCaptureCore/ICCameraFile.d.ts +8 -6
  560. package/dist/ImageCaptureCore/ICDevice.d.ts +4 -3
  561. package/dist/ImageCaptureCore/ICDeviceBrowser.d.ts +5 -4
  562. package/dist/ImageCaptureCore/ICLegacyReturnCode.d.ts +25 -0
  563. package/dist/ImageCaptureCore/ICLegacyReturnCode.js +25 -0
  564. package/dist/ImageCaptureCore/ICReturnCode.d.ts +43 -0
  565. package/dist/ImageCaptureCore/ICReturnCode.js +43 -0
  566. package/dist/ImageCaptureCore/ICReturnConnectionErrorCode.d.ts +11 -0
  567. package/dist/ImageCaptureCore/ICReturnConnectionErrorCode.js +11 -0
  568. package/dist/ImageCaptureCore/ICReturnDownloadErrorCode.d.ts +5 -0
  569. package/dist/ImageCaptureCore/ICReturnDownloadErrorCode.js +5 -0
  570. package/dist/ImageCaptureCore/ICReturnMetadataErrorCode.d.ts +7 -0
  571. package/dist/ImageCaptureCore/ICReturnMetadataErrorCode.js +7 -0
  572. package/dist/ImageCaptureCore/ICReturnObjectErrorCode.d.ts +8 -0
  573. package/dist/ImageCaptureCore/ICReturnObjectErrorCode.js +8 -0
  574. package/dist/ImageCaptureCore/ICReturnPTPDeviceErrorCode.d.ts +5 -0
  575. package/dist/ImageCaptureCore/ICReturnPTPDeviceErrorCode.js +5 -0
  576. package/dist/ImageCaptureCore/ICReturnThumbnailErrorCode.d.ts +7 -0
  577. package/dist/ImageCaptureCore/ICReturnThumbnailErrorCode.js +7 -0
  578. package/dist/ImageCaptureCore/index.d.ts +8 -0
  579. package/dist/ImageCaptureCore/index.js +8 -0
  580. package/dist/Intents/INActivateCarSignalIntentHandling.d.ts +7 -5
  581. package/dist/Intents/INAddMediaIntentHandling.d.ts +7 -5
  582. package/dist/Intents/INAddTasksIntentHandling.d.ts +17 -10
  583. package/dist/Intents/INAnswerCallIntentHandling.d.ts +3 -3
  584. package/dist/Intents/INAppendToNoteIntentHandling.d.ts +7 -5
  585. package/dist/Intents/INBookRestaurantReservationIntentHandling.d.ts +13 -8
  586. package/dist/Intents/INCancelRideIntentHandling.d.ts +3 -3
  587. package/dist/Intents/INCancelWorkoutIntentHandling.d.ts +5 -4
  588. package/dist/Intents/INCreateNoteIntentHandling.d.ts +8 -6
  589. package/dist/Intents/INCreateTaskListIntentHandling.d.ts +8 -6
  590. package/dist/Intents/INDeleteTasksIntentHandling.d.ts +7 -5
  591. package/dist/Intents/INEditMessageIntentHandling.d.ts +5 -4
  592. package/dist/Intents/INEndWorkoutIntentHandling.d.ts +5 -4
  593. package/dist/Intents/INFocusStatusCenter.d.ts +1 -2
  594. package/dist/Intents/INGetAvailableRestaurantReservationBookingDefaultsIntentHandling.d.ts +5 -4
  595. package/dist/Intents/INGetAvailableRestaurantReservationBookingsIntentHandling.d.ts +9 -6
  596. package/dist/Intents/INGetCarLockStatusIntentHandling.d.ts +5 -4
  597. package/dist/Intents/INGetCarPowerLevelStatusIntentHandling.d.ts +5 -4
  598. package/dist/Intents/INGetRestaurantGuestIntentHandling.d.ts +3 -3
  599. package/dist/Intents/INGetRideStatusIntentHandling.d.ts +3 -3
  600. package/dist/Intents/INGetUserCurrentRestaurantReservationBookingsIntentHandling.d.ts +5 -4
  601. package/dist/Intents/INGetVisualCodeIntentHandling.d.ts +5 -4
  602. package/dist/Intents/INHangUpCallIntentHandling.d.ts +3 -3
  603. package/dist/Intents/INInteraction.d.ts +5 -4
  604. package/dist/Intents/INListCarsIntentHandling.d.ts +3 -3
  605. package/dist/Intents/INListRideOptionsIntentHandling.d.ts +6 -5
  606. package/dist/Intents/INPauseWorkoutIntentHandling.d.ts +5 -4
  607. package/dist/Intents/INPayBillIntentHandling.d.ts +16 -10
  608. package/dist/Intents/INPlayMediaIntentHandling.d.ts +14 -9
  609. package/dist/Intents/INPreferences.d.ts +1 -2
  610. package/dist/Intents/INRelevantShortcutStore.d.ts +2 -2
  611. package/dist/Intents/INRequestPaymentIntentHandling.d.ts +13 -8
  612. package/dist/Intents/INRequestRideIntentHandling.d.ts +12 -8
  613. package/dist/Intents/INResumeWorkoutIntentHandling.d.ts +5 -4
  614. package/dist/Intents/INSaveProfileInCarIntentHandling.d.ts +7 -5
  615. package/dist/Intents/INSearchCallHistoryIntentHandling.d.ts +13 -8
  616. package/dist/Intents/INSearchForAccountsIntentHandling.d.ts +10 -7
  617. package/dist/Intents/INSearchForBillsIntentHandling.d.ts +12 -8
  618. package/dist/Intents/INSearchForMediaIntentHandling.d.ts +5 -4
  619. package/dist/Intents/INSearchForMessagesIntentHandling.d.ts +12 -9
  620. package/dist/Intents/INSearchForNotebookItemsIntentHandling.d.ts +23 -13
  621. package/dist/Intents/INSearchForPhotosIntentHandling.d.ts +12 -8
  622. package/dist/Intents/INSendMessageIntentHandling.d.ts +13 -9
  623. package/dist/Intents/INSendPaymentIntentHandling.d.ts +13 -8
  624. package/dist/Intents/INSendRideFeedbackIntentHandling.d.ts +3 -3
  625. package/dist/Intents/INSetAudioSourceInCarIntentHandling.d.ts +7 -5
  626. package/dist/Intents/INSetCarLockStatusIntentHandling.d.ts +7 -5
  627. package/dist/Intents/INSetClimateSettingsInCarIntentHandling.d.ts +23 -15
  628. package/dist/Intents/INSetDefrosterSettingsInCarIntentHandling.d.ts +9 -6
  629. package/dist/Intents/INSetMessageAttributeIntentHandling.d.ts +5 -4
  630. package/dist/Intents/INSetProfileInCarIntentHandling.d.ts +11 -7
  631. package/dist/Intents/INSetRadioStationIntentHandling.d.ts +12 -8
  632. package/dist/Intents/INSetSeatSettingsInCarIntentHandling.d.ts +15 -10
  633. package/dist/Intents/INSetTaskAttributeIntentHandling.d.ts +17 -10
  634. package/dist/Intents/INShareFocusStatusIntentHandling.d.ts +3 -3
  635. package/dist/Intents/INSnoozeTasksIntentHandling.d.ts +7 -5
  636. package/dist/Intents/INStartAudioCallIntentHandling.d.ts +7 -5
  637. package/dist/Intents/INStartCallIntentHandling.d.ts +11 -7
  638. package/dist/Intents/INStartPhotoPlaybackIntentHandling.d.ts +11 -7
  639. package/dist/Intents/INStartVideoCallIntentHandling.d.ts +5 -4
  640. package/dist/Intents/INStartWorkoutIntentHandling.d.ts +13 -8
  641. package/dist/Intents/INTransferMoneyIntentHandling.d.ts +12 -8
  642. package/dist/Intents/INUnsendMessagesIntentHandling.d.ts +3 -3
  643. package/dist/Intents/INUpdateMediaAffinityIntentHandling.d.ts +7 -5
  644. package/dist/Intents/INVoiceShortcutCenter.d.ts +4 -3
  645. package/dist/JavaScriptCore/JSContext.d.ts +2 -2
  646. package/dist/JavaScriptCore/JSValue.d.ts +1 -1
  647. package/dist/LinkPresentation/LPErrorCode.d.ts +8 -0
  648. package/dist/LinkPresentation/LPErrorCode.js +8 -0
  649. package/dist/LinkPresentation/LPMetadataProvider.d.ts +4 -3
  650. package/dist/LinkPresentation/index.d.ts +1 -0
  651. package/dist/LinkPresentation/index.js +1 -0
  652. package/dist/LocalAuthentication/LAContext.d.ts +3 -2
  653. package/dist/LocalAuthentication/LAPrivateKey.d.ts +4 -3
  654. package/dist/LocalAuthentication/LAPublicKey.d.ts +4 -3
  655. package/dist/LocalAuthentication/LARight.d.ts +4 -4
  656. package/dist/LocalAuthentication/LARightStore.d.ts +7 -7
  657. package/dist/LocalAuthentication/LASecret.d.ts +3 -2
  658. package/dist/MLCompute/MLCInferenceGraph.d.ts +6 -5
  659. package/dist/MLCompute/MLCTensorData.d.ts +1 -1
  660. package/dist/MLCompute/MLCTrainingGraph.d.ts +8 -8
  661. package/dist/MailKit/MEComposeSessionErrorCode.d.ts +6 -0
  662. package/dist/MailKit/MEComposeSessionErrorCode.js +6 -0
  663. package/dist/MailKit/MEComposeSessionHandler.d.ts +3 -3
  664. package/dist/MailKit/MEExtensionManager.d.ts +3 -3
  665. package/dist/MailKit/MEMessageActionHandler.d.ts +2 -2
  666. package/dist/MailKit/MEMessageEncoder.d.ts +4 -3
  667. package/dist/MailKit/MEMessageSecurityErrorCode.d.ts +5 -0
  668. package/dist/MailKit/MEMessageSecurityErrorCode.js +5 -0
  669. package/dist/MailKit/MEMessageSecurityHandler.d.ts +1 -2
  670. package/dist/MailKit/index.d.ts +2 -0
  671. package/dist/MailKit/index.js +2 -0
  672. package/dist/MapKit/MKDirections.d.ts +5 -3
  673. package/dist/MapKit/MKGeocodingRequest.d.ts +3 -2
  674. package/dist/MapKit/MKLocalSearch.d.ts +3 -2
  675. package/dist/MapKit/MKLookAroundSceneRequest.d.ts +3 -2
  676. package/dist/MapKit/MKLookAroundSnapshotter.d.ts +3 -2
  677. package/dist/MapKit/MKMapItem.d.ts +2 -2
  678. package/dist/MapKit/MKMapItemRequest.d.ts +3 -1
  679. package/dist/MapKit/MKMapSnapshotter.d.ts +4 -3
  680. package/dist/MapKit/MKReverseGeocodingRequest.d.ts +3 -1
  681. package/dist/MapKit/MKTileOverlay.d.ts +3 -2
  682. package/dist/Matter/MTRAsyncCallbackQueueWorkItem.d.ts +4 -4
  683. package/dist/Matter/MTRAttributeCacheContainer.d.ts +3 -2
  684. package/dist/Matter/MTRBaseClusterAccessControl.d.ts +77 -76
  685. package/dist/Matter/MTRBaseClusterAccountLogin.d.ts +41 -39
  686. package/dist/Matter/MTRBaseClusterActions.d.ts +75 -73
  687. package/dist/Matter/MTRBaseClusterActivatedCarbonFilterMonitoring.d.ts +39 -38
  688. package/dist/Matter/MTRBaseClusterAdministratorCommissioning.d.ts +58 -57
  689. package/dist/Matter/MTRBaseClusterAirQuality.d.ts +20 -19
  690. package/dist/Matter/MTRBaseClusterApplicationBasic.d.ts +83 -79
  691. package/dist/Matter/MTRBaseClusterApplicationLauncher.d.ts +58 -56
  692. package/dist/Matter/MTRBaseClusterAudioOutput.d.ts +48 -47
  693. package/dist/Matter/MTRBaseClusterBallastConfiguration.d.ts +156 -155
  694. package/dist/Matter/MTRBaseClusterBarrierControl.d.ts +122 -121
  695. package/dist/Matter/MTRBaseClusterBasic.d.ts +86 -84
  696. package/dist/Matter/MTRBaseClusterBasicInformation.d.ts +94 -91
  697. package/dist/Matter/MTRBaseClusterBinaryInputBasic.d.ts +110 -109
  698. package/dist/Matter/MTRBaseClusterBinding.d.ts +41 -41
  699. package/dist/Matter/MTRBaseClusterBooleanState.d.ts +38 -37
  700. package/dist/Matter/MTRBaseClusterBooleanStateConfiguration.d.ts +45 -44
  701. package/dist/Matter/MTRBaseClusterBridgedDeviceBasic.d.ts +64 -63
  702. package/dist/Matter/MTRBaseClusterBridgedDeviceBasicInformation.d.ts +72 -70
  703. package/dist/Matter/MTRBaseClusterCarbonDioxideConcentrationMeasurement.d.ts +50 -49
  704. package/dist/Matter/MTRBaseClusterCarbonMonoxideConcentrationMeasurement.d.ts +50 -49
  705. package/dist/Matter/MTRBaseClusterChannel.d.ts +66 -59
  706. package/dist/Matter/MTRBaseClusterColorControl.d.ts +435 -433
  707. package/dist/Matter/MTRBaseClusterCommissionerControl.d.ts +23 -21
  708. package/dist/Matter/MTRBaseClusterContentAppObserver.d.ts +19 -17
  709. package/dist/Matter/MTRBaseClusterContentLauncher.d.ts +54 -51
  710. package/dist/Matter/MTRBaseClusterDescriptor.d.ts +56 -55
  711. package/dist/Matter/MTRBaseClusterDeviceEnergyManagement.d.ts +54 -51
  712. package/dist/Matter/MTRBaseClusterDeviceEnergyManagementMode.d.ts +25 -23
  713. package/dist/Matter/MTRBaseClusterDiagnosticLogs.d.ts +35 -33
  714. package/dist/Matter/MTRBaseClusterDishwasherAlarm.d.ts +31 -30
  715. package/dist/Matter/MTRBaseClusterDishwasherMode.d.ts +25 -23
  716. package/dist/Matter/MTRBaseClusterDoorLock.d.ts +397 -389
  717. package/dist/Matter/MTRBaseClusterElectricalEnergyMeasurement.d.ts +38 -34
  718. package/dist/Matter/MTRBaseClusterElectricalMeasurement.d.ts +838 -837
  719. package/dist/Matter/MTRBaseClusterElectricalPowerMeasurement.d.ts +74 -73
  720. package/dist/Matter/MTRBaseClusterEnergyEVSE.d.ts +85 -83
  721. package/dist/Matter/MTRBaseClusterEnergyEVSEMode.d.ts +25 -23
  722. package/dist/Matter/MTRBaseClusterEthernetNetworkDiagnostics.d.ts +90 -89
  723. package/dist/Matter/MTRBaseClusterFanControl.d.ts +128 -127
  724. package/dist/Matter/MTRBaseClusterFixedLabel.d.ts +38 -37
  725. package/dist/Matter/MTRBaseClusterFlowMeasurement.d.ts +56 -55
  726. package/dist/Matter/MTRBaseClusterFormaldehydeConcentrationMeasurement.d.ts +50 -49
  727. package/dist/Matter/MTRBaseClusterGeneralCommissioning.d.ts +78 -73
  728. package/dist/Matter/MTRBaseClusterGeneralDiagnostics.d.ts +93 -90
  729. package/dist/Matter/MTRBaseClusterGroupKeyManagement.d.ts +70 -68
  730. package/dist/Matter/MTRBaseClusterGroups.d.ts +56 -51
  731. package/dist/Matter/MTRBaseClusterHEPAFilterMonitoring.d.ts +39 -38
  732. package/dist/Matter/MTRBaseClusterICDManagement.d.ts +53 -49
  733. package/dist/Matter/MTRBaseClusterIdentify.d.ts +52 -51
  734. package/dist/Matter/MTRBaseClusterIlluminanceMeasurement.d.ts +62 -61
  735. package/dist/Matter/MTRBaseClusterKeypadInput.d.ts +35 -33
  736. package/dist/Matter/MTRBaseClusterLaundryDryerControls.d.ts +25 -24
  737. package/dist/Matter/MTRBaseClusterLaundryWasherControls.d.ts +33 -32
  738. package/dist/Matter/MTRBaseClusterLaundryWasherMode.d.ts +25 -23
  739. package/dist/Matter/MTRBaseClusterLevelControl.d.ts +162 -161
  740. package/dist/Matter/MTRBaseClusterLocalizationConfiguration.d.ts +48 -47
  741. package/dist/Matter/MTRBaseClusterLowPower.d.ts +36 -35
  742. package/dist/Matter/MTRBaseClusterMediaInput.d.ts +56 -55
  743. package/dist/Matter/MTRBaseClusterMediaPlayback.d.ts +119 -115
  744. package/dist/Matter/MTRBaseClusterMessages.d.ts +25 -24
  745. package/dist/Matter/MTRBaseClusterMicrowaveOvenControl.d.ts +41 -40
  746. package/dist/Matter/MTRBaseClusterMicrowaveOvenMode.d.ts +23 -22
  747. package/dist/Matter/MTRBaseClusterModeSelect.d.ts +79 -77
  748. package/dist/Matter/MTRBaseClusterNetworkCommissioning.d.ts +110 -105
  749. package/dist/Matter/MTRBaseClusterNitrogenDioxideConcentrationMeasurement.d.ts +50 -49
  750. package/dist/Matter/MTRBaseClusterOccupancySensing.d.ts +149 -147
  751. package/dist/Matter/MTRBaseClusterOnOff.d.ts +94 -93
  752. package/dist/Matter/MTRBaseClusterOnOffSwitchConfiguration.d.ts +48 -47
  753. package/dist/Matter/MTRBaseClusterOperationalCredentials.d.ts +88 -83
  754. package/dist/Matter/MTRBaseClusterOperationalState.d.ts +45 -42
  755. package/dist/Matter/MTRBaseClusterOtaSoftwareUpdateProvider.d.ts +40 -37
  756. package/dist/Matter/MTRBaseClusterOtaSoftwareUpdateRequestor.d.ts +61 -61
  757. package/dist/Matter/MTRBaseClusterOvenCavityOperationalState.d.ts +41 -38
  758. package/dist/Matter/MTRBaseClusterOvenMode.d.ts +25 -23
  759. package/dist/Matter/MTRBaseClusterOzoneConcentrationMeasurement.d.ts +50 -49
  760. package/dist/Matter/MTRBaseClusterPM10ConcentrationMeasurement.d.ts +50 -49
  761. package/dist/Matter/MTRBaseClusterPM1ConcentrationMeasurement.d.ts +50 -49
  762. package/dist/Matter/MTRBaseClusterPM25ConcentrationMeasurement.d.ts +50 -49
  763. package/dist/Matter/MTRBaseClusterPowerSource.d.ts +222 -220
  764. package/dist/Matter/MTRBaseClusterPowerSourceConfiguration.d.ts +38 -37
  765. package/dist/Matter/MTRBaseClusterPowerTopology.d.ts +23 -22
  766. package/dist/Matter/MTRBaseClusterPressureMeasurement.d.ts +86 -85
  767. package/dist/Matter/MTRBaseClusterPumpConfigurationAndControl.d.ts +186 -185
  768. package/dist/Matter/MTRBaseClusterRVCCleanMode.d.ts +25 -23
  769. package/dist/Matter/MTRBaseClusterRVCOperationalState.d.ts +43 -40
  770. package/dist/Matter/MTRBaseClusterRVCRunMode.d.ts +25 -23
  771. package/dist/Matter/MTRBaseClusterRadonConcentrationMeasurement.d.ts +50 -49
  772. package/dist/Matter/MTRBaseClusterRefrigeratorAlarm.d.ts +26 -25
  773. package/dist/Matter/MTRBaseClusterRefrigeratorAndTemperatureControlledCabinetMode.d.ts +25 -23
  774. package/dist/Matter/MTRBaseClusterRelativeHumidityMeasurement.d.ts +56 -55
  775. package/dist/Matter/MTRBaseClusterServiceArea.d.ts +39 -36
  776. package/dist/Matter/MTRBaseClusterSmokeCOAlarm.d.ts +60 -59
  777. package/dist/Matter/MTRBaseClusterSoftwareDiagnostics.d.ts +60 -59
  778. package/dist/Matter/MTRBaseClusterSwitch.d.ts +50 -49
  779. package/dist/Matter/MTRBaseClusterTargetNavigator.d.ts +47 -45
  780. package/dist/Matter/MTRBaseClusterTemperatureControl.d.ts +37 -36
  781. package/dist/Matter/MTRBaseClusterTemperatureMeasurement.d.ts +56 -55
  782. package/dist/Matter/MTRBaseClusterTestCluster.d.ts +467 -455
  783. package/dist/Matter/MTRBaseClusterThermostat.d.ts +486 -483
  784. package/dist/Matter/MTRBaseClusterThermostatUserInterfaceConfiguration.d.ts +62 -61
  785. package/dist/Matter/MTRBaseClusterThreadBorderRouterManagement.d.ts +44 -40
  786. package/dist/Matter/MTRBaseClusterThreadNetworkDiagnostics.d.ts +418 -413
  787. package/dist/Matter/MTRBaseClusterThreadNetworkDirectory.d.ts +32 -30
  788. package/dist/Matter/MTRBaseClusterTimeFormatLocalization.d.ts +58 -57
  789. package/dist/Matter/MTRBaseClusterTimeSynchronization.d.ts +64 -60
  790. package/dist/Matter/MTRBaseClusterTotalVolatileOrganicCompoundsConcentrationMeasurement.d.ts +50 -49
  791. package/dist/Matter/MTRBaseClusterUnitLocalization.d.ts +42 -41
  792. package/dist/Matter/MTRBaseClusterUnitTesting.d.ts +467 -455
  793. package/dist/Matter/MTRBaseClusterUserLabel.d.ts +41 -41
  794. package/dist/Matter/MTRBaseClusterValveConfigurationAndControl.d.ts +58 -57
  795. package/dist/Matter/MTRBaseClusterWakeOnLan.d.ts +43 -40
  796. package/dist/Matter/MTRBaseClusterWaterHeaterManagement.d.ts +38 -37
  797. package/dist/Matter/MTRBaseClusterWaterHeaterMode.d.ts +25 -23
  798. package/dist/Matter/MTRBaseClusterWiFiNetworkDiagnostics.d.ts +115 -113
  799. package/dist/Matter/MTRBaseClusterWiFiNetworkManagement.d.ts +27 -24
  800. package/dist/Matter/MTRBaseClusterWindowCovering.d.ts +188 -187
  801. package/dist/Matter/MTRBaseDevice.d.ts +22 -19
  802. package/dist/Matter/MTRClusterAccessControl.d.ts +3 -2
  803. package/dist/Matter/MTRClusterAccountLogin.d.ts +10 -9
  804. package/dist/Matter/MTRClusterActions.d.ts +25 -25
  805. package/dist/Matter/MTRClusterActivatedCarbonFilterMonitoring.d.ts +3 -3
  806. package/dist/Matter/MTRClusterAdministratorCommissioning.d.ts +9 -9
  807. package/dist/Matter/MTRClusterApplicationLauncher.d.ts +11 -10
  808. package/dist/Matter/MTRClusterAudioOutput.d.ts +5 -5
  809. package/dist/Matter/MTRClusterBarrierControl.d.ts +7 -7
  810. package/dist/Matter/MTRClusterBasic.d.ts +3 -3
  811. package/dist/Matter/MTRClusterBooleanStateConfiguration.d.ts +3 -3
  812. package/dist/Matter/MTRClusterBridgedDeviceBasicInformation.d.ts +2 -2
  813. package/dist/Matter/MTRClusterChannel.d.ts +13 -11
  814. package/dist/Matter/MTRClusterColorControl.d.ts +39 -39
  815. package/dist/Matter/MTRClusterCommissionerControl.d.ts +4 -3
  816. package/dist/Matter/MTRClusterContentAppObserver.d.ts +3 -2
  817. package/dist/Matter/MTRClusterContentLauncher.d.ts +7 -5
  818. package/dist/Matter/MTRClusterDeviceEnergyManagement.d.ts +12 -12
  819. package/dist/Matter/MTRClusterDeviceEnergyManagementMode.d.ts +3 -2
  820. package/dist/Matter/MTRClusterDiagnosticLogs.d.ts +4 -3
  821. package/dist/Matter/MTRClusterDishwasherAlarm.d.ts +3 -3
  822. package/dist/Matter/MTRClusterDishwasherMode.d.ts +3 -2
  823. package/dist/Matter/MTRClusterDoorLock.d.ts +50 -44
  824. package/dist/Matter/MTRClusterElectricalMeasurement.d.ts +7 -7
  825. package/dist/Matter/MTRClusterEnergyEVSE.d.ts +12 -11
  826. package/dist/Matter/MTRClusterEnergyEVSEMode.d.ts +3 -2
  827. package/dist/Matter/MTRClusterEthernetNetworkDiagnostics.d.ts +5 -5
  828. package/dist/Matter/MTRClusterFanControl.d.ts +2 -2
  829. package/dist/Matter/MTRClusterGeneralCommissioning.d.ts +12 -9
  830. package/dist/Matter/MTRClusterGeneralDiagnostics.d.ts +8 -6
  831. package/dist/Matter/MTRClusterGroupKeyManagement.d.ts +12 -10
  832. package/dist/Matter/MTRClusterGroups.d.ts +19 -15
  833. package/dist/Matter/MTRClusterHEPAFilterMonitoring.d.ts +3 -3
  834. package/dist/Matter/MTRClusterICDManagement.d.ts +6 -4
  835. package/dist/Matter/MTRClusterIdentify.d.ts +5 -5
  836. package/dist/Matter/MTRClusterKeypadInput.d.ts +4 -3
  837. package/dist/Matter/MTRClusterLaundryWasherMode.d.ts +3 -2
  838. package/dist/Matter/MTRClusterLevelControl.d.ts +19 -19
  839. package/dist/Matter/MTRClusterLowPower.d.ts +5 -5
  840. package/dist/Matter/MTRClusterMediaInput.d.ts +13 -13
  841. package/dist/Matter/MTRClusterMediaPlayback.d.ts +44 -43
  842. package/dist/Matter/MTRClusterMessages.d.ts +3 -3
  843. package/dist/Matter/MTRClusterMicrowaveOvenControl.d.ts +4 -4
  844. package/dist/Matter/MTRClusterModeSelect.d.ts +3 -3
  845. package/dist/Matter/MTRClusterNetworkCommissioning.d.ts +17 -14
  846. package/dist/Matter/MTRClusterOnOff.d.ts +21 -21
  847. package/dist/Matter/MTRClusterOperationalCredentials.d.ts +21 -17
  848. package/dist/Matter/MTRClusterOperationalState.d.ts +10 -9
  849. package/dist/Matter/MTRClusterOtaSoftwareUpdateProvider.d.ts +9 -7
  850. package/dist/Matter/MTRClusterOtaSoftwareUpdateRequestor.d.ts +3 -3
  851. package/dist/Matter/MTRClusterOvenCavityOperationalState.d.ts +6 -5
  852. package/dist/Matter/MTRClusterOvenMode.d.ts +3 -2
  853. package/dist/Matter/MTRClusterRVCCleanMode.d.ts +3 -2
  854. package/dist/Matter/MTRClusterRVCOperationalState.d.ts +8 -7
  855. package/dist/Matter/MTRClusterRVCRunMode.d.ts +3 -2
  856. package/dist/Matter/MTRClusterRefrigeratorAndTemperatureControlledCabinetMode.d.ts +3 -2
  857. package/dist/Matter/MTRClusterServiceArea.d.ts +5 -3
  858. package/dist/Matter/MTRClusterSmokeCOAlarm.d.ts +3 -3
  859. package/dist/Matter/MTRClusterSoftwareDiagnostics.d.ts +5 -5
  860. package/dist/Matter/MTRClusterStateCacheContainer.d.ts +3 -2
  861. package/dist/Matter/MTRClusterTargetNavigator.d.ts +4 -3
  862. package/dist/Matter/MTRClusterTemperatureControl.d.ts +3 -3
  863. package/dist/Matter/MTRClusterTestCluster.d.ts +42 -30
  864. package/dist/Matter/MTRClusterThermostat.d.ts +16 -14
  865. package/dist/Matter/MTRClusterThreadBorderRouterManagement.d.ts +8 -7
  866. package/dist/Matter/MTRClusterThreadNetworkDiagnostics.d.ts +5 -5
  867. package/dist/Matter/MTRClusterThreadNetworkDirectory.d.ts +5 -4
  868. package/dist/Matter/MTRClusterTimeSynchronization.d.ts +7 -6
  869. package/dist/Matter/MTRClusterUnitTesting.d.ts +42 -30
  870. package/dist/Matter/MTRClusterValveConfigurationAndControl.d.ts +5 -5
  871. package/dist/Matter/MTRClusterWaterHeaterManagement.d.ts +4 -4
  872. package/dist/Matter/MTRClusterWaterHeaterMode.d.ts +3 -2
  873. package/dist/Matter/MTRClusterWiFiNetworkDiagnostics.d.ts +5 -5
  874. package/dist/Matter/MTRClusterWiFiNetworkManagement.d.ts +4 -3
  875. package/dist/Matter/MTRClusterWindowCovering.d.ts +21 -21
  876. package/dist/Matter/MTRCommissioningDelegate.d.ts +4 -4
  877. package/dist/Matter/MTRDevice.d.ts +11 -8
  878. package/dist/Matter/MTRDeviceController.d.ts +6 -4
  879. package/dist/Matter/MTRDeviceControllerServerProtocol.d.ts +12 -10
  880. package/dist/Matter/MTRErrorCode.d.ts +22 -0
  881. package/dist/Matter/MTRErrorCode.js +22 -0
  882. package/dist/Matter/MTRInteractionErrorCode.d.ts +33 -0
  883. package/dist/Matter/MTRInteractionErrorCode.js +33 -0
  884. package/dist/Matter/MTRNOCChainIssuer.d.ts +3 -1
  885. package/dist/Matter/MTROTAProviderDelegate.d.ts +13 -11
  886. package/dist/Matter/MTROperationalCertificateIssuer.d.ts +3 -2
  887. package/dist/Matter/MTRXPCDeviceControllerParameters.d.ts +4 -4
  888. package/dist/Matter/MTRXPCServerProtocol_MTRDevice.d.ts +17 -11
  889. package/dist/Matter/MTRXPCServerProtocol_MTRDeviceController.d.ts +2 -2
  890. package/dist/Matter/functions.d.ts +1 -2
  891. package/dist/Matter/functions.js +1 -1
  892. package/dist/Matter/index.d.ts +2 -0
  893. package/dist/Matter/index.js +2 -0
  894. package/dist/MediaAccessibility/MAMusicHapticsManager.d.ts +2 -3
  895. package/dist/MediaAccessibility/functions.d.ts +1 -1
  896. package/dist/MediaAccessibility/functions.js +1 -1
  897. package/dist/MediaExtension/MEByteSource.d.ts +4 -2
  898. package/dist/MediaExtension/MEError.d.ts +15 -0
  899. package/dist/MediaExtension/MEError.js +15 -0
  900. package/dist/MediaExtension/MEFormatReader.d.ts +8 -5
  901. package/dist/MediaExtension/MERAWProcessor.d.ts +2 -1
  902. package/dist/MediaExtension/MESampleCursor.d.ts +9 -7
  903. package/dist/MediaExtension/METrackReader.d.ts +12 -9
  904. package/dist/MediaExtension/MEVideoDecoder.d.ts +3 -1
  905. package/dist/MediaExtension/index.d.ts +1 -0
  906. package/dist/MediaExtension/index.js +1 -0
  907. package/dist/MediaPlayer/MPMediaEntity.d.ts +1 -1
  908. package/dist/MediaPlayer/MPMediaItemAnimatedArtwork.d.ts +4 -2
  909. package/dist/MediaPlayer/MPMediaItemArtwork.d.ts +1 -2
  910. package/dist/MediaPlayer/MPMediaLibrary.d.ts +6 -4
  911. package/dist/MediaPlayer/MPMediaPlaylist.d.ts +3 -3
  912. package/dist/MediaPlayer/MPMusicPlayerApplicationController.d.ts +4 -2
  913. package/dist/MediaPlayer/MPMusicPlayerController.d.ts +2 -1
  914. package/dist/MediaPlayer/MPNowPlayingSession.d.ts +1 -2
  915. package/dist/MediaPlayer/MPPlayableContentDataSource.d.ts +3 -3
  916. package/dist/MediaPlayer/MPPlayableContentDelegate.d.ts +4 -4
  917. package/dist/MediaPlayer/MPRemoteCommand.d.ts +3 -1
  918. package/dist/Metal/MTL4CommitOptions.d.ts +2 -2
  919. package/dist/Metal/MTL4Compiler.d.ts +11 -10
  920. package/dist/Metal/MTLCommandBuffer.d.ts +2 -2
  921. package/dist/Metal/MTLDevice.d.ts +13 -10
  922. package/dist/Metal/MTLDrawable.d.ts +1 -2
  923. package/dist/Metal/MTLIOCommandBuffer.d.ts +1 -2
  924. package/dist/Metal/MTLIOError.d.ts +5 -0
  925. package/dist/Metal/MTLIOError.js +5 -0
  926. package/dist/Metal/MTLLibrary.d.ts +4 -3
  927. package/dist/Metal/MTLLogState.d.ts +3 -2
  928. package/dist/Metal/MTLSharedEvent.d.ts +1 -2
  929. package/dist/Metal/NSDeviceCertification.d.ts +2 -0
  930. package/dist/Metal/NSDeviceCertification.js +2 -0
  931. package/dist/Metal/NSProcessPerformanceProfile.d.ts +2 -0
  932. package/dist/Metal/NSProcessPerformanceProfile.js +2 -0
  933. package/dist/Metal/functions.d.ts +2 -1
  934. package/dist/Metal/functions.js +1 -1
  935. package/dist/Metal/index.d.ts +3 -0
  936. package/dist/Metal/index.js +3 -0
  937. package/dist/MetalKit/MTKTextureLoader.d.ts +10 -9
  938. package/dist/MetalPerformanceShadersGraph/MPSGraph.d.ts +6 -5
  939. package/dist/MetalPerformanceShadersGraph/MPSGraphCompilationDescriptor.d.ts +4 -2
  940. package/dist/MetalPerformanceShadersGraph/MPSGraphExecutableExecutionDescriptor.d.ts +6 -5
  941. package/dist/MetalPerformanceShadersGraph/MPSGraphExecutionDescriptor.d.ts +5 -4
  942. package/dist/MetricKit/MXErrorCode.d.ts +9 -0
  943. package/dist/MetricKit/MXErrorCode.js +9 -0
  944. package/dist/MetricKit/index.d.ts +1 -0
  945. package/dist/MetricKit/index.js +1 -0
  946. package/dist/ModelIO/MDLMaterialPropertyNode.d.ts +3 -4
  947. package/dist/ModelIO/MDLMeshBufferMap.d.ts +1 -1
  948. package/dist/ModelIO/MDLObject.d.ts +1 -1
  949. package/dist/MultipeerConnectivity/MCNearbyServiceAdvertiserDelegate.d.ts +2 -2
  950. package/dist/MultipeerConnectivity/MCSession.d.ts +3 -2
  951. package/dist/MultipeerConnectivity/MCSessionDelegate.d.ts +1 -2
  952. package/dist/NaturalLanguage/NLContextualEmbedding.d.ts +3 -1
  953. package/dist/NaturalLanguage/NLContextualEmbeddingResult.d.ts +1 -1
  954. package/dist/NaturalLanguage/NLEmbedding.d.ts +4 -4
  955. package/dist/NaturalLanguage/NLTagger.d.ts +4 -2
  956. package/dist/NaturalLanguage/NLTokenizer.d.ts +2 -1
  957. package/dist/NearbyInteraction/NIErrorCode.d.ts +13 -0
  958. package/dist/NearbyInteraction/NIErrorCode.js +13 -0
  959. package/dist/NearbyInteraction/index.d.ts +1 -0
  960. package/dist/NearbyInteraction/index.js +1 -0
  961. package/dist/NetworkExtension/NEAppProxyFlow.d.ts +2 -3
  962. package/dist/NetworkExtension/NEAppProxyProvider.d.ts +2 -3
  963. package/dist/NetworkExtension/NEAppProxyProviderManager.d.ts +3 -2
  964. package/dist/NetworkExtension/NEAppProxyTCPFlow.d.ts +3 -3
  965. package/dist/NetworkExtension/NEAppProxyUDPFlow.d.ts +5 -4
  966. package/dist/NetworkExtension/NEAppPushManager.d.ts +5 -5
  967. package/dist/NetworkExtension/NEAppPushManagerError.d.ts +7 -0
  968. package/dist/NetworkExtension/NEAppPushManagerError.js +7 -0
  969. package/dist/NetworkExtension/NEAppPushProvider.d.ts +3 -3
  970. package/dist/NetworkExtension/NEDNSProxyManager.d.ts +4 -4
  971. package/dist/NetworkExtension/NEDNSProxyProvider.d.ts +2 -2
  972. package/dist/NetworkExtension/NEDNSSettingsManager.d.ts +4 -4
  973. package/dist/NetworkExtension/NEFilterControlProvider.d.ts +3 -3
  974. package/dist/NetworkExtension/NEFilterDataProvider.d.ts +2 -2
  975. package/dist/NetworkExtension/NEFilterManager.d.ts +4 -4
  976. package/dist/NetworkExtension/NEFilterPacketProvider.d.ts +5 -2
  977. package/dist/NetworkExtension/NEFilterProvider.d.ts +3 -3
  978. package/dist/NetworkExtension/NEHotspotConfigurationManager.d.ts +6 -5
  979. package/dist/NetworkExtension/NEHotspotHelper.d.ts +2 -2
  980. package/dist/NetworkExtension/NEHotspotNetwork.d.ts +1 -2
  981. package/dist/NetworkExtension/NEPacketTunnelFlow.d.ts +2 -3
  982. package/dist/NetworkExtension/NEPacketTunnelProvider.d.ts +2 -2
  983. package/dist/NetworkExtension/NEProvider.d.ts +2 -2
  984. package/dist/NetworkExtension/NERelayManager.d.ts +6 -6
  985. package/dist/NetworkExtension/NETransparentProxyManager.d.ts +3 -2
  986. package/dist/NetworkExtension/NETunnelProvider.d.ts +3 -3
  987. package/dist/NetworkExtension/NETunnelProviderManager.d.ts +2 -2
  988. package/dist/NetworkExtension/NETunnelProviderSession.d.ts +1 -1
  989. package/dist/NetworkExtension/NEURLFilter.d.ts +2 -2
  990. package/dist/NetworkExtension/NEVPNConnection.d.ts +2 -1
  991. package/dist/NetworkExtension/NEVPNManager.d.ts +4 -3
  992. package/dist/NetworkExtension/NWTCPConnection.d.ts +3 -4
  993. package/dist/NetworkExtension/NWTCPConnectionAuthenticationDelegate.d.ts +2 -2
  994. package/dist/NetworkExtension/NWUDPSession.d.ts +4 -4
  995. package/dist/NetworkExtension/index.d.ts +1 -0
  996. package/dist/NetworkExtension/index.js +1 -0
  997. package/dist/NotificationCenter/NCWidgetProviding.d.ts +2 -2
  998. package/dist/PHASE/PHASEAssetError.d.ts +9 -0
  999. package/dist/PHASE/PHASEAssetError.js +9 -0
  1000. package/dist/PHASE/PHASEAssetRegistry.d.ts +1 -1
  1001. package/dist/PHASE/PHASEError.d.ts +5 -0
  1002. package/dist/PHASE/PHASEError.js +5 -0
  1003. package/dist/PHASE/PHASEPullStreamNode.d.ts +2 -2
  1004. package/dist/PHASE/PHASEPushStreamNode.d.ts +2 -3
  1005. package/dist/PHASE/PHASESoundEvent.d.ts +8 -5
  1006. package/dist/PHASE/PHASESoundEventError.d.ts +9 -0
  1007. package/dist/PHASE/PHASESoundEventError.js +9 -0
  1008. package/dist/PHASE/index.d.ts +3 -0
  1009. package/dist/PHASE/index.js +3 -0
  1010. package/dist/ParavirtualizedGraphics/PGDeviceDescriptor.d.ts +16 -16
  1011. package/dist/ParavirtualizedGraphics/PGDisplay.d.ts +6 -6
  1012. package/dist/ParavirtualizedGraphics/PGDisplayDescriptor.d.ts +12 -11
  1013. package/dist/PassKit/PKAddIdentityDocumentConfiguration.d.ts +2 -2
  1014. package/dist/PassKit/PKAddSecureElementPassErrorCode.d.ts +11 -0
  1015. package/dist/PassKit/PKAddSecureElementPassErrorCode.js +11 -0
  1016. package/dist/PassKit/PKAddShareablePassConfiguration.d.ts +3 -3
  1017. package/dist/PassKit/PKDisbursementErrorCode.d.ts +6 -0
  1018. package/dist/PassKit/PKDisbursementErrorCode.js +6 -0
  1019. package/dist/PassKit/PKIdentityAuthorizationController.d.ts +4 -3
  1020. package/dist/PassKit/PKIdentityError.d.ts +12 -0
  1021. package/dist/PassKit/PKIdentityError.js +12 -0
  1022. package/dist/PassKit/PKIssuerProvisioningExtensionAuthorizationProviding.d.ts +3 -3
  1023. package/dist/PassKit/PKIssuerProvisioningExtensionHandler.d.ts +6 -5
  1024. package/dist/PassKit/PKPassKitErrorCode.d.ts +8 -0
  1025. package/dist/PassKit/PKPassKitErrorCode.js +8 -0
  1026. package/dist/PassKit/PKPassLibrary.d.ts +13 -10
  1027. package/dist/PassKit/PKPaymentAuthorizationController.d.ts +2 -3
  1028. package/dist/PassKit/PKPaymentAuthorizationControllerDelegate.d.ts +18 -11
  1029. package/dist/PassKit/PKPaymentAuthorizationViewControllerDelegate.d.ts +18 -11
  1030. package/dist/PassKit/PKPaymentErrorCode.d.ts +9 -0
  1031. package/dist/PassKit/PKPaymentErrorCode.js +9 -0
  1032. package/dist/PassKit/PKPaymentInformationRequestHandling.d.ts +5 -4
  1033. package/dist/PassKit/PKShareSecureElementPassErrorCode.d.ts +5 -0
  1034. package/dist/PassKit/PKShareSecureElementPassErrorCode.js +5 -0
  1035. package/dist/PassKit/PKVehicleConnectionSession.d.ts +2 -1
  1036. package/dist/PassKit/index.d.ts +6 -0
  1037. package/dist/PassKit/index.js +6 -0
  1038. package/dist/PencilKit/PKStrokePath.d.ts +3 -3
  1039. package/dist/Photos/PHAsset.d.ts +3 -1
  1040. package/dist/Photos/PHAssetResourceManager.d.ts +4 -3
  1041. package/dist/Photos/PHAssetResourceRequestOptions.d.ts +2 -3
  1042. package/dist/Photos/PHContentEditingInputRequestOptions.d.ts +5 -4
  1043. package/dist/Photos/PHFetchResult.d.ts +3 -3
  1044. package/dist/Photos/PHFetchResultChangeDetails.d.ts +1 -2
  1045. package/dist/Photos/PHImageManager.d.ts +16 -7
  1046. package/dist/Photos/PHImageRequestOptions.d.ts +4 -2
  1047. package/dist/Photos/PHLivePhoto.d.ts +2 -2
  1048. package/dist/Photos/PHLivePhotoEditingContext.d.ts +7 -4
  1049. package/dist/Photos/PHLivePhotoRequestOptions.d.ts +4 -2
  1050. package/dist/Photos/PHPersistentChangeFetchResult.d.ts +2 -1
  1051. package/dist/Photos/PHPhotoLibrary.d.ts +4 -4
  1052. package/dist/Photos/PHPhotosError.d.ts +25 -0
  1053. package/dist/Photos/PHPhotosError.js +25 -0
  1054. package/dist/Photos/PHVideoRequestOptions.d.ts +4 -2
  1055. package/dist/Photos/index.d.ts +1 -0
  1056. package/dist/Photos/index.js +1 -0
  1057. package/dist/PhotosUI/PHContentEditingController.d.ts +2 -2
  1058. package/dist/PhotosUI/PHProjectExtensionContext.d.ts +1 -2
  1059. package/dist/PhotosUI/PHProjectExtensionController.d.ts +4 -4
  1060. package/dist/PushKit/PKPushRegistryDelegate.d.ts +1 -2
  1061. package/dist/QuartzCore/CATransaction.d.ts +2 -2
  1062. package/dist/QuickLookThumbnailing/QLThumbnailError.d.ts +9 -0
  1063. package/dist/QuickLookThumbnailing/QLThumbnailError.js +9 -0
  1064. package/dist/QuickLookThumbnailing/QLThumbnailGenerator.d.ts +7 -5
  1065. package/dist/QuickLookThumbnailing/QLThumbnailProvider.d.ts +3 -2
  1066. package/dist/QuickLookThumbnailing/QLThumbnailReply.d.ts +2 -2
  1067. package/dist/QuickLookThumbnailing/index.d.ts +1 -0
  1068. package/dist/QuickLookThumbnailing/index.js +1 -0
  1069. package/dist/QuickLookUI/QLPreviewReply.d.ts +5 -3
  1070. package/dist/QuickLookUI/QLPreviewingController.d.ts +5 -4
  1071. package/dist/ReplayKit/RPBroadcastActivityController.d.ts +2 -2
  1072. package/dist/ReplayKit/RPBroadcastController.d.ts +3 -3
  1073. package/dist/ReplayKit/RPScreenRecorder.d.ts +13 -10
  1074. package/dist/SafariServices/SFContentBlockerManager.d.ts +4 -3
  1075. package/dist/SafariServices/SFSafariApplication.d.ts +10 -7
  1076. package/dist/SafariServices/SFSafariExtension.d.ts +2 -2
  1077. package/dist/SafariServices/SFSafariExtensionHandling.d.ts +3 -4
  1078. package/dist/SafariServices/SFSafariExtensionManager.d.ts +3 -2
  1079. package/dist/SafariServices/SFSafariPage.d.ts +6 -4
  1080. package/dist/SafariServices/SFSafariTab.d.ts +7 -5
  1081. package/dist/SafariServices/SFSafariWindow.d.ts +7 -5
  1082. package/dist/SafetyKit/SACrashDetectionManager.d.ts +2 -2
  1083. package/dist/SafetyKit/SAEmergencyResponseManager.d.ts +2 -2
  1084. package/dist/SafetyKit/SAErrorCode.d.ts +7 -0
  1085. package/dist/SafetyKit/SAErrorCode.js +7 -0
  1086. package/dist/SafetyKit/index.d.ts +1 -0
  1087. package/dist/SafetyKit/index.js +1 -0
  1088. package/dist/SceneKit/SCNAction.d.ts +6 -6
  1089. package/dist/SceneKit/SCNActionable.d.ts +2 -3
  1090. package/dist/SceneKit/SCNAnimation.d.ts +5 -5
  1091. package/dist/SceneKit/SCNAnimationEvent.d.ts +2 -1
  1092. package/dist/SceneKit/SCNAudioPlayer.d.ts +4 -5
  1093. package/dist/SceneKit/SCNNode.d.ts +3 -3
  1094. package/dist/SceneKit/SCNParticleSystem.d.ts +2 -2
  1095. package/dist/SceneKit/SCNPhysicsField.d.ts +1 -2
  1096. package/dist/SceneKit/SCNProgram.d.ts +5 -2
  1097. package/dist/SceneKit/SCNScene.d.ts +2 -1
  1098. package/dist/SceneKit/SCNSceneRenderer.d.ts +3 -3
  1099. package/dist/SceneKit/SCNSceneSource.d.ts +4 -2
  1100. package/dist/SceneKit/SCNShadable.d.ts +4 -3
  1101. package/dist/SceneKit/SCNTechnique.d.ts +3 -1
  1102. package/dist/SceneKit/SCNTransaction.d.ts +2 -2
  1103. package/dist/SceneKit/SCNTransformConstraint.d.ts +7 -4
  1104. package/dist/ScreenCaptureKit/SCScreenshotManager.d.ts +7 -5
  1105. package/dist/ScreenCaptureKit/SCShareableContent.d.ts +6 -6
  1106. package/dist/ScreenCaptureKit/SCStream.d.ts +5 -4
  1107. package/dist/ScreenCaptureKit/SCStreamErrorCode.d.ts +24 -0
  1108. package/dist/ScreenCaptureKit/SCStreamErrorCode.js +24 -0
  1109. package/dist/ScreenCaptureKit/index.d.ts +1 -0
  1110. package/dist/ScreenCaptureKit/index.js +1 -0
  1111. package/dist/ScreenTime/STWebHistory.d.ts +4 -2
  1112. package/dist/SecurityUI/SFCertificatePresentation.d.ts +1 -1
  1113. package/dist/SensitiveContentAnalysis/SCSensitivityAnalyzer.d.ts +5 -4
  1114. package/dist/SensitiveContentAnalysis/SCVideoStreamAnalyzer.d.ts +3 -2
  1115. package/dist/SensorKit/SRErrorCode.d.ts +8 -0
  1116. package/dist/SensorKit/SRErrorCode.js +8 -0
  1117. package/dist/SensorKit/SRSensorReader.d.ts +2 -2
  1118. package/dist/SensorKit/index.d.ts +1 -0
  1119. package/dist/SensorKit/index.js +1 -0
  1120. package/dist/ServiceManagement/SMAppService.d.ts +2 -1
  1121. package/dist/SharedWithYou/SWCollaborationView.d.ts +1 -2
  1122. package/dist/SharedWithYou/SWHighlightCenter.d.ts +6 -3
  1123. package/dist/ShazamKit/SHErrorCode.d.ts +13 -0
  1124. package/dist/ShazamKit/SHErrorCode.js +13 -0
  1125. package/dist/ShazamKit/SHMediaItem.d.ts +2 -1
  1126. package/dist/ShazamKit/SHMediaLibrary.d.ts +2 -2
  1127. package/dist/ShazamKit/SHSignatureGenerator.d.ts +2 -1
  1128. package/dist/ShazamKit/index.d.ts +1 -0
  1129. package/dist/ShazamKit/index.js +1 -0
  1130. package/dist/Social/SLRequest.d.ts +3 -2
  1131. package/dist/SoundAnalysis/SNAudioFileAnalyzer.d.ts +1 -1
  1132. package/dist/SoundAnalysis/SNErrorCode.d.ts +8 -0
  1133. package/dist/SoundAnalysis/SNErrorCode.js +8 -0
  1134. package/dist/SoundAnalysis/index.d.ts +1 -0
  1135. package/dist/SoundAnalysis/index.js +1 -0
  1136. package/dist/Speech/SFSpeechErrorCode.d.ts +9 -0
  1137. package/dist/Speech/SFSpeechErrorCode.js +9 -0
  1138. package/dist/Speech/SFSpeechLanguageModel.d.ts +5 -5
  1139. package/dist/Speech/SFSpeechRecognizer.d.ts +4 -3
  1140. package/dist/Speech/index.d.ts +1 -0
  1141. package/dist/Speech/index.js +1 -0
  1142. package/dist/SpriteKit/SKAction.d.ts +5 -5
  1143. package/dist/SpriteKit/SKFieldNode.d.ts +1 -1
  1144. package/dist/SpriteKit/SKMutableTexture.d.ts +1 -1
  1145. package/dist/SpriteKit/SKNode.d.ts +2 -2
  1146. package/dist/SpriteKit/SKPhysicsWorld.d.ts +3 -3
  1147. package/dist/SpriteKit/SKTexture.d.ts +2 -2
  1148. package/dist/SpriteKit/SKTextureAtlas.d.ts +4 -4
  1149. package/dist/StoreKit/SKANError.d.ts +15 -0
  1150. package/dist/StoreKit/SKANError.js +15 -0
  1151. package/dist/StoreKit/SKAdNetwork.d.ts +6 -6
  1152. package/dist/StoreKit/SKArcadeService.d.ts +3 -3
  1153. package/dist/StoreKit/SKCloudServiceController.d.ts +8 -7
  1154. package/dist/StoreKit/SKCloudServiceSetupViewController.d.ts +2 -2
  1155. package/dist/StoreKit/SKDownload.d.ts +3 -3
  1156. package/dist/StoreKit/SKDownloadState.d.ts +9 -0
  1157. package/dist/StoreKit/SKDownloadState.js +9 -0
  1158. package/dist/StoreKit/SKOverlayTransitionContext.d.ts +1 -2
  1159. package/dist/StoreKit/SKProductStorePromotionController.d.ts +6 -5
  1160. package/dist/StoreKit/SKProductStorePromotionVisibility.d.ts +6 -0
  1161. package/dist/StoreKit/SKProductStorePromotionVisibility.js +6 -0
  1162. package/dist/StoreKit/SKStoreProductViewController.d.ts +3 -3
  1163. package/dist/StoreKit/index.d.ts +3 -0
  1164. package/dist/StoreKit/index.js +3 -0
  1165. package/dist/SystemExtensions/OSSystemExtensionErrorCode.d.ts +16 -0
  1166. package/dist/SystemExtensions/OSSystemExtensionErrorCode.js +16 -0
  1167. package/dist/SystemExtensions/index.d.ts +1 -0
  1168. package/dist/SystemExtensions/index.js +1 -0
  1169. package/dist/ThreadNetwork/THClient.d.ts +12 -10
  1170. package/dist/UserNotifications/UNNotificationServiceExtension.d.ts +2 -2
  1171. package/dist/UserNotifications/UNUserNotificationCenter.d.ts +9 -8
  1172. package/dist/UserNotifications/UNUserNotificationCenterDelegate.d.ts +3 -3
  1173. package/dist/UserNotificationsUI/UNNotificationContentExtension.d.ts +2 -2
  1174. package/dist/VideoSubscriberAccount/VSAccountManager.d.ts +5 -3
  1175. package/dist/VideoSubscriberAccount/VSUserAccountManager.d.ts +7 -5
  1176. package/dist/VideoToolbox/VTFrameProcessor.d.ts +4 -2
  1177. package/dist/VideoToolbox/VTFrameProcessorError.d.ts +17 -0
  1178. package/dist/VideoToolbox/VTFrameProcessorError.js +17 -0
  1179. package/dist/VideoToolbox/VTSuperResolutionScalerConfiguration.d.ts +2 -2
  1180. package/dist/VideoToolbox/functions.d.ts +10 -10
  1181. package/dist/VideoToolbox/functions.js +10 -10
  1182. package/dist/VideoToolbox/index.d.ts +1 -0
  1183. package/dist/VideoToolbox/index.js +1 -0
  1184. package/dist/Virtualization/VZErrorCode.d.ts +28 -0
  1185. package/dist/Virtualization/VZErrorCode.js +28 -0
  1186. package/dist/Virtualization/VZLinuxRosettaDirectoryShare.d.ts +2 -1
  1187. package/dist/Virtualization/VZMacOSInstaller.d.ts +2 -2
  1188. package/dist/Virtualization/VZMacOSRestoreImage.d.ts +3 -3
  1189. package/dist/Virtualization/VZUSBController.d.ts +3 -3
  1190. package/dist/Virtualization/VZVirtioSocketDevice.d.ts +3 -2
  1191. package/dist/Virtualization/VZVirtualMachine.d.ts +8 -7
  1192. package/dist/Virtualization/index.d.ts +1 -0
  1193. package/dist/Virtualization/index.js +1 -0
  1194. package/dist/Vision/VNBarcodeCompositeType.d.ts +8 -0
  1195. package/dist/Vision/VNBarcodeCompositeType.js +8 -0
  1196. package/dist/Vision/VNBarcodeObservation.d.ts +2 -2
  1197. package/dist/Vision/VNChirality.d.ts +6 -0
  1198. package/dist/Vision/VNChirality.js +6 -0
  1199. package/dist/Vision/VNCoreMLRequest.d.ts +3 -2
  1200. package/dist/Vision/VNDetectHumanBodyPose3DRequest.d.ts +3 -1
  1201. package/dist/Vision/VNDetectTrajectoriesRequest.d.ts +3 -2
  1202. package/dist/Vision/VNFaceLandmarkRegion2D.d.ts +2 -1
  1203. package/dist/Vision/VNGeneratePersonSegmentationRequest.d.ts +3 -1
  1204. package/dist/Vision/VNHumanHandPoseObservation.d.ts +2 -1
  1205. package/dist/Vision/VNPointsClassification.d.ts +6 -0
  1206. package/dist/Vision/VNPointsClassification.js +6 -0
  1207. package/dist/Vision/VNRequest.d.ts +3 -2
  1208. package/dist/Vision/VNRequestProgressProviding.d.ts +4 -3
  1209. package/dist/Vision/VNStatefulRequest.d.ts +3 -2
  1210. package/dist/Vision/VNTargetedImageRequest.d.ts +14 -12
  1211. package/dist/Vision/VNTrackHomographicImageRegistrationRequest.d.ts +3 -2
  1212. package/dist/Vision/VNTrackObjectRequest.d.ts +3 -2
  1213. package/dist/Vision/VNTrackOpticalFlowRequest.d.ts +3 -2
  1214. package/dist/Vision/VNTrackRectangleRequest.d.ts +3 -2
  1215. package/dist/Vision/VNTrackTranslationalImageRegistrationRequest.d.ts +3 -2
  1216. package/dist/Vision/index.d.ts +3 -0
  1217. package/dist/Vision/index.js +3 -0
  1218. package/dist/WebKit/WKContentRuleListStore.d.ts +7 -5
  1219. package/dist/WebKit/WKDownload.d.ts +2 -1
  1220. package/dist/WebKit/WKDownloadDelegate.d.ts +9 -5
  1221. package/dist/WebKit/WKHTTPCookieStore.d.ts +6 -6
  1222. package/dist/WebKit/WKNavigationDelegate.d.ts +10 -6
  1223. package/dist/WebKit/WKScriptMessageHandlerWithReply.d.ts +2 -1
  1224. package/dist/WebKit/WKUIDelegate.d.ts +8 -6
  1225. package/dist/WebKit/WKWebExtension.d.ts +3 -3
  1226. package/dist/WebKit/WKWebExtensionContext.d.ts +2 -2
  1227. package/dist/WebKit/WKWebExtensionContextError.d.ts +9 -0
  1228. package/dist/WebKit/WKWebExtensionContextError.js +9 -0
  1229. package/dist/WebKit/WKWebExtensionController.d.ts +4 -3
  1230. package/dist/WebKit/WKWebExtensionControllerDelegate.d.ts +11 -9
  1231. package/dist/WebKit/WKWebExtensionDataRecordError.d.ts +7 -0
  1232. package/dist/WebKit/WKWebExtensionDataRecordError.js +7 -0
  1233. package/dist/WebKit/WKWebExtensionError.d.ts +12 -0
  1234. package/dist/WebKit/WKWebExtensionError.js +12 -0
  1235. package/dist/WebKit/WKWebExtensionMatchPatternError.d.ts +7 -0
  1236. package/dist/WebKit/WKWebExtensionMatchPatternError.js +7 -0
  1237. package/dist/WebKit/WKWebExtensionMessagePort.d.ts +5 -5
  1238. package/dist/WebKit/WKWebExtensionMessagePortError.d.ts +6 -0
  1239. package/dist/WebKit/WKWebExtensionMessagePortError.js +6 -0
  1240. package/dist/WebKit/WKWebExtensionTab.d.ts +18 -16
  1241. package/dist/WebKit/WKWebExtensionWindow.d.ts +5 -5
  1242. package/dist/WebKit/WKWebView.d.ts +26 -21
  1243. package/dist/WebKit/WKWebsiteDataStore.d.ts +8 -7
  1244. package/dist/WebKit/index.d.ts +5 -0
  1245. package/dist/WebKit/index.js +5 -0
  1246. package/dist/bind.js +4 -0
  1247. package/dist/helpers.d.ts +26 -0
  1248. package/dist/helpers.js +44 -0
  1249. package/dist/iTunesLibrary/ITLibMediaEntity.d.ts +2 -2
  1250. package/generator/ast-parser.ts +371 -5
  1251. package/generator/custom.ts +6 -0
  1252. package/generator/discover.ts +39 -2
  1253. package/generator/emitter.ts +41 -33
  1254. package/generator/index.ts +1 -1
  1255. package/generator/parse-worker.ts +28 -0
  1256. package/generator/templates/bind.ts +4 -0
  1257. package/generator/templates/helpers.ts +53 -0
  1258. package/generator/type-mapper.ts +276 -15
  1259. package/package.json +2 -2
@@ -1,14 +1,15 @@
1
- import type { NobjcObject } from "objc-js";
1
+ import type { _NSError } from "../Foundation/NSError.js";
2
2
  import type { _NSObject } from "../Foundation/NSObject.js";
3
3
  import type { _CTCellularPlanProperties } from "./CTCellularPlanProperties.js";
4
4
  import type { _CTCellularPlanProvisioningRequest } from "./CTCellularPlanProvisioningRequest.js";
5
+ import type { CTCellularPlanProvisioningAddPlanResult } from "./CTCellularPlanProvisioningAddPlanResult.js";
5
6
  export declare class _CTCellularPlanProvisioning extends _NSObject {
6
7
  static alloc(): _CTCellularPlanProvisioning;
7
8
  static new(): _CTCellularPlanProvisioning;
8
9
  init(): _CTCellularPlanProvisioning;
9
10
  supportsCellularPlan(): boolean;
10
- addPlanWith$completionHandler$(request: _CTCellularPlanProvisioningRequest, completionHandler: NobjcObject): void;
11
- addPlanWithRequest$properties$completionHandler$(request: _CTCellularPlanProvisioningRequest, properties: _CTCellularPlanProperties | null, completionHandler: NobjcObject): void;
12
- updateCellularPlanProperties$completionHandler$(properties: _CTCellularPlanProperties, completionHandler: NobjcObject | null): void;
11
+ addPlanWith$completionHandler$(request: _CTCellularPlanProvisioningRequest, completionHandler: (result: CTCellularPlanProvisioningAddPlanResult) => void): void;
12
+ addPlanWithRequest$properties$completionHandler$(request: _CTCellularPlanProvisioningRequest, properties: _CTCellularPlanProperties | null, completionHandler: (result: CTCellularPlanProvisioningAddPlanResult) => void): void;
13
+ updateCellularPlanProperties$completionHandler$(properties: _CTCellularPlanProperties, completionHandler: ((error: _NSError) => void) | null): void;
13
14
  supportsEmbeddedSIM(): boolean;
14
15
  }
@@ -1,10 +1,10 @@
1
- import type { NobjcObject } from "objc-js";
1
+ import type { _NSError } from "../Foundation/NSError.js";
2
2
  import type { _NSObject } from "../Foundation/NSObject.js";
3
3
  import type { _NSString } from "../Foundation/NSString.js";
4
4
  export declare class _CTCellularPlanStatus extends _NSObject {
5
5
  static alloc(): _CTCellularPlanStatus;
6
6
  static new(): _CTCellularPlanStatus;
7
7
  init(): _CTCellularPlanStatus;
8
- static getTokenWithCompletion$(completionHandler: NobjcObject | null): void;
9
- static checkValidityOfToken$completionHandler$(token: _NSString, completionHandler: NobjcObject | null): void;
8
+ static getTokenWithCompletion$(completionHandler: ((token: _NSString, error: _NSError) => void) | null): void;
9
+ static checkValidityOfToken$completionHandler$(token: _NSString, completionHandler: ((isValid: boolean, error: _NSError) => void) | null): void;
10
10
  }
@@ -1,4 +1,3 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _NSDictionary } from "../Foundation/NSDictionary.js";
3
2
  import type { _NSObject } from "../Foundation/NSObject.js";
4
3
  import type { _NSString } from "../Foundation/NSString.js";
@@ -28,14 +27,14 @@ export declare class _CTTelephonyNetworkInfo extends _NSObject {
28
27
  * serviceSubscriberCellularProvidersDidUpdateNotifier Discussion: A block that will be dispatched on the default priority global dispatch queue when the subscriber's cellular provider information updates for any service. Set this property to a block that is defined in your application to receive the newly updated information. The NSString will contain the service identifier of the service whose information has changed. This can be used as the key into serviceSubscriberCellularProvider to obtain the new information.
29
28
  * @deprecated Deprecated with no replacement
30
29
  */
31
- serviceSubscriberCellularProvidersDidUpdateNotifier(): NobjcObject | null;
32
- setServiceSubscriberCellularProvidersDidUpdateNotifier$(value: NobjcObject | null): void;
30
+ serviceSubscriberCellularProvidersDidUpdateNotifier(): ((arg0: _NSString) => void) | null;
31
+ setServiceSubscriberCellularProvidersDidUpdateNotifier$(value: ((arg0: _NSString) => void) | null): void;
33
32
  /**
34
33
  * subscriberCellularProviderDidUpdateNotifier Discussion: A block that will be dispatched on the default priority global dispatch queue when the subscriber's cellular provider information updates for the service. Set this property to a block that is defined in your application to receive the newly updated information.
35
34
  * @deprecated serviceSubscriberCellularProvidersDidUpdateNotifier
36
35
  */
37
- subscriberCellularProviderDidUpdateNotifier(): NobjcObject;
38
- setSubscriberCellularProviderDidUpdateNotifier$(value: NobjcObject): void;
36
+ subscriberCellularProviderDidUpdateNotifier(): (arg0: _CTCarrier) => void;
37
+ setSubscriberCellularProviderDidUpdateNotifier$(value: (arg0: _CTCarrier) => void): void;
39
38
  /**
40
39
  * serviceCurrentRadioAccessTechnology Discussion: A dictionary containing the current radio access technology each service is registered. The key to the dictionary is an NSString representing the service. An entry may be nil if the service is not registered on any network.
41
40
  */
@@ -66,7 +66,7 @@ export declare function CTFontDescriptorCreateMatchingFontDescriptors(descriptor
66
66
  export declare function CTFontDescriptorCreateWithAttributes(attributes: NobjcObject): NobjcObject;
67
67
  export declare function CTFontDescriptorCreateWithNameAndSize(name: Uint8Array, size: number): NobjcObject;
68
68
  export declare function CTFontDescriptorGetTypeID(): number;
69
- export declare function CTFontDescriptorMatchFontDescriptorsWithProgressHandler(descriptors: NobjcObject, mandatoryAttributes: NobjcObject | null, progressBlock: NobjcObject): boolean;
69
+ export declare function CTFontDescriptorMatchFontDescriptorsWithProgressHandler(descriptors: NobjcObject, mandatoryAttributes: NobjcObject | null, progressBlock: (arg0: NobjcObject, arg1: NobjcObject) => boolean): boolean;
70
70
  export declare function CTFontDrawGlyphs(font: NobjcObject, glyphs: NobjcObject, positions: NobjcObject, count: number, context: Uint8Array): void;
71
71
  export declare function CTFontDrawImageFromAdaptiveImageProviderAtPoint(font: NobjcObject, provider: _CTAdaptiveImageProviding, point: CGPoint, context: Uint8Array): void;
72
72
  export declare function CTFontGetAdvancesForGlyphs(font: NobjcObject, orientation: NobjcObject, glyphs: NobjcObject, advances: NobjcObject | null, count: number): number;
@@ -103,23 +103,23 @@ export declare function CTFontManagerCopyRegisteredFontDescriptors(scope: NobjcO
103
103
  export declare function CTFontManagerCreateFontDescriptorFromData(data: NobjcObject): NobjcObject | null;
104
104
  export declare function CTFontManagerCreateFontDescriptorsFromData(data: NobjcObject): NobjcObject;
105
105
  export declare function CTFontManagerCreateFontDescriptorsFromURL(fileURL: NobjcObject): NobjcObject | null;
106
- export declare function CTFontManagerCreateFontRequestRunLoopSource(sourceOrder: number, createMatchesCallback: NobjcObject): NobjcObject | null;
106
+ export declare function CTFontManagerCreateFontRequestRunLoopSource(sourceOrder: number, createMatchesCallback: (arg0: NobjcObject, arg1: NobjcObject) => NobjcObject): NobjcObject | null;
107
107
  export declare function CTFontManagerEnableFontDescriptors(descriptors: NobjcObject, enable: boolean): void;
108
108
  export declare function CTFontManagerGetAutoActivationSetting(bundleIdentifier: Uint8Array | null): NobjcObject;
109
109
  export declare function CTFontManagerGetScopeForURL(fontURL: NobjcObject): NobjcObject;
110
110
  export declare function CTFontManagerIsSupportedFont(fontURL: NobjcObject): boolean;
111
- export declare function CTFontManagerRegisterFontDescriptors(fontDescriptors: NobjcObject, scope: NobjcObject, enabled: boolean, registrationHandler: NobjcObject | null): void;
111
+ export declare function CTFontManagerRegisterFontDescriptors(fontDescriptors: NobjcObject, scope: NobjcObject, enabled: boolean, registrationHandler: ((arg0: NobjcObject, arg1: boolean) => boolean) | null): void;
112
112
  export declare function CTFontManagerRegisterFontsForURL(fontURL: NobjcObject, scope: NobjcObject, error: NobjcObject | null): boolean;
113
113
  export declare function CTFontManagerRegisterFontsForURLs(fontURLs: NobjcObject, scope: NobjcObject, errors: NobjcObject | null): boolean;
114
- export declare function CTFontManagerRegisterFontsWithAssetNames(fontAssetNames: NobjcObject, bundle: NobjcObject | null, scope: NobjcObject, enabled: boolean, registrationHandler: NobjcObject | null): void;
115
- export declare function CTFontManagerRegisterFontURLs(fontURLs: NobjcObject, scope: NobjcObject, enabled: boolean, registrationHandler: NobjcObject | null): void;
114
+ export declare function CTFontManagerRegisterFontsWithAssetNames(fontAssetNames: NobjcObject, bundle: NobjcObject | null, scope: NobjcObject, enabled: boolean, registrationHandler: ((arg0: NobjcObject, arg1: boolean) => boolean) | null): void;
115
+ export declare function CTFontManagerRegisterFontURLs(fontURLs: NobjcObject, scope: NobjcObject, enabled: boolean, registrationHandler: ((arg0: NobjcObject, arg1: boolean) => boolean) | null): void;
116
116
  export declare function CTFontManagerRegisterGraphicsFont(font: NobjcObject, error: NobjcObject | null): boolean;
117
- export declare function CTFontManagerRequestFonts(fontDescriptors: NobjcObject, completionHandler: NobjcObject): void;
117
+ export declare function CTFontManagerRequestFonts(fontDescriptors: NobjcObject, completionHandler: (arg0: NobjcObject) => void): void;
118
118
  export declare function CTFontManagerSetAutoActivationSetting(bundleIdentifier: Uint8Array | null, setting: NobjcObject): void;
119
- export declare function CTFontManagerUnregisterFontDescriptors(fontDescriptors: NobjcObject, scope: NobjcObject, registrationHandler: NobjcObject | null): void;
119
+ export declare function CTFontManagerUnregisterFontDescriptors(fontDescriptors: NobjcObject, scope: NobjcObject, registrationHandler: ((arg0: NobjcObject, arg1: boolean) => boolean) | null): void;
120
120
  export declare function CTFontManagerUnregisterFontsForURL(fontURL: NobjcObject, scope: NobjcObject, error: NobjcObject | null): boolean;
121
121
  export declare function CTFontManagerUnregisterFontsForURLs(fontURLs: NobjcObject, scope: NobjcObject, errors: NobjcObject | null): boolean;
122
- export declare function CTFontManagerUnregisterFontURLs(fontURLs: NobjcObject, scope: NobjcObject, registrationHandler: NobjcObject | null): void;
122
+ export declare function CTFontManagerUnregisterFontURLs(fontURLs: NobjcObject, scope: NobjcObject, registrationHandler: ((arg0: NobjcObject, arg1: boolean) => boolean) | null): void;
123
123
  export declare function CTFontManagerUnregisterGraphicsFont(font: NobjcObject, error: NobjcObject | null): boolean;
124
124
  export declare function CTFrameDraw(frame: NobjcObject, context: Uint8Array): void;
125
125
  export declare function CTFrameGetFrameAttributes(frame: NobjcObject): NobjcObject | null;
@@ -148,7 +148,7 @@ export declare function CTLineCreateJustifiedLine(line: NobjcObject, justificati
148
148
  export declare function CTLineCreateTruncatedLine(line: NobjcObject, width: number, truncationType: NobjcObject, truncationToken: NobjcObject | null): NobjcObject | null;
149
149
  export declare function CTLineCreateWithAttributedString(attrString: NobjcObject): NobjcObject;
150
150
  export declare function CTLineDraw(line: NobjcObject, context: Uint8Array): void;
151
- export declare function CTLineEnumerateCaretOffsets(line: NobjcObject, block: NobjcObject): void;
151
+ export declare function CTLineEnumerateCaretOffsets(line: NobjcObject, block: (arg0: number, arg1: number, arg2: boolean, arg3: NobjcObject) => void): void;
152
152
  export declare function CTLineGetBoundsWithOptions(line: NobjcObject, options: NobjcObject): CGRect;
153
153
  export declare function CTLineGetGlyphCount(line: NobjcObject): number;
154
154
  export declare function CTLineGetGlyphRuns(line: NobjcObject): NobjcObject;
@@ -187,7 +187,7 @@ export function CTFontDescriptorGetTypeID() {
187
187
  return callFunction("CTFontDescriptorGetTypeID", { returns: "L" });
188
188
  }
189
189
  export function CTFontDescriptorMatchFontDescriptorsWithProgressHandler(descriptors, mandatoryAttributes, progressBlock) {
190
- return callFunction("CTFontDescriptorMatchFontDescriptorsWithProgressHandler", { returns: "B" }, descriptors, mandatoryAttributes, progressBlock);
190
+ return callFunction("CTFontDescriptorMatchFontDescriptorsWithProgressHandler", { returns: "B", args: ["@", "@", "@?"] }, descriptors, mandatoryAttributes, progressBlock);
191
191
  }
192
192
  export function CTFontDrawGlyphs(font, glyphs, positions, count, context) {
193
193
  callFunction("CTFontDrawGlyphs", { args: ["@", "@", "@", "Q", "^"] }, font, glyphs, positions, count, context);
@@ -298,7 +298,7 @@ export function CTFontManagerCreateFontDescriptorsFromURL(fileURL) {
298
298
  return callFunction("CTFontManagerCreateFontDescriptorsFromURL", { returns: "@" }, fileURL);
299
299
  }
300
300
  export function CTFontManagerCreateFontRequestRunLoopSource(sourceOrder, createMatchesCallback) {
301
- return callFunction("CTFontManagerCreateFontRequestRunLoopSource", { returns: "@", args: ["q", "@"] }, sourceOrder, createMatchesCallback);
301
+ return callFunction("CTFontManagerCreateFontRequestRunLoopSource", { returns: "@", args: ["q", "@?"] }, sourceOrder, createMatchesCallback);
302
302
  }
303
303
  export function CTFontManagerEnableFontDescriptors(descriptors, enable) {
304
304
  callFunction("CTFontManagerEnableFontDescriptors", { args: ["@", "B"] }, descriptors, enable);
@@ -313,7 +313,7 @@ export function CTFontManagerIsSupportedFont(fontURL) {
313
313
  return callFunction("CTFontManagerIsSupportedFont", { returns: "B" }, fontURL);
314
314
  }
315
315
  export function CTFontManagerRegisterFontDescriptors(fontDescriptors, scope, enabled, registrationHandler) {
316
- callFunction("CTFontManagerRegisterFontDescriptors", { args: ["@", "@", "B", "@"] }, fontDescriptors, scope, enabled, registrationHandler);
316
+ callFunction("CTFontManagerRegisterFontDescriptors", { args: ["@", "@", "B", "@?"] }, fontDescriptors, scope, enabled, registrationHandler);
317
317
  }
318
318
  export function CTFontManagerRegisterFontsForURL(fontURL, scope, error) {
319
319
  return callFunction("CTFontManagerRegisterFontsForURL", { returns: "B" }, fontURL, scope, error);
@@ -322,22 +322,22 @@ export function CTFontManagerRegisterFontsForURLs(fontURLs, scope, errors) {
322
322
  return callFunction("CTFontManagerRegisterFontsForURLs", { returns: "B" }, fontURLs, scope, errors);
323
323
  }
324
324
  export function CTFontManagerRegisterFontsWithAssetNames(fontAssetNames, bundle, scope, enabled, registrationHandler) {
325
- callFunction("CTFontManagerRegisterFontsWithAssetNames", { args: ["@", "@", "@", "B", "@"] }, fontAssetNames, bundle, scope, enabled, registrationHandler);
325
+ callFunction("CTFontManagerRegisterFontsWithAssetNames", { args: ["@", "@", "@", "B", "@?"] }, fontAssetNames, bundle, scope, enabled, registrationHandler);
326
326
  }
327
327
  export function CTFontManagerRegisterFontURLs(fontURLs, scope, enabled, registrationHandler) {
328
- callFunction("CTFontManagerRegisterFontURLs", { args: ["@", "@", "B", "@"] }, fontURLs, scope, enabled, registrationHandler);
328
+ callFunction("CTFontManagerRegisterFontURLs", { args: ["@", "@", "B", "@?"] }, fontURLs, scope, enabled, registrationHandler);
329
329
  }
330
330
  export function CTFontManagerRegisterGraphicsFont(font, error) {
331
331
  return callFunction("CTFontManagerRegisterGraphicsFont", { returns: "B" }, font, error);
332
332
  }
333
333
  export function CTFontManagerRequestFonts(fontDescriptors, completionHandler) {
334
- callFunction("CTFontManagerRequestFonts", undefined, fontDescriptors, completionHandler);
334
+ callFunction("CTFontManagerRequestFonts", { args: ["@", "@?"] }, fontDescriptors, completionHandler);
335
335
  }
336
336
  export function CTFontManagerSetAutoActivationSetting(bundleIdentifier, setting) {
337
337
  callFunction("CTFontManagerSetAutoActivationSetting", { args: ["^", "@"] }, bundleIdentifier, setting);
338
338
  }
339
339
  export function CTFontManagerUnregisterFontDescriptors(fontDescriptors, scope, registrationHandler) {
340
- callFunction("CTFontManagerUnregisterFontDescriptors", undefined, fontDescriptors, scope, registrationHandler);
340
+ callFunction("CTFontManagerUnregisterFontDescriptors", { args: ["@", "@", "@?"] }, fontDescriptors, scope, registrationHandler);
341
341
  }
342
342
  export function CTFontManagerUnregisterFontsForURL(fontURL, scope, error) {
343
343
  return callFunction("CTFontManagerUnregisterFontsForURL", { returns: "B" }, fontURL, scope, error);
@@ -346,7 +346,7 @@ export function CTFontManagerUnregisterFontsForURLs(fontURLs, scope, errors) {
346
346
  return callFunction("CTFontManagerUnregisterFontsForURLs", { returns: "B" }, fontURLs, scope, errors);
347
347
  }
348
348
  export function CTFontManagerUnregisterFontURLs(fontURLs, scope, registrationHandler) {
349
- callFunction("CTFontManagerUnregisterFontURLs", undefined, fontURLs, scope, registrationHandler);
349
+ callFunction("CTFontManagerUnregisterFontURLs", { args: ["@", "@", "@?"] }, fontURLs, scope, registrationHandler);
350
350
  }
351
351
  export function CTFontManagerUnregisterGraphicsFont(font, error) {
352
352
  return callFunction("CTFontManagerUnregisterGraphicsFont", { returns: "B" }, font, error);
@@ -433,7 +433,7 @@ export function CTLineDraw(line, context) {
433
433
  callFunction("CTLineDraw", { args: ["@", "^"] }, line, context);
434
434
  }
435
435
  export function CTLineEnumerateCaretOffsets(line, block) {
436
- callFunction("CTLineEnumerateCaretOffsets", undefined, line, block);
436
+ callFunction("CTLineEnumerateCaretOffsets", { args: ["@", "@?"] }, line, block);
437
437
  }
438
438
  export function CTLineGetBoundsWithOptions(line, options) {
439
439
  return callFunction("CTLineGetBoundsWithOptions", { returns: "{CGRect}" }, line, options);
@@ -0,0 +1,15 @@
1
+ export declare const TKErrorCode: {
2
+ readonly NotImplemented: -1;
3
+ readonly CommunicationError: -2;
4
+ readonly CorruptedData: -3;
5
+ readonly CanceledByUser: -4;
6
+ readonly AuthenticationFailed: -5;
7
+ readonly ObjectNotFound: -6;
8
+ readonly TokenNotFound: -7;
9
+ readonly BadParameter: -8;
10
+ readonly AuthenticationNeeded: -9;
11
+ readonly TKErrorAuthenticationFailed: -5;
12
+ readonly TKErrorObjectNotFound: -6;
13
+ readonly TKErrorTokenNotFound: -7;
14
+ };
15
+ export type TKErrorCode = typeof TKErrorCode[keyof typeof TKErrorCode];
@@ -0,0 +1,15 @@
1
+ // AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
2
+ export const TKErrorCode = {
3
+ NotImplemented: -1,
4
+ CommunicationError: -2,
5
+ CorruptedData: -3,
6
+ CanceledByUser: -4,
7
+ AuthenticationFailed: -5,
8
+ ObjectNotFound: -6,
9
+ TokenNotFound: -7,
10
+ BadParameter: -8,
11
+ AuthenticationNeeded: -9,
12
+ TKErrorAuthenticationFailed: -5,
13
+ TKErrorObjectNotFound: -6,
14
+ TKErrorTokenNotFound: -7,
15
+ };
@@ -1,5 +1,6 @@
1
1
  import type { NobjcObject } from "objc-js";
2
2
  import type { _NSData } from "../Foundation/NSData.js";
3
+ import type { _NSError } from "../Foundation/NSError.js";
3
4
  import type { _NSNumber } from "../Foundation/NSNumber.js";
4
5
  import type { _NSObject } from "../Foundation/NSObject.js";
5
6
  import type { _TKSmartCardPINFormat } from "./TKSmartCardPINFormat.js";
@@ -14,11 +15,11 @@ export declare class _TKSmartCard extends _NSObject {
14
15
  /**
15
16
  * Begins session with the card. @discussion When session exists, other requests for sessions from other card objects to the same card are blocked. Session is reference-counted, the same amount of 'end' calls must be done to really terminate the session. Note that finishing session does not automatically mean that the card is disconnected; it only happens when another session from different card object is requested. @param success Signals whether session was successfully started. @param error More information about error preventing the transaction to start
16
17
  */
17
- beginSessionWithReply$(reply: NobjcObject | null): void;
18
+ beginSessionWithReply$(reply: ((success: boolean, error: _NSError) => void) | null): void;
18
19
  /**
19
20
  * Transmits raw command to the card. This call is allowed only inside session. @param request Request part of APDU @param reponse Response part of APDU, or nil if communication with the card failed @param error Error details when communication with the card failed
20
21
  */
21
- transmitRequest$reply$(request: _NSData, reply: NobjcObject | null): void;
22
+ transmitRequest$reply$(request: _NSData, reply: ((response: _NSData, error: _NSError) => void) | null): void;
22
23
  /**
23
24
  * Terminates the transaction. If no transaction is pending any more, the connection will be closed if there is another session in the system waiting for the transaction.
24
25
  */
@@ -34,11 +35,11 @@ export declare class _TKSmartCard extends _NSObject {
34
35
  /**
35
36
  * Transmits APDU to the card and returns response. @discussion Asynchronous high level variant of command for transmitting APDU to the card. Handles all ISO7816-4 APDU cases translation to proper sequences according to used protocol. Consults useExtendedAPDU and useCommandChaining properties and uses these modes whenever appropriate and beneficial for sending requested APDU request. @param ins INS code of the APDU @param p1 P1 code of the APDU @param p2 P2 code of the APDU @param requestData Data field of the APDU, or nil if no input data field should be present (i.e case1 or case2 APDUs). Length of the data serves as Lc field of the APDU. @param le Expected number of bytes to be returned, or nil if no output data are expected (i.e. case1 or case3 APDUs). To get as much bytes as card provides, pass @0. @param replyData Block of returned data without SW1SW2 bytes, or nil if an error occured. @param sw SW1SW2 result code, first two bytes of returned card's reply. @param error Contains error details when nil is returned. Specific error is also filled in if there was no communication error, but card returned other SW code than 0x9000.
36
37
  */
37
- sendIns$p1$p2$data$le$reply$(ins: NobjcObject, p1: NobjcObject, p2: NobjcObject, requestData: _NSData | null, le: _NSNumber | null, reply: NobjcObject | null): void;
38
+ sendIns$p1$p2$data$le$reply$(ins: NobjcObject, p1: NobjcObject, p2: NobjcObject, requestData: _NSData | null, le: _NSNumber | null, reply: ((replyData: _NSData, sw: number, error: _NSError) => void) | null): void;
38
39
  /**
39
40
  * Synchronous variant of session creation. Begins the session, executes given block and ends session. @param error Error receiving more information when transaction failed to start or block failed for some reason. @param block Block to be executed when the session was successfully begun. @return Returns YES if the session was successfully begun and block returned YES, otherwise NO.
40
41
  */
41
- inSessionWithError$executeBlock$(error: NobjcObject | null, block: NobjcObject | null): boolean;
42
+ inSessionWithError$executeBlock$(error: NobjcObject | null, block: ((error: NobjcObject) => boolean) | null): boolean;
42
43
  /**
43
44
  * Transmits APDU to the card and returns response. @discussion Synchronous high level variant of command for transmitting APDU to the card. Handles all ISO7816-4 APDU cases translation to proper sequences according to used protocol. Should be used in block passed to -[TKSmartCard inSessionWithError:executeBlock:] method. @param ins INS code of the APDU @param p1 P1 code of the APDU @param p2 P2 code of the APDU @param data Data field of the APDU. Length of the data serves as Lc field of the APDU @param le Expected number of bytes to be returned, or nil if no output data are expected (i.e. case1 or case3 APDUs). To get as much bytes as card provides, pass @0. @param sw On output, filled with SW1SW2 result code @param error Contains error details when nil is returned. Specific error is also filled in if there was no communication error, but card returned other SW code than 0x9000. @return Returned data field, excluding SW status bytes. If an error occured, returns nil.
44
45
  */
@@ -1,4 +1,3 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _NSArray } from "../Foundation/NSArray.js";
3
2
  import type { _NSData } from "../Foundation/NSData.js";
4
3
  import type { _NSObject } from "../Foundation/NSObject.js";
@@ -15,7 +14,7 @@ export declare class _TKSmartCardATR extends _NSObject {
15
14
  /**
16
15
  * Parses ATR from stream. @param source Provides one byte of ATR from the stream or -1 in case of an error @return Parsed ATR instance, or nil when #source method failed or an invalid ATR is detected
17
16
  */
18
- initWithSource$(source: NobjcObject): _TKSmartCardATR | null;
17
+ initWithSource$(source: () => number): _TKSmartCardATR | null;
19
18
  /**
20
19
  * Retrieves interface group with specified index. @param index Index of the requested interface group. Indexing conforms to ISO7816-3, i.e. starts from 1. @return Interface group with given index, or nil of no such group was present.
21
20
  */
@@ -1,8 +1,9 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _NSArray } from "../Foundation/NSArray.js";
2
+ import type { _NSError } from "../Foundation/NSError.js";
3
3
  import type { _NSObject } from "../Foundation/NSObject.js";
4
4
  import type { _NSString } from "../Foundation/NSString.js";
5
5
  import type { _TKSmartCardSlot } from "./TKSmartCardSlot.js";
6
+ import type { _TKSmartCardSlotNFCSession } from "./TKSmartCardSlotNFCSession.js";
6
7
  export declare class _TKSmartCardSlotManager extends _NSObject {
7
8
  static alloc(): _TKSmartCardSlotManager;
8
9
  static new(): _TKSmartCardSlotManager;
@@ -14,7 +15,7 @@ export declare class _TKSmartCardSlotManager extends _NSObject {
14
15
  /**
15
16
  * Instantiates smartcard reader slot of specified name. If specified name is not registered, reports nil.
16
17
  */
17
- getSlotWithName$reply$(name: _NSString, reply: NobjcObject | null): void;
18
+ getSlotWithName$reply$(name: _NSString, reply: ((slot: _TKSmartCardSlot) => void) | null): void;
18
19
  /**
19
20
  * Gets SmartCard reader slot with specified name. If reader slot with this name does not exist, returns nil.
20
21
  */
@@ -22,7 +23,7 @@ export declare class _TKSmartCardSlotManager extends _NSObject {
22
23
  /**
23
24
  * Creates an NFC smart card slot using the device's hardware and presents a system UI. @param message Message shown in the system-presented UI @param completion Completion handler which returns the NFC session of the created slot or an error on failure. If an NFC slot already exists and current caller is not the initial creator `TKErrorCodeObjectNotFound` error is returned. @discussion To finish the NFC session and dismiss the system-presented UI use `TKSmartCardSlotNFCSession.endSession`. @warning Caller requires `com.apple.developer.nfc.readersession.iso7816.select-identifiers` Info.plist record which specifies application identifiers of the NFC cards @link https://developer.apple.com/documentation/bundleresources/information-property-list/com.apple.developer.nfc.readersession.iso7816.select-identifiers
24
25
  */
25
- createNFCSlotWithMessage$completion$(message: _NSString | null, completion: NobjcObject | null): void;
26
+ createNFCSlotWithMessage$completion$(message: _NSString | null, completion: ((session: _TKSmartCardSlotNFCSession, error: _NSError) => void) | null): void;
26
27
  /**
27
28
  * Determines whether NFC (Near Field Communication) is supported on this device. @return `YES` if NFC is supported and available for use, NO otherwise.
28
29
  */
@@ -1,4 +1,4 @@
1
- import type { NobjcObject } from "objc-js";
1
+ import type { _NSError } from "../Foundation/NSError.js";
2
2
  import type { _NSObject } from "../Foundation/NSObject.js";
3
3
  import type { _TKSmartCardUserInteractionDelegate } from "./TKSmartCardUserInteractionDelegate.js";
4
4
  export declare class _TKSmartCardUserInteraction extends _NSObject {
@@ -6,7 +6,7 @@ export declare class _TKSmartCardUserInteraction extends _NSObject {
6
6
  static new(): _TKSmartCardUserInteraction;
7
7
  init(): _TKSmartCardUserInteraction;
8
8
  /** Runs the interaction. */
9
- runWithReply$(reply: NobjcObject | null): void;
9
+ runWithReply$(reply: ((success: boolean, error: _NSError) => void) | null): void;
10
10
  /**
11
11
  * Attempts to cancel a running interaction. Note that for some interactions, this functionality might not be available. @return Returns NO if the operation is not running, or cancelling is not supported.
12
12
  */
@@ -1,4 +1,3 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _NSArray } from "../Foundation/NSArray.js";
3
2
  import type { _NSObject } from "../Foundation/NSObject.js";
4
3
  import type { _NSString } from "../Foundation/NSString.js";
@@ -12,15 +11,15 @@ export declare class _TKTokenWatcher extends _NSObject {
12
11
  * Init watcher with insertion handler init watcher with insertion handler which is called when a new token arrives called when a new token is inserted
13
12
  * @deprecated setInsertionHandler
14
13
  */
15
- initWithInsertionHandler$(insertionHandler: NobjcObject): _TKTokenWatcher;
14
+ initWithInsertionHandler$(insertionHandler: (tokenID: _NSString) => void): _TKTokenWatcher;
16
15
  /**
17
16
  * Set insertion handler when an insertion handler is set the TokenWatcher will call this handler when new token appears in the system. TokenWatcher will call the handler also for tokens which was registered in the system before the handler was set. called when a new token is inserted
18
17
  */
19
- setInsertionHandler$(insertionHandler: NobjcObject): void;
18
+ setInsertionHandler$(insertionHandler: (tokenID: _NSString) => void): void;
20
19
  /**
21
20
  * Add removal watcher for specific tokenID after removalHandler for a specific tokenID is called the reference to this handler is removed. For one tokenID just one handler can be added, so next call to addRemovalHandler will replace previous handler called when a token is removed specified tokenID, if tokenID does not exist removal handler is called imediately
22
21
  */
23
- addRemovalHandler$forTokenID$(removalHandler: NobjcObject, tokenID: _NSString): void;
22
+ addRemovalHandler$forTokenID$(removalHandler: (tokenID: _NSString) => void, tokenID: _NSString): void;
24
23
  /**
25
24
  * Return TokenInfo for specific tokenID specified tokenID A TokenInfo object, or nil if tokenID does not exist
26
25
  */
@@ -115,6 +115,7 @@ import type { _TKTokenDriverDelegate } from "./TKTokenDriverDelegate.js";
115
115
  export type { _TKTokenDriverDelegate };
116
116
  import type { _TKTokenSessionDelegate } from "./TKTokenSessionDelegate.js";
117
117
  export type { _TKTokenSessionDelegate };
118
+ export { TKErrorCode } from "./TKErrorCode.js";
118
119
  export { TKSmartCardPINCharset } from "./TKSmartCardPINCharset.js";
119
120
  export { TKSmartCardPINCompletion } from "./TKSmartCardPINCompletion.js";
120
121
  export { TKSmartCardPINConfirmation } from "./TKSmartCardPINConfirmation.js";
@@ -37,6 +37,7 @@ export const TKTokenSession = _bindClass(CryptoTokenKit, "TKTokenSession");
37
37
  export const TKTokenSmartCardPINAuthOperation = _bindClass(CryptoTokenKit, "TKTokenSmartCardPINAuthOperation");
38
38
  export const TKTokenWatcher = _bindClass(CryptoTokenKit, "TKTokenWatcher");
39
39
  export const TKTokenWatcherTokenInfo = _bindClass(CryptoTokenKit, "TKTokenWatcherTokenInfo");
40
+ export { TKErrorCode } from "./TKErrorCode.js";
40
41
  export { TKSmartCardPINCharset } from "./TKSmartCardPINCharset.js";
41
42
  export { TKSmartCardPINCompletion } from "./TKSmartCardPINCompletion.js";
42
43
  export { TKSmartCardPINConfirmation } from "./TKSmartCardPINConfirmation.js";
@@ -1,5 +1,5 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _NSData } from "../Foundation/NSData.js";
2
+ import type { _NSError } from "../Foundation/NSError.js";
3
3
  import type { _NSObject } from "../Foundation/NSObject.js";
4
4
  import type { _NSString } from "../Foundation/NSString.js";
5
5
  export declare class _DCAppAttestService extends _NSObject {
@@ -13,15 +13,15 @@ export declare class _DCAppAttestService extends _NSObject {
13
13
  /**
14
14
  * Creates a new cryptographic key for use with the App Attest service. > Concurrency Note: You can call this method from synchronous code using a completion handler, > as shown on this page, or you can call it as an asynchronous method that has the > following declaration: > > ```swift > func generateKey() async throws -> String > ``` > For example: > ```swift > let keyIdentifier = try await generateKey() > ``` > For information about concurrency and asynchronous code in Swift, see <doc://com.apple.documentation/documentation/swift/calling-objective-c-apis-asynchronously>. Call this method to request the creation of a secure, unattested key pair on a device for a specific user. On success, the method provides your app with an identifier that represents the key pair stored in the Secure Enclave. Because there’s no way to use or retrieve the key without the identifier, you’ll want to either record it in your app or on your server right away. If key generation fails, the closure provides a ``DeviceCheck/DCError-swift.struct`` that indicates the reason for the failure. Create a unique key for each user account on a device. Otherwise it’s hard to detect an attack that uses a single compromised device to serve multiple remote users running a compromised version of your app. For more information, see <doc:assessing-fraud-risk>. After you get the identifier, you call the ``DeviceCheck/DCAppAttestService/attestKey:clientDataHash:completionHandler:`` method with the key identifier to ask Apple to attest to the validity of the associated key. Later, you call the ``DeviceCheck/DCAppAttestService/generateAssertion:clientDataHash:completionHandler:`` method with the key identifier to answer a challenge from your server, and establish the legitimacy of this instance of your app. - Parameters: - completionHandler: A closure that the method calls upon completion with the following parameters: - `keyId`: An identifier that you use to refer to the key. The framework securely stores the key in the Secure Enclave. - `error`: A ``DeviceCheck/DCError-swift.struct`` instance that indicates the reason for failure, or `nil` on success.
15
15
  */
16
- generateKeyWithCompletionHandler$(completionHandler: NobjcObject | null): void;
16
+ generateKeyWithCompletionHandler$(completionHandler: ((keyId: _NSString, error: _NSError) => void) | null): void;
17
17
  /**
18
18
  * Asks Apple to attest to the validity of a generated cryptographic key. > Concurrency Note: You can call this method from synchronous code using a completion handler, > as shown on this page, or you can call it as an asynchronous method that has the > following declaration: > > ```swift > func attestKey(_ keyId: String, clientDataHash: Data) async throws -> Data > ``` > > For information about concurrency and asynchronous code in Swift, see <doc://com.apple.documentation/documentation/swift/calling-objective-c-apis-asynchronously>. This method asks Apple to attest to the validity of a key that you previously generated with a call to the ``DeviceCheck/DCAppAttestService/generateKeyWithCompletionHandler:`` method. Provide the method with both the key identifier and a computed hash of a data block that includes a one-time challenge from your server to prevent replay attacks. For example, you can use CryptoKit to create a <doc://com.apple.documentation/documentation/cryptokit/sha256> hash of challenge data: ```swift import CryptoKit let hash = Data(SHA256.hash(data: challenge)) // A challenge from your server. ``` The attest method calls its completion handler to return an attestation object to you, which you must send to your server for verification. A compromised version of your app could falsify the verification result, thus circumventing App Attest. If you successfully verify the attestation object on your server, as described in <doc:validating-apps-that-connect-to-your-server>, then you can associate the key identifier with the user on the device for future reference. You’ll need the identifier to generate assertions with calls to ``DeviceCheck/DCAppAttestService/generateAssertion:clientDataHash:completionHandler:``. If your server fails to verify the attestation object, discard the key identifier. If the method’s completion handler returns the ``DeviceCheck/DCError-swift.struct/serverUnavailable`` error — typically due to network connectivity issues — it means that the framework failed to reach the App Attest service to complete the attestation. In this case, retry attestation again using the same key and client data hash later to avoid unnecessarily generating new keys. Retrying with the same inputs helps to preserve the risk metric for a given device. - Parameters: - keyId: The identifier you received when generating a cryptographic key by calling the ``DeviceCheck/DCAppAttestService/generateKeyWithCompletionHandler:`` method. - clientDataHash: A SHA256 hash of a unique, single-use data block that embeds a challenge from your server. Should be at least 16 bytes in length. - completionHandler: A closure that the method calls upon completion with the following parameters: - `attestationObject`: A statement from Apple about the validity of the key associated with `keyId`. Send this to your server for processing. - `error`: A ``DeviceCheck/DCError-swift.struct`` instance that indicates the reason for failure, or `nil` on success.
19
19
  */
20
- attestKey$clientDataHash$completionHandler$(keyId: _NSString, clientDataHash: _NSData, completionHandler: NobjcObject | null): void;
20
+ attestKey$clientDataHash$completionHandler$(keyId: _NSString, clientDataHash: _NSData, completionHandler: ((attestationObject: _NSData, error: _NSError) => void) | null): void;
21
21
  /**
22
22
  * Creates a block of data that demonstrates the legitimacy of an instance of your app running on a device. > Concurrency Note: You can call this method from synchronous code using a completion handler, > as shown on this page, or you can call it as an asynchronous method that has the > following declaration: > > ```swift > func generateAssertion(_ keyId: String, clientDataHash: Data) async throws -> Data > ``` > > For information about concurrency and asynchronous code in Swift, see <doc://com.apple.documentation/documentation/swift/calling-objective-c-apis-asynchronously>. After generating a key with the ``DeviceCheck/DCAppAttestService/generateKeyWithCompletionHandler:`` method and validating it with the ``DeviceCheck/DCAppAttestService/attestKey:clientDataHash:completionHandler:`` method, you can use the key at critical moments in your app’s life cycle — like when a user tries to access premium content — to reaffirm the legitimacy of a given instance of your app. Do this by using the ``DeviceCheck/DCAppAttestService/generateAssertion:clientDataHash:completionHandler:`` method to sign server requests with your attested key. You provide the key identifier and a hash of the request that includes a challenge from your server to prevent replay attacks, where an attacker reuses captured network traffic to pose as someone else. The method returns an assertion object in its completion handler that you send to your server for verification, as described in <doc:establishing-your-app-s-integrity>. - Parameters: - keyId: The identifier you received when generating a cryptographic key by calling the ``DeviceCheck/DCAppAttestService/generateKeyWithCompletionHandler:`` method. - clientDataHash: A SHA256 hash of a unique, single-use data block that represents the client data to be signed with the attested private key. Should be at least 16 bytes in length. - completionHandler: A closure that the method calls upon completion with the following parameters: - `assertionObject`: A data structure that you send to your server for processing. - `error` : A ``DeviceCheck/DCError-swift.struct`` instance that indicates the reason for failure, or `nil` on success.
23
23
  */
24
- generateAssertion$clientDataHash$completionHandler$(keyId: _NSString, clientDataHash: _NSData, completionHandler: NobjcObject | null): void;
24
+ generateAssertion$clientDataHash$completionHandler$(keyId: _NSString, clientDataHash: _NSData, completionHandler: ((assertionObject: _NSData, error: _NSError) => void) | null): void;
25
25
  /**
26
26
  * A Boolean value that indicates whether a particular device provides the App Attest service. > Important: Not all device types support the App Attest service, so check > for support before using the service. > > If you read ``DeviceCheck/DCAppAttestService/supported`` from an app running > on a Mac device, the value is > <doc://com.apple.documentation/documentation/swift/false>. This includes > Mac Catalyst apps, and iOS or iPadOS apps running on Apple silicon. If you read ``DeviceCheck/DCAppAttestService/supported`` from within an app extension, the value might be <doc://com.apple.documentation/documentation/swift/true> or <doc://com.apple.documentation/documentation/swift/false>, depending on the extension type. However, most extensions don’t support App Attest. The ``DeviceCheck/DCAppAttestService/generateKeyWithCompletionHandler:`` method fails when you call it from an app extension, regardless of the value of ``DeviceCheck/DCAppAttestService/supported``. The only app extensions that support App Attest are watchOS extensions in watchOS 9 or later. For these extensions, you can use the results from ``DeviceCheck/DCAppAttestService/supported`` to indicate whether your WatchKit extension bypasses attestation.
27
27
  */
@@ -1,4 +1,5 @@
1
- import type { NobjcObject } from "objc-js";
1
+ import type { _NSData } from "../Foundation/NSData.js";
2
+ import type { _NSError } from "../Foundation/NSError.js";
2
3
  import type { _NSObject } from "../Foundation/NSObject.js";
3
4
  export declare class _DCDevice extends _NSObject {
4
5
  static alloc(): _DCDevice;
@@ -11,7 +12,7 @@ export declare class _DCDevice extends _NSObject {
11
12
  /**
12
13
  * Generates a token that identifies the current device. > Concurrency Note: You can call this method from synchronous code using a completion handler, > as shown on this page, or you can call it as an asynchronous method that has the > following declaration: > > ```swift > func generateToken() async throws -> Data > ``` > For example: > ```swift > let token = try await generateToken() > ``` > For information about concurrency and asynchronous code in Swift, see <doc://com.apple.documentation/documentation/swift/calling-objective-c-apis-asynchronously>. Your server uses the generated token in its requests to get or set the persistent bits for the current device. You should treat the token you receive in the completion block as single-use. Although the token remains valid long enough for your server to retry a specific request if necessary, you should not use a token multiple times. Instead, use this method to generate a new token. - Note: The app you use to generate the token must be associated with your developer account; otherwise, the generation request fails. - Parameters: - completion: A completion block that includes the following parameters: - `token`: An ephemeral token that identifies the current device. - `error`: The error that occurred, if any.
13
14
  */
14
- generateTokenWithCompletionHandler$(completion: NobjcObject | null): void;
15
+ generateTokenWithCompletionHandler$(completion: ((token: _NSData, error: _NSError) => void) | null): void;
15
16
  /** A Boolean value that indicates whether the device supports the DeviceCheck API. */
16
17
  supported(): boolean;
17
18
  }
@@ -0,0 +1,8 @@
1
+ export declare const DCError: {
2
+ readonly UnknownSystemFailure: 0;
3
+ readonly FeatureUnsupported: 1;
4
+ readonly InvalidInput: 2;
5
+ readonly InvalidKey: 3;
6
+ readonly ServerUnavailable: 4;
7
+ };
8
+ export type DCError = typeof DCError[keyof typeof DCError];
@@ -0,0 +1,8 @@
1
+ // AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
2
+ export const DCError = {
3
+ UnknownSystemFailure: 0,
4
+ FeatureUnsupported: 1,
5
+ InvalidInput: 2,
6
+ InvalidKey: 3,
7
+ ServerUnavailable: 4,
8
+ };
@@ -6,3 +6,4 @@ export type { _DCAppAttestService };
6
6
  import type { _DCDevice } from "./DCDevice.js";
7
7
  export declare const DCDevice: typeof _DCDevice;
8
8
  export type { _DCDevice };
9
+ export { DCError } from "./DCError.js";
@@ -4,3 +4,4 @@ import { _bindClass } from "../bind.js";
4
4
  export const DeviceCheck = new NobjcLibrary("/System/Library/Frameworks/DeviceCheck.framework/DeviceCheck");
5
5
  export const DCAppAttestService = _bindClass(DeviceCheck, "DCAppAttestService");
6
6
  export const DCDevice = _bindClass(DeviceCheck, "DCDevice");
7
+ export { DCError } from "./DCError.js";
@@ -0,0 +1,12 @@
1
+ export declare const DDErrorCode: {
2
+ readonly Success: 0;
3
+ readonly Unknown: 350000;
4
+ readonly BadParameter: 350001;
5
+ readonly Unsupported: 350002;
6
+ readonly Timeout: 350003;
7
+ readonly Internal: 350004;
8
+ readonly MissingEntitlement: 350005;
9
+ readonly Permission: 350006;
10
+ readonly Next: 350007;
11
+ };
12
+ export type DDErrorCode = typeof DDErrorCode[keyof typeof DDErrorCode];
@@ -0,0 +1,12 @@
1
+ // AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
2
+ export const DDErrorCode = {
3
+ Success: 0,
4
+ Unknown: 350000,
5
+ BadParameter: 350001,
6
+ Unsupported: 350002,
7
+ Timeout: 350003,
8
+ Internal: 350004,
9
+ MissingEntitlement: 350005,
10
+ Permission: 350006,
11
+ Next: 350007,
12
+ };
@@ -15,5 +15,6 @@ export { DDDeviceProtocol } from "./DDDeviceProtocol.js";
15
15
  export { DDDeviceState } from "./DDDeviceState.js";
16
16
  export { DDDeviceSupports } from "./DDDeviceSupports.js";
17
17
  export { DDDeviceWiFiAwareServiceRole } from "./DDDeviceWiFiAwareServiceRole.js";
18
+ export { DDErrorCode } from "./DDErrorCode.js";
18
19
  export { DDEventType } from "./DDEventType.js";
19
20
  export { DDDeviceProtocolString } from "./DDDeviceProtocolString.js";
@@ -11,5 +11,6 @@ export { DDDeviceProtocol } from "./DDDeviceProtocol.js";
11
11
  export { DDDeviceState } from "./DDDeviceState.js";
12
12
  export { DDDeviceSupports } from "./DDDeviceSupports.js";
13
13
  export { DDDeviceWiFiAwareServiceRole } from "./DDDeviceWiFiAwareServiceRole.js";
14
+ export { DDErrorCode } from "./DDErrorCode.js";
14
15
  export { DDEventType } from "./DDEventType.js";
15
16
  export { DDDeviceProtocolString } from "./DDDeviceProtocolString.js";
@@ -1,6 +1,7 @@
1
1
  import type { NobjcObject } from "objc-js";
2
2
  import type { _NSArray } from "../Foundation/NSArray.js";
3
3
  import type { _NSDate } from "../Foundation/NSDate.js";
4
+ import type { _NSError } from "../Foundation/NSError.js";
4
5
  import type { _NSObject } from "../Foundation/NSObject.js";
5
6
  import type { _NSPredicate } from "../Foundation/NSPredicate.js";
6
7
  import type { _NSString } from "../Foundation/NSString.js";
@@ -29,19 +30,19 @@ export declare class _EKEventStore extends _NSObject {
29
30
  * @method initWithSources: @abstract Creates a new event store that only includes items and calendars for a subset of sources. @param sources The sources you want this event store to recognize. This may include delegate sources.
30
31
  */
31
32
  initWithSources$(sources: _NSArray): _EKEventStore;
32
- requestFullAccessToEventsWithCompletion$(completion: NobjcObject): void;
33
+ requestFullAccessToEventsWithCompletion$(completion: (arg0: boolean, arg1: _NSError) => void): void;
33
34
  /**
34
35
  * @deprecated Use -requestFullAccessToEventsWithCompletion:, -requestWriteOnlyAccessToEventsWithCompletion:, or -requestFullAccessToRemindersWithCompletion:
35
36
  */
36
- requestWriteOnlyAccessToEventsWithCompletion$(completion: NobjcObject): void;
37
+ requestWriteOnlyAccessToEventsWithCompletion$(completion: (arg0: boolean, arg1: _NSError) => void): void;
37
38
  /**
38
39
  * @deprecated Use -requestFullAccessToEventsWithCompletion:, -requestWriteOnlyAccessToEventsWithCompletion:, or -requestFullAccessToRemindersWithCompletion:
39
40
  */
40
- requestFullAccessToRemindersWithCompletion$(completion: NobjcObject): void;
41
+ requestFullAccessToRemindersWithCompletion$(completion: (arg0: boolean, arg1: _NSError) => void): void;
41
42
  /**
42
43
  * @deprecated Use -requestFullAccessToEventsWithCompletion:, -requestWriteOnlyAccessToEventsWithCompletion:, or -requestFullAccessToRemindersWithCompletion:
43
44
  */
44
- requestAccessToEntityType$completion$(entityType: EKEntityType, completion: NobjcObject): void;
45
+ requestAccessToEntityType$completion$(entityType: EKEntityType, completion: (arg0: boolean, arg1: _NSError) => void): void;
45
46
  /**
46
47
  * @method sourceWithIdentifier: @abstract Returns a source with a specified identifier.
47
48
  */
@@ -98,7 +99,7 @@ export declare class _EKEventStore extends _NSObject {
98
99
  /**
99
100
  * @method enumerateEventsMatchingPredicate:usingBlock: @abstract Searches for events that match the given predicate. @discussion This call executes a search for the events indicated by the predicate passed to it, calling the block specified in the callback parameter for each event. This method is synchronous. If you want async behavior, you should either use dispatch_async or NSOperation to run the query someplace other than the main thread. @param predicate The predicate to invoke. If this predicate was not created with the predicate creation functions in this class, an exception is raised. @param block The block to call for each event. Your block should return YES in the stop parameter to stop iterating.
100
101
  */
101
- enumerateEventsMatchingPredicate$usingBlock$(predicate: _NSPredicate, block: NobjcObject): void;
102
+ enumerateEventsMatchingPredicate$usingBlock$(predicate: _NSPredicate, block: (arg0: _EKEvent, arg1: NobjcObject) => void): void;
102
103
  /**
103
104
  * @method predicateForEventsWithStartDate:endDate:calendars: @abstract Creates a predicate for use with eventsMatchingPredicate or enumerateEventsMatchingPredicate:usingBlock:. @discussion Creates a simple query predicate to search for events within a certain date range. At present, this will return events in the default time zone ([NSTimeZone defaultTimeZone]). For performance reasons, this method will only return events within a four year timespan. If the date range between the startDate and endDate is greater than four years, then it will be shortened to the first four years. @param startDate The start date. @param endDate The end date. @param calendars The calendars to search for events in, or nil to search all calendars.
104
105
  */
@@ -114,7 +115,7 @@ export declare class _EKEventStore extends _NSObject {
114
115
  /**
115
116
  * @method fetchRemindersMatchingPredicate:completion: @abstract Fetches reminders asynchronously. @discussion This method fetches reminders asynchronously and returns a value which can be used in cancelFetchRequest: to cancel the request later if desired. The completion block is called with an array of reminders that match the given predicate (or potentially nil).
116
117
  */
117
- fetchRemindersMatchingPredicate$completion$(predicate: _NSPredicate, completion: NobjcObject | null): NobjcObject;
118
+ fetchRemindersMatchingPredicate$completion$(predicate: _NSPredicate, completion: ((reminders: _NSArray) => void) | null): NobjcObject;
118
119
  /**
119
120
  * @method cancelFetchRequest: @discussion Given a value returned from fetchRemindersMatchingPredicate, this method can be used to cancel the request. Once called, the completion block specified in fetchReminders... will not be called.
120
121
  */
@@ -1,7 +1,9 @@
1
- import type { NobjcObject } from "objc-js";
1
+ import type { _NSArray } from "../Foundation/NSArray.js";
2
+ import type { _NSError } from "../Foundation/NSError.js";
2
3
  import type { _NSExtensionRequestHandling } from "../Foundation/NSExtensionRequestHandling.js";
3
4
  import type { _NSObject } from "../Foundation/NSObject.js";
4
5
  import type { _NSString } from "../Foundation/NSString.js";
6
+ import type { _EKVirtualConferenceDescriptor } from "./EKVirtualConferenceDescriptor.js";
5
7
  export declare class _EKVirtualConferenceProvider extends _NSObject {
6
8
  static alloc(): _EKVirtualConferenceProvider;
7
9
  static new(): _EKVirtualConferenceProvider;
@@ -9,11 +11,11 @@ export declare class _EKVirtualConferenceProvider extends _NSObject {
9
11
  /**
10
12
  * @method fetchAvailableRoomTypesWithCompletionHandler: @abstract Called to determine the available virtual conference room types that the user can add to a calendar event. @discussion Your extension must override this method in order to present virtual conference options in Calendar's UI. When your extension has finished determining what room types are available, call the completion handler with an array of EKVirtualConferenceRoomTypeDescriptors. Most extensions will only need to provide one room type. @param completionHandler A block to call when your extension has finished retrieving available room types. If your extension is unable to provide any room types at this time, call this block with nil for the first argument and an appropriate NSError object for the second argument. Do not call this block with nil for both arguments. Similarly, do not call this block with both a non-nil array and a non-nil NSError. This block must be called when your extension has finished its work.
11
13
  */
12
- fetchAvailableRoomTypesWithCompletionHandler$(completionHandler: NobjcObject | null): void;
14
+ fetchAvailableRoomTypesWithCompletionHandler$(completionHandler: ((arg0: _NSArray, arg1: _NSError) => void) | null): void;
13
15
  /**
14
16
  * @method fetchVirtualConferenceForIdentifier:completionHandler: @abstract Called to fetch the specific virtual conference details to add to an event. @discussion Your extension must override this method in order to add virtual conferences to calendar events. When your extension has finished retrieving the requested virtual conference details, create an EKVirtualConferenceDescriptor object containing the virtual conference details and call the completion handler with the EKVirtualConferenceDescriptor object as the first argument. @param identifier Represents the room type that the user chose. This is the same identifier that your extension chose for this EKVirtualConferenceRoomTypeDescriptor in an earlier call to fetchAvailableRoomTypesWithCompletionHandler:. @param completionHandler A block to call when your extension has finished retrieving the virtual conference details. If your extension is unable to retrieve virtual conference details at this time (for example, because network access is not available), call this block with nil for the first argument and an appropriate NSError object for the second argument. Do not call this block with nil for both arguments. Similarly, do not call this block with both a non-nil EKVirtualConferenceDescriptor and a non-nil NSError. This block must be called when your extension has finished its work.
15
17
  */
16
- fetchVirtualConferenceForIdentifier$completionHandler$(identifier: _NSString, completionHandler: NobjcObject | null): void;
18
+ fetchVirtualConferenceForIdentifier$completionHandler$(identifier: _NSString, completionHandler: ((arg0: _EKVirtualConferenceDescriptor, arg1: _NSError) => void) | null): void;
17
19
  }
18
20
  export interface _EKVirtualConferenceProvider extends _NSExtensionRequestHandling {
19
21
  }
@@ -1,4 +1,3 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _NSObject } from "../Foundation/NSObject.js";
3
2
  import type { EPDeveloperToolStatus } from "./EPDeveloperToolStatus.js";
4
3
  export declare class _EPDeveloperTool extends _NSObject {
@@ -11,7 +10,7 @@ export declare class _EPDeveloperTool extends _NSObject {
11
10
  /**
12
11
  * Checks whether developer tool privileges are already available and if not populates an entry in Settings for user approval. This method does not show any UI to the user or guide them towards Settings for approval, if necessary. - Parameter handler: A block called asynchronously with whether the privilege is available. > New info > Concurrency Note: You can call this method from synchronous code using a completion handler, > as shown on this page, or you can call it as an asynchronous method that has the > following declaration: > > ```swift > func requestAccess() async -> Bool > ``` > > For information about concurrency and asynchronous code in Swift, see <doc ://com.apple.documentation/documentation/swift/calling-objective-c-apis-asynchronously>.
13
12
  */
14
- requestDeveloperToolAccessWithCompletionHandler$(handler: NobjcObject): void;
13
+ requestDeveloperToolAccessWithCompletionHandler$(handler: (granted: boolean) => void): void;
15
14
  /**
16
15
  * The current authorization status of the current process. - Returns: An EPDeveloperToolStatus indicating whether the current process has developer tool privileges.
17
16
  */