-
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
111 changed files
with
5,172 additions
and
834 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
// | ||
// Generated by class-dump 3.5 (64 bit). | ||
// | ||
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. | ||
// | ||
|
||
@import Foundation; | ||
|
||
@class CKDemoAccount, CKStoreAccount, CKStoreClient, ISStoreAccount, NSArray; | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface CKAccountStore : NSObject | ||
{ | ||
CKStoreClient *_storeClient; | ||
} | ||
|
||
+ (instancetype)sharedAccountStore; | ||
|
||
+ (id)accountStoreForStoreClient:(id)arg1; | ||
@property(readonly) CKStoreClient *storeClient; // @synthesize storeClient=_storeClient; | ||
|
||
//- (void).cxx_destruct; | ||
//- (void)getTouchIDStateForAccount:(id)arg1 completionBlock:(CDUnknownBlockType)arg2; | ||
//- (void)setTouchIDStateForAccount:(id)arg1 state:(long long)arg2 completionBlock:(CDUnknownBlockType)arg3; | ||
//- (void)updatePasswordSettings:(id)arg1 completionBlock:(CDUnknownBlockType)arg2; | ||
//- (void)getPasswordSettingsWithCompletionBlock:(CDUnknownBlockType)arg1; | ||
//- (void)getEligibilityForService:(long long)arg1 completionBlock:(CDUnknownBlockType)arg2; | ||
|
||
- (id)eligibilityForService:(long long)arg1; | ||
- (void)viewAccount; | ||
|
||
//- (void)signInWithSuggestedAppleID:(id)arg1 allowChangeOfAppleID:(BOOL)arg2 completionHandler:(CDUnknownBlockType)arg3; | ||
|
||
- (void)signIn; | ||
- (void)addAccount:(id)arg1; | ||
@property(readonly) NSArray *accounts; | ||
- (id)accountWithAppleID:(id)arg1; | ||
- (id)accountForDSID:(id)arg1; | ||
@property(readonly) ISStoreAccount *primaryAccount; | ||
- (void)removePrimaryAccountObserver:(id)arg1; | ||
|
||
//- (id)addPrimaryAccountObserverWithBlock:(CDUnknownBlockType)arg1; | ||
|
||
- (id)initWithStoreClient:(id)arg1; | ||
- (void)removeAccountObserver:(id)arg1; | ||
- (id)addAccountObserver:(id)arg1; | ||
|
||
//- (void)signOutWithCompletionHandler:(CDUnknownBlockType)arg1; | ||
|
||
- (void)signOut; | ||
- (id)storeAccountForAppleID:(id)arg1; | ||
- (id)storeAccountForDSID:(id)arg1; | ||
@property(readonly) BOOL primaryAccountIsPresentAndSignedIn; | ||
@property(readonly) CKStoreAccount *primaryStoreAccount; | ||
@property(readonly) CKDemoAccount *demoAccount; | ||
@property(readonly) BOOL isDemoModeEnabled; | ||
@property(readonly) NSArray *knownAccounts; | ||
- (id)_initWithStoreClient:(id)arg1; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// | ||
// CKDownloadDirectory.h | ||
// mas-cli | ||
// | ||
// Created by Ben Chatelain on 7/8/18. | ||
// Copyright © 2018 mas-cli. All rights reserved. | ||
// | ||
|
||
NSString* CKDownloadDirectory(NSString *target); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
// | ||
// Generated by class-dump 3.5 (64 bit). | ||
// | ||
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. | ||
// | ||
|
||
#import "CKServiceInterface.h" | ||
|
||
@class CKDownloadQueueClient, NSArray, NSLock, NSMutableDictionary; | ||
|
||
@protocol CKDownloadQueueObserver; | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface CKDownloadQueue : CKServiceInterface | ||
{ | ||
NSMutableDictionary *_downloadsByItemID; | ||
NSLock *_downloadsLock; | ||
NSMutableDictionary *_downloadQueueObservers; | ||
CKDownloadQueueClient *_sharedObserver; | ||
} | ||
|
||
+ (instancetype)sharedDownloadQueue; | ||
|
||
@property(retain, nonatomic) CKDownloadQueueClient *sharedObserver; // @synthesize sharedObserver=_sharedObserver; | ||
@property(retain, nonatomic) NSMutableDictionary *downloadQueueObservers; // @synthesize downloadQueueObservers=_downloadQueueObservers; | ||
|
||
//- (void).cxx_destruct; | ||
|
||
- (BOOL)cacheReceiptDataForDownload:(id)arg1; | ||
- (void)checkStoreDownloadQueueForAccount:(id)arg1; | ||
- (void)lockedApplicationTriedToLaunchAtPath:(id)arg1; | ||
- (void)unlockApplicationsWithBundleIdentifier:(id)arg1; | ||
- (void)lockApplicationsForBundleID:(id)arg1; | ||
- (void)performedIconAnimationForDownloadWithIdentifier:(unsigned long long)arg1; | ||
|
||
//- (void)fetchIconForItemIdentifier:(unsigned long long)arg1 atURL:(id)arg2 replyBlock:(CDUnknownBlockType)arg3; | ||
|
||
- (void)removeDownloadWithItemIdentifier:(unsigned long long)arg1; | ||
- (void)cancelDownload:(id)arg1 promptToConfirm:(BOOL)arg2 askToDelete:(BOOL)arg3; | ||
- (void)resumeDownloadWithItemIdentifier:(unsigned long long)arg1; | ||
- (void)pauseDownloadWithItemIdentifier:(unsigned long long)arg1; | ||
- (void)addDownload:(id)arg1; | ||
- (id)downloadForItemIdentifier:(unsigned long long)arg1; | ||
@property(readonly, nonatomic) NSArray *downloads; // @dynamic downloads; | ||
- (void)removeObserver:(id<CKDownloadQueueObserver>)arg1; | ||
- (id<CKDownloadQueueObserver>)addObserver:(id<CKDownloadQueueObserver>)arg1; | ||
- (id<CKDownloadQueueObserver>)addObserver:(id<CKDownloadQueueObserver>)arg1 forDownloadTypes:(long long)arg2; | ||
|
||
// - (id)addObserverForDownloadTypes:(long long)arg1 withBlock:(CDUnknownBlockType)arg2; | ||
|
||
- (void)connectionWasInterrupted; | ||
- (id)initWithStoreClient:(id)arg1; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// CKDownloadQueueObserver.h | ||
// mas-cli | ||
// | ||
// Created by Ben Chatelain on 7/8/18. | ||
// Copyright © 2018 mas-cli. All rights reserved. | ||
// | ||
|
||
#import "CKDownloadQueue.h" | ||
@import StoreFoundation; | ||
|
||
@protocol CKDownloadQueueObserver | ||
|
||
- (void)downloadQueue:(CKDownloadQueue *)downloadQueue changedWithAddition:(SSDownload *)download; | ||
- (void)downloadQueue:(CKDownloadQueue *)downloadQueue changedWithRemoval:(SSDownload *)download; | ||
- (void)downloadQueue:(CKDownloadQueue *)downloadQueue statusChangedForDownload:(SSDownload *)download; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// | ||
// Generated by class-dump 3.5 (64 bit). | ||
// | ||
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. | ||
// | ||
|
||
#import "CKServiceInterface.h" | ||
|
||
@class NSArray, NSMutableArray, NSNumber; | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
typedef void (^SSPurchaseCompletion)(SSPurchase * _Nullable purchase, BOOL completed, NSError * _Nullable error, SSPurchaseResponse * _Nullable response); | ||
|
||
@interface CKPurchaseController : CKServiceInterface | ||
{ | ||
NSMutableArray *_purchases; | ||
NSMutableArray *_rejectedPurchases; | ||
NSArray *_adoptionEligibleItems; | ||
NSNumber *_adoptionServerStatus; | ||
NSNumber *_adoptionErrorNumber; | ||
|
||
// CDUnknownBlockType _dialogHandler; | ||
} | ||
|
||
+ (void)setNeedsSilentMachineAuthorization:(BOOL)arg1; | ||
|
||
+ (instancetype)sharedPurchaseController; | ||
|
||
//@property(copy) CDUnknownBlockType dialogHandler; // @synthesize dialogHandler=_dialogHandler; | ||
//- (void).cxx_destruct; | ||
|
||
- (BOOL)adoptionCompletedForBundleID:(id)arg1; | ||
- (void)_performVPPReceiptRenewal; | ||
- (void)checkServerDownloadQueue; | ||
- (id)purchaseInProgressForProductID:(id)arg1; | ||
- (id)purchasesInProgress; | ||
- (void)cancelPurchaseWithProductID:(id)arg1; | ||
- (void)resumeDownloadForPurchasedProductID:(id)arg1; | ||
|
||
//- (void)startPurchases:(id)arg1 shouldStartDownloads:(BOOL)arg2 eventHandler:(CDUnknownBlockType)arg3; | ||
//- (void)startPurchases:(id)arg1 withOptions:(unsigned long long)arg2 completionHandler:(CDUnknownBlockType)arg3; | ||
|
||
- (void)performPurchase:(SSPurchase *)purchase withOptions:(unsigned long long)arg2 completionHandler:(SSPurchaseCompletion _Nullable)completionHandler; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// Generated by class-dump 3.5 (64 bit). | ||
// | ||
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. | ||
// | ||
|
||
#import "ISServiceProxy.h" | ||
|
||
@interface CKServiceInterface : ISServiceProxy | ||
{ | ||
} | ||
|
||
@end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// | ||
// Generated by class-dump 3.5 (64 bit). | ||
// | ||
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. | ||
// | ||
|
||
#import "CKServiceInterface.h" | ||
|
||
@class CKSoftwareMapObserver, NSMutableDictionary; | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface CKSoftwareMap : CKServiceInterface | ||
{ | ||
NSMutableDictionary *_productsObservers; | ||
CKSoftwareMapObserver *_sharedObserver; | ||
} | ||
|
||
+ (instancetype)sharedSoftwareMap; | ||
@property(retain, nonatomic) CKSoftwareMapObserver *sharedObserver; // @synthesize sharedObserver=_sharedObserver; | ||
@property(retain, nonatomic) NSMutableDictionary *productsObservers; // @synthesize productsObservers=_productsObservers; | ||
|
||
//- (void).cxx_destruct; | ||
|
||
// Added 10.14.4 | ||
//- (void)startAdoptionEligibilityCheckWithReplyBlock:(CDUnknownBlockType)arg1; | ||
|
||
// Added 10.14.4 | ||
- (id)adopt:(id)arg1; | ||
- (id)adoptableBundleIdentifiers; | ||
|
||
- (BOOL)adoptionCompletedForBundleID:(id)arg1 adoptingDSID:(out _Nullable id * _Nullable)arg2 appleID:(out _Nullable id * _Nullable)arg3; | ||
|
||
- (id)updateRequestBodyData:(char *)arg1 includeInstalledApps:(BOOL)arg2 includeBundledApps:(BOOL)arg3 conditionally:(BOOL)arg4 hadUnadoptedApps:(out char *)arg5; | ||
- (id)iconForApplicationWithBundeID:(id)arg1; | ||
- (id)bundleInfoFromBundleAtPath:(id)arg1; | ||
- (BOOL)isTrialVersionOfBundleIdentifier:(id)arg1; | ||
- (id)receiptFromBundleAtPath:(id)arg1; | ||
- (id)productForPath:(id)arg1; | ||
|
||
- (NSArray<CKSoftwareProduct *>* __nullable)allProducts; | ||
- (CKSoftwareProduct *)productForItemIdentifier:(unsigned long long)arg1; | ||
- (nullable CKSoftwareProduct *)productForBundleIdentifier:(NSString *)arg1; | ||
|
||
- (void)removeProductsObserverForToken:(id)arg1; | ||
|
||
// - (id)addProductsObserver:(CDUnknownBlockType)arg1 queue:(id)arg2; | ||
|
||
- (void)connectionWasInterrupted; | ||
|
||
- (instancetype)initWithStoreClient:(id)arg1; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// CommerceKit.module | ||
// mas-cli | ||
// | ||
|
||
module CommerceKit { | ||
header "CKAccountStore.h" | ||
header "CKDownloadDirectory.h" | ||
header "CKDownloadQueueObserver.h" | ||
header "CKPurchaseController.h" | ||
header "CKSoftwareMap.h" | ||
|
||
export * | ||
} |
Oops, something went wrong.