Skip to content

Commit

Permalink
Deploy Version 0.1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
taitmbarek committed Sep 21, 2022
1 parent 206395d commit 91ed130
Show file tree
Hide file tree
Showing 20 changed files with 231 additions and 80 deletions.
2 changes: 1 addition & 1 deletion KnotAPI.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "KnotAPI"
s.version = "0.1.17"
s.version = "0.1.18"
s.summary = "Connect to your customers online accounts easily"
s.description = "Change Card on File Information, Cancel Subscriptions, Change Passwords, and more via Knot."
s.homepage = "https://www.knotapi.com/"
Expand Down
14 changes: 7 additions & 7 deletions KnotAPI.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>KnotAPI.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>KnotAPI.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,12 @@ SWIFT_PROTOCOL("_TtP7KnotAPI18CardOnFileDelegate_")
- (void)onFinished;
@end

enum Environment : NSInteger;
@class NSNumber;

SWIFT_CLASS("_TtC7KnotAPI25CardOnFileSwitcherSession")
@interface CardOnFileSwitcherSession : NSObject
- (nonnull instancetype)initWithSessionId:(NSString * _Nonnull)sessionId OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithSessionId:(NSString * _Nonnull)sessionId environment:(enum Environment)environment OBJC_DESIGNATED_INITIALIZER;
- (void)setPrimaryColorWithPrimaryColor:(NSString * _Nonnull)primaryColor;
- (void)setTextColorWithTextColor:(NSString * _Nonnull)textColor;
- (void)setCompanyNameWithCompanyName:(NSString * _Nonnull)companyName;
Expand All @@ -245,7 +246,7 @@ SWIFT_CLASS("_TtC7KnotAPI25CardOnFileSwitcherSession")

SWIFT_CLASS("_TtC7KnotAPI32CardOnFileSwitcherViewController")
@interface CardOnFileSwitcherViewController : UIViewController <WKNavigationDelegate, WKScriptMessageHandler>
- (nonnull instancetype)initWithSessionId:(NSString * _Nonnull)sessionId merchants:(NSArray<NSNumber *> * _Nonnull)merchants primaryColor:(NSString * _Nullable)primaryColor textColor:(NSString * _Nullable)textColor companyName:(NSString * _Nullable)companyName delegate:(id <CardOnFileDelegate> _Nullable)delegate OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithSessionId:(NSString * _Nonnull)sessionId merchants:(NSArray<NSNumber *> * _Nonnull)merchants primaryColor:(NSString * _Nullable)primaryColor textColor:(NSString * _Nullable)textColor companyName:(NSString * _Nullable)companyName environment:(enum Environment)environment delegate:(id <CardOnFileDelegate> _Nullable)delegate OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
- (void)viewDidAppear:(BOOL)animated;
- (void)viewDidLoad;
Expand All @@ -254,6 +255,11 @@ SWIFT_CLASS("_TtC7KnotAPI32CardOnFileSwitcherViewController")
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
@end

typedef SWIFT_ENUM(NSInteger, Environment, open) {
EnvironmentSandbox = 0,
EnvironmentProduction = 1,
};

#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
Expand Down Expand Up @@ -483,11 +489,12 @@ SWIFT_PROTOCOL("_TtP7KnotAPI18CardOnFileDelegate_")
- (void)onFinished;
@end

enum Environment : NSInteger;
@class NSNumber;

SWIFT_CLASS("_TtC7KnotAPI25CardOnFileSwitcherSession")
@interface CardOnFileSwitcherSession : NSObject
- (nonnull instancetype)initWithSessionId:(NSString * _Nonnull)sessionId OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithSessionId:(NSString * _Nonnull)sessionId environment:(enum Environment)environment OBJC_DESIGNATED_INITIALIZER;
- (void)setPrimaryColorWithPrimaryColor:(NSString * _Nonnull)primaryColor;
- (void)setTextColorWithTextColor:(NSString * _Nonnull)textColor;
- (void)setCompanyNameWithCompanyName:(NSString * _Nonnull)companyName;
Expand All @@ -506,7 +513,7 @@ SWIFT_CLASS("_TtC7KnotAPI25CardOnFileSwitcherSession")

SWIFT_CLASS("_TtC7KnotAPI32CardOnFileSwitcherViewController")
@interface CardOnFileSwitcherViewController : UIViewController <WKNavigationDelegate, WKScriptMessageHandler>
- (nonnull instancetype)initWithSessionId:(NSString * _Nonnull)sessionId merchants:(NSArray<NSNumber *> * _Nonnull)merchants primaryColor:(NSString * _Nullable)primaryColor textColor:(NSString * _Nullable)textColor companyName:(NSString * _Nullable)companyName delegate:(id <CardOnFileDelegate> _Nullable)delegate OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithSessionId:(NSString * _Nonnull)sessionId merchants:(NSArray<NSNumber *> * _Nonnull)merchants primaryColor:(NSString * _Nullable)primaryColor textColor:(NSString * _Nullable)textColor companyName:(NSString * _Nullable)companyName environment:(enum Environment)environment delegate:(id <CardOnFileDelegate> _Nullable)delegate OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
- (void)viewDidAppear:(BOOL)animated;
- (void)viewDidLoad;
Expand All @@ -515,6 +522,11 @@ SWIFT_CLASS("_TtC7KnotAPI32CardOnFileSwitcherViewController")
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
@end

typedef SWIFT_ENUM(NSInteger, Environment, open) {
EnvironmentSandbox = 0,
EnvironmentProduction = 1,
};

#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
Expand Down
Binary file modified KnotAPI.xcframework/ios-arm64_armv7/KnotAPI.framework/Info.plist
Binary file not shown.
Binary file modified KnotAPI.xcframework/ios-arm64_armv7/KnotAPI.framework/KnotAPI
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,17 @@ import os
@objc func onExit()
@objc func onFinished()
}
@objc public enum Environment : Swift.Int, Swift.RawRepresentable {
case sandbox
case production
public typealias RawValue = Swift.String
public var rawValue: KnotAPI.Environment.RawValue {
get
}
public init?(rawValue: KnotAPI.Environment.RawValue)
}
@objc public class CardOnFileSwitcherSession : ObjectiveC.NSObject {
@objc public init(sessionId: Swift.String)
@objc public init(sessionId: Swift.String, environment: KnotAPI.Environment)
@objc public func setPrimaryColor(primaryColor: Swift.String)
@objc public func setTextColor(textColor: Swift.String)
@objc public func setCompanyName(companyName: Swift.String)
Expand All @@ -30,7 +39,7 @@ public typealias onEventHandler = (Swift.String, Swift.String) -> Swift.Void
public typealias onExitHandler = () -> Swift.Void
public typealias finishedHandler = () -> Swift.Void
@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class CardOnFileSwitcherViewController : UIKit.UIViewController, WebKit.WKScriptMessageHandler, WebKit.WKNavigationDelegate {
@objc @_Concurrency.MainActor(unsafe) public init(sessionId: Swift.String, merchants: [Swift.Int], primaryColor: Swift.String?, textColor: Swift.String?, companyName: Swift.String?, delegate: KnotAPI.CardOnFileDelegate?)
@objc @_Concurrency.MainActor(unsafe) public init(sessionId: Swift.String, merchants: [Swift.Int], primaryColor: Swift.String?, textColor: Swift.String?, companyName: Swift.String?, environment: KnotAPI.Environment, delegate: KnotAPI.CardOnFileDelegate?)
@_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool)
@_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
@_Concurrency.MainActor(unsafe) @objc public func userContentController(_ userContentController: WebKit.WKUserContentController, didReceive message: WebKit.WKScriptMessage)
Expand All @@ -40,3 +49,5 @@ public typealias finishedHandler = () -> Swift.Void
@_hasMissingDesignatedInitializers public class KnotapiExceptionHandler {
@objc deinit
}
extension KnotAPI.Environment : Swift.Equatable {}
extension KnotAPI.Environment : Swift.Hashable {}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,17 @@ import os
@objc func onExit()
@objc func onFinished()
}
@objc public enum Environment : Swift.Int, Swift.RawRepresentable {
case sandbox
case production
public typealias RawValue = Swift.String
public var rawValue: KnotAPI.Environment.RawValue {
get
}
public init?(rawValue: KnotAPI.Environment.RawValue)
}
@objc public class CardOnFileSwitcherSession : ObjectiveC.NSObject {
@objc public init(sessionId: Swift.String)
@objc public init(sessionId: Swift.String, environment: KnotAPI.Environment)
@objc public func setPrimaryColor(primaryColor: Swift.String)
@objc public func setTextColor(textColor: Swift.String)
@objc public func setCompanyName(companyName: Swift.String)
Expand All @@ -30,7 +39,7 @@ public typealias onEventHandler = (Swift.String, Swift.String) -> Swift.Void
public typealias onExitHandler = () -> Swift.Void
public typealias finishedHandler = () -> Swift.Void
@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class CardOnFileSwitcherViewController : UIKit.UIViewController, WebKit.WKScriptMessageHandler, WebKit.WKNavigationDelegate {
@objc @_Concurrency.MainActor(unsafe) public init(sessionId: Swift.String, merchants: [Swift.Int], primaryColor: Swift.String?, textColor: Swift.String?, companyName: Swift.String?, delegate: KnotAPI.CardOnFileDelegate?)
@objc @_Concurrency.MainActor(unsafe) public init(sessionId: Swift.String, merchants: [Swift.Int], primaryColor: Swift.String?, textColor: Swift.String?, companyName: Swift.String?, environment: KnotAPI.Environment, delegate: KnotAPI.CardOnFileDelegate?)
@_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool)
@_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
@_Concurrency.MainActor(unsafe) @objc public func userContentController(_ userContentController: WebKit.WKUserContentController, didReceive message: WebKit.WKScriptMessage)
Expand All @@ -40,3 +49,5 @@ public typealias finishedHandler = () -> Swift.Void
@_hasMissingDesignatedInitializers public class KnotapiExceptionHandler {
@objc deinit
}
extension KnotAPI.Environment : Swift.Equatable {}
extension KnotAPI.Environment : Swift.Hashable {}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,17 @@ import os
@objc func onExit()
@objc func onFinished()
}
@objc public enum Environment : Swift.Int, Swift.RawRepresentable {
case sandbox
case production
public typealias RawValue = Swift.String
public var rawValue: KnotAPI.Environment.RawValue {
get
}
public init?(rawValue: KnotAPI.Environment.RawValue)
}
@objc public class CardOnFileSwitcherSession : ObjectiveC.NSObject {
@objc public init(sessionId: Swift.String)
@objc public init(sessionId: Swift.String, environment: KnotAPI.Environment)
@objc public func setPrimaryColor(primaryColor: Swift.String)
@objc public func setTextColor(textColor: Swift.String)
@objc public func setCompanyName(companyName: Swift.String)
Expand All @@ -30,7 +39,7 @@ public typealias onEventHandler = (Swift.String, Swift.String) -> Swift.Void
public typealias onExitHandler = () -> Swift.Void
public typealias finishedHandler = () -> Swift.Void
@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class CardOnFileSwitcherViewController : UIKit.UIViewController, WebKit.WKScriptMessageHandler, WebKit.WKNavigationDelegate {
@objc @_Concurrency.MainActor(unsafe) public init(sessionId: Swift.String, merchants: [Swift.Int], primaryColor: Swift.String?, textColor: Swift.String?, companyName: Swift.String?, delegate: KnotAPI.CardOnFileDelegate?)
@objc @_Concurrency.MainActor(unsafe) public init(sessionId: Swift.String, merchants: [Swift.Int], primaryColor: Swift.String?, textColor: Swift.String?, companyName: Swift.String?, environment: KnotAPI.Environment, delegate: KnotAPI.CardOnFileDelegate?)
@_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool)
@_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
@_Concurrency.MainActor(unsafe) @objc public func userContentController(_ userContentController: WebKit.WKUserContentController, didReceive message: WebKit.WKScriptMessage)
Expand All @@ -40,3 +49,5 @@ public typealias finishedHandler = () -> Swift.Void
@_hasMissingDesignatedInitializers public class KnotapiExceptionHandler {
@objc deinit
}
extension KnotAPI.Environment : Swift.Equatable {}
extension KnotAPI.Environment : Swift.Hashable {}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,17 @@ import os
@objc func onExit()
@objc func onFinished()
}
@objc public enum Environment : Swift.Int, Swift.RawRepresentable {
case sandbox
case production
public typealias RawValue = Swift.String
public var rawValue: KnotAPI.Environment.RawValue {
get
}
public init?(rawValue: KnotAPI.Environment.RawValue)
}
@objc public class CardOnFileSwitcherSession : ObjectiveC.NSObject {
@objc public init(sessionId: Swift.String)
@objc public init(sessionId: Swift.String, environment: KnotAPI.Environment)
@objc public func setPrimaryColor(primaryColor: Swift.String)
@objc public func setTextColor(textColor: Swift.String)
@objc public func setCompanyName(companyName: Swift.String)
Expand All @@ -30,7 +39,7 @@ public typealias onEventHandler = (Swift.String, Swift.String) -> Swift.Void
public typealias onExitHandler = () -> Swift.Void
public typealias finishedHandler = () -> Swift.Void
@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class CardOnFileSwitcherViewController : UIKit.UIViewController, WebKit.WKScriptMessageHandler, WebKit.WKNavigationDelegate {
@objc @_Concurrency.MainActor(unsafe) public init(sessionId: Swift.String, merchants: [Swift.Int], primaryColor: Swift.String?, textColor: Swift.String?, companyName: Swift.String?, delegate: KnotAPI.CardOnFileDelegate?)
@objc @_Concurrency.MainActor(unsafe) public init(sessionId: Swift.String, merchants: [Swift.Int], primaryColor: Swift.String?, textColor: Swift.String?, companyName: Swift.String?, environment: KnotAPI.Environment, delegate: KnotAPI.CardOnFileDelegate?)
@_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool)
@_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
@_Concurrency.MainActor(unsafe) @objc public func userContentController(_ userContentController: WebKit.WKUserContentController, didReceive message: WebKit.WKScriptMessage)
Expand All @@ -40,3 +49,5 @@ public typealias finishedHandler = () -> Swift.Void
@_hasMissingDesignatedInitializers public class KnotapiExceptionHandler {
@objc deinit
}
extension KnotAPI.Environment : Swift.Equatable {}
extension KnotAPI.Environment : Swift.Hashable {}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,17 @@ import os
@objc func onExit()
@objc func onFinished()
}
@objc public enum Environment : Swift.Int, Swift.RawRepresentable {
case sandbox
case production
public typealias RawValue = Swift.String
public var rawValue: KnotAPI.Environment.RawValue {
get
}
public init?(rawValue: KnotAPI.Environment.RawValue)
}
@objc public class CardOnFileSwitcherSession : ObjectiveC.NSObject {
@objc public init(sessionId: Swift.String)
@objc public init(sessionId: Swift.String, environment: KnotAPI.Environment)
@objc public func setPrimaryColor(primaryColor: Swift.String)
@objc public func setTextColor(textColor: Swift.String)
@objc public func setCompanyName(companyName: Swift.String)
Expand All @@ -30,7 +39,7 @@ public typealias onEventHandler = (Swift.String, Swift.String) -> Swift.Void
public typealias onExitHandler = () -> Swift.Void
public typealias finishedHandler = () -> Swift.Void
@objc @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class CardOnFileSwitcherViewController : UIKit.UIViewController, WebKit.WKScriptMessageHandler, WebKit.WKNavigationDelegate {
@objc @_Concurrency.MainActor(unsafe) public init(sessionId: Swift.String, merchants: [Swift.Int], primaryColor: Swift.String?, textColor: Swift.String?, companyName: Swift.String?, delegate: KnotAPI.CardOnFileDelegate?)
@objc @_Concurrency.MainActor(unsafe) public init(sessionId: Swift.String, merchants: [Swift.Int], primaryColor: Swift.String?, textColor: Swift.String?, companyName: Swift.String?, environment: KnotAPI.Environment, delegate: KnotAPI.CardOnFileDelegate?)
@_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool)
@_Concurrency.MainActor(unsafe) @objc override dynamic public func viewDidLoad()
@_Concurrency.MainActor(unsafe) @objc public func userContentController(_ userContentController: WebKit.WKUserContentController, didReceive message: WebKit.WKScriptMessage)
Expand All @@ -40,3 +49,5 @@ public typealias finishedHandler = () -> Swift.Void
@_hasMissingDesignatedInitializers public class KnotapiExceptionHandler {
@objc deinit
}
extension KnotAPI.Environment : Swift.Equatable {}
extension KnotAPI.Environment : Swift.Hashable {}
Loading

0 comments on commit 91ed130

Please sign in to comment.