diff --git a/FlyBuy.xcframework/Info.plist b/FlyBuy.xcframework/Info.plist index 7467b5c..132059a 100644 --- a/FlyBuy.xcframework/Info.plist +++ b/FlyBuy.xcframework/Info.plist @@ -18,11 +18,12 @@ LibraryIdentifier - ios-x86_64-simulator + ios-arm64_x86_64-simulator LibraryPath FlyBuy.framework SupportedArchitectures + arm64 x86_64 SupportedPlatform diff --git a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/FlyBuy b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/FlyBuy index 0b41fe3..35b0c70 100644 Binary files a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/FlyBuy and b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/FlyBuy differ diff --git a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Headers/FlyBuy-Swift.h b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Headers/FlyBuy-Swift.h index 138dd46..1367753 100644 --- a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Headers/FlyBuy-Swift.h +++ b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Headers/FlyBuy-Swift.h @@ -1,4 +1,6 @@ -// Generated by Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +#ifndef FLYBUY_SWIFT_H +#define FLYBUY_SWIFT_H #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wgcc-compat" @@ -217,7 +219,6 @@ SWIFT_CLASS_NAMED("BeaconList") @end - @class FlyBuyCustomerInfo; SWIFT_CLASS_NAMED("ClaimOrderInfo") @@ -273,7 +274,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyLogger @end - @class FlyBuyPickupWindow; SWIFT_CLASS_NAMED("CreateOrderInfo") @@ -401,34 +401,28 @@ SWIFT_CLASS_NAMED("CustomerManager") @end -SWIFT_CLASS("_TtC6FlyBuy11FlyBuyError") -@interface FlyBuyError : NSObject +SWIFT_CLASS_NAMED("CustomerManagerError") +@interface FlyBuyCustomerManagerError : NSObject - (nonnull instancetype)init SWIFT_UNAVAILABLE; + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end -SWIFT_CLASS_NAMED("CustomerManagerError") -@interface FlyBuyCustomerManagerError : FlyBuyError -@end +enum FlyBuyAPIErrorType : NSInteger; - - - -SWIFT_CLASS("_TtC6FlyBuy14FlyBuyAPIError") -@interface FlyBuyAPIError : FlyBuyError -@end - - - -SWIFT_CLASS("_TtC6FlyBuy26FlyBuyErrorInvalidResponse") -@interface FlyBuyErrorInvalidResponse : FlyBuyError +SWIFT_CLASS_NAMED("FlyBuyAPIError") +@interface FlyBuyAPIError : NSObject +@property (nonatomic, readonly) enum FlyBuyAPIErrorType type; +@property (nonatomic, readonly) NSInteger statusCodeInt; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end - -SWIFT_CLASS("_TtC6FlyBuy21FlyBuyErrorInvalidURL") -@interface FlyBuyErrorInvalidURL : FlyBuyError -@end +typedef SWIFT_ENUM(NSInteger, FlyBuyAPIErrorType, open) { + FlyBuyAPIErrorTypeInvalidResponse = 0, + FlyBuyAPIErrorTypeResponseError = 1, +}; SWIFT_CLASS_NAMED("Geofence") @@ -439,7 +433,6 @@ SWIFT_CLASS_NAMED("Geofence") @end - typedef SWIFT_ENUM(NSInteger, LocationAuthStatus, open) { LocationAuthStatusNotDetermined = 0, LocationAuthStatusRestricted = 1, @@ -467,8 +460,6 @@ SWIFT_CLASS_NAMED("Logger") - - SWIFT_CLASS_NAMED("LoginInfo") @interface FlyBuyLoginInfo : NSObject @property (nonatomic, readonly, copy) NSString * _Nonnull emailAddress; @@ -538,9 +529,6 @@ SWIFT_CLASS_NAMED("Order") - - - SWIFT_CLASS_NAMED("OrderEvent") @interface FlyBuyOrderEvent : NSObject - (nonnull instancetype)initWithOrderID:(NSInteger)orderID customerState:(NSString * _Nonnull)customerState etaSeconds:(NSNumber * _Nullable)etaSeconds OBJC_DESIGNATED_INITIALIZER; @@ -650,10 +638,10 @@ SWIFT_CLASS_NAMED("OrdersManager") - - SWIFT_CLASS_NAMED("OrdersManagerError") -@interface FlyBuyOrdersManagerError : FlyBuyError +@interface FlyBuyOrdersManagerError : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end @@ -777,6 +765,12 @@ SWIFT_CLASS_NAMED("SitesManager") +SWIFT_CLASS_NAMED("SitesManagerError") +@interface FlyBuySitesManagerError : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + SWIFT_CLASS_NAMED("UpdateOrderInfo") @interface FlyBuyUpdateOrderInfo : NSObject @@ -787,9 +781,8 @@ SWIFT_CLASS_NAMED("UpdateOrderInfo") - - #if __has_attribute(external_source_symbol) # pragma clang attribute pop #endif #pragma clang diagnostic pop +#endif diff --git a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Info.plist b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Info.plist index 5187910..aef133d 100644 Binary files a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Info.plist and b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Info.plist differ diff --git a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios.swiftdoc b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios.swiftdoc index f0f2fbb..8e6630c 100644 Binary files a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios.swiftdoc and b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios.swiftinterface b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios.swiftinterface index 52d41ab..e02449d 100644 --- a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios.swiftinterface +++ b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) // swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuy import CoreLocation @_exported import FlyBuy @@ -58,11 +58,11 @@ extension PickupLocationFilterData { open func encode(to encoder: Swift.Encoder) throws } public struct BeaconIdentifiers : Swift.Hashable, Swift.Codable { + public init(from decoder: Swift.Decoder) throws public var hashValue: Swift.Int { get } public func hash(into hasher: inout Swift.Hasher) - public init(from decoder: Swift.Decoder) throws public func encode(to encoder: Swift.Encoder) throws public static func == (a: FlyBuy.BeaconIdentifiers, b: FlyBuy.BeaconIdentifiers) -> Swift.Bool } @@ -72,7 +72,7 @@ extension Beacon : Swift.Encodable { public func encode(to encoder: Swift.Encoder) throws } @_inheritsConvenienceInitializers @objc(FlyBuyBeaconList) public class BeaconList : ObjectiveC.NSObject { - public var beacons: Swift.Dictionary + public var beacons: [FlyBuy.BeaconIdentifiers : FlyBuy.Beacon] public func addScan(identifiers ids: FlyBuy.BeaconIdentifiers, rssi: Swift.Int, distance: Swift.Float) public func addScan(_ beacon: CoreLocation.CLBeacon) public func addScans(_ scannedBeacons: [CoreLocation.CLBeacon]) @@ -178,32 +178,32 @@ open class EncodableRequest where EncodableObject : Swift.Encod @objc deinit @objc override dynamic public init() } -@objc open class FlyBuyError : ObjectiveC.NSObject, Foundation.LocalizedError { - public var errorDescription: Swift.String? { +public protocol FlyBuyError : Foundation.LocalizedError { + var description: Swift.String { get } + var errorDescription: Swift.String? { get } +} +@objc public enum FlyBuyAPIErrorType : Swift.Int { + case invalidResponse + case responseError + public var description: Swift.String { + get + } + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { get } - final public let title: Swift.String - public init(_ description: Swift.String?, context: Any? = nil) - convenience public init(_ error: Swift.Error?, context: Any? = nil) - @objc override dynamic public init() - @objc deinit -} -@_hasMissingDesignatedInitializers @objc public class FlyBuyErrorInvalidURL : FlyBuy.FlyBuyError { - @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) -} -@_hasMissingDesignatedInitializers @objc public class FlyBuyErrorInvalidResponse : FlyBuy.FlyBuyError { - @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) } -@_hasMissingDesignatedInitializers @objc public class FlyBuyAPIError : FlyBuy.FlyBuyError { +@_hasMissingDesignatedInitializers @objc(FlyBuyAPIError) public class FlyBuyAPIError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc final public let type: FlyBuy.FlyBuyAPIErrorType + @objc final public let statusCodeInt: Swift.Int final public let statusCode: FlyBuy.HTTPStatusCode? - public var errors: [Swift.String : [Swift.String]]? { - get + public var errorDescription: Swift.String? + @objc override dynamic public var description: Swift.String { + @objc get } - final public let appUpgradeURL: Foundation.URL? @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) + @objc override dynamic public init() } @objc(FlyBuyClaimOrderInfo) open class ClaimOrderInfo : ObjectiveC.NSObject, Swift.Codable { @objc public init(customerCarColor: Swift.String?, customerCarType: Swift.String?, customerLicensePlate: Swift.String?, customerName: Swift.String?, customerPhone: Swift.String?, pushToken: Swift.String) @@ -248,6 +248,7 @@ public struct BeaconRegion : Swift.Codable, Swift.Hashable { } public protocol FlyBuyModuleManager { func configUpdated(_ config: FlyBuy.AppConfig) + func set(logLevel: FlyBuy.LogLevel) } @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FlyBuyCore) public class Core : ObjectiveC.NSObject { @objc public static let orders: FlyBuy.OrdersManager @@ -393,6 +394,10 @@ public enum HTTPStatusCode : Swift.Int, Swift.Error { @objc override dynamic public init() @objc deinit } +@_hasMissingDesignatedInitializers @objc(FlyBuySitesManagerError) public class SitesManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc deinit + @objc override dynamic public init() +} extension Optional where Wrapped == Swift.String { public var presence: Swift.String? { get @@ -453,9 +458,10 @@ extension NSNotification.Name { public static let orderUpdated: Foundation.Notification.Name public static let orderEventError: Foundation.Notification.Name } -@_hasMissingDesignatedInitializers @objc(FlyBuyOrdersManagerError) public class OrdersManagerError : FlyBuy.FlyBuyError { +@_hasMissingDesignatedInitializers @objc(FlyBuyOrdersManagerError) public class OrdersManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + public var errorDescription: Swift.String? @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) + @objc override dynamic public init() } @_inheritsConvenienceInitializers @objc(FlyBuyCustomerManager) public class CustomerManager : ObjectiveC.NSObject { @objc public var current: FlyBuy.Customer? { @@ -473,8 +479,9 @@ extension NSNotification.Name { @objc override dynamic public init() @objc deinit } -@_hasMissingDesignatedInitializers @objc(FlyBuyCustomerManagerError) public class CustomerManagerError : FlyBuy.FlyBuyError { - override public init(_ description: Swift.String?, context: Any? = super) +@_hasMissingDesignatedInitializers @objc(FlyBuyCustomerManagerError) public class CustomerManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + public var errorDescription: Swift.String? + @objc override dynamic public init() @objc deinit } @objc public enum LogLevel : Swift.Int { @@ -490,8 +497,9 @@ extension NSNotification.Name { get } } -@_hasMissingDesignatedInitializers @objc(FlyBuyLogger) final public class Logger : ObjectiveC.NSObject { +@objc(FlyBuyLogger) final public class Logger : ObjectiveC.NSObject { final public var logLevel: FlyBuy.LogLevel + public init(name: Swift.String = "FlyBuySDK") final public func verbose(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) final public func debug(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) final public func info(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) @@ -585,6 +593,9 @@ extension Order { extension FlyBuy.LocationAuthStatus : Swift.Equatable {} extension FlyBuy.LocationAuthStatus : Swift.Hashable {} extension FlyBuy.LocationAuthStatus : Swift.RawRepresentable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.Equatable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.Hashable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.RawRepresentable {} extension FlyBuy.HTTPStatusCode : Swift.Equatable {} extension FlyBuy.HTTPStatusCode : Swift.Hashable {} extension FlyBuy.HTTPStatusCode : Swift.RawRepresentable {} diff --git a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64.swiftdoc b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64.swiftdoc index f0f2fbb..8e6630c 100644 Binary files a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64.swiftdoc and b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64.swiftdoc differ diff --git a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64.swiftinterface b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64.swiftinterface index 52d41ab..e02449d 100644 --- a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64.swiftinterface +++ b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) // swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuy import CoreLocation @_exported import FlyBuy @@ -58,11 +58,11 @@ extension PickupLocationFilterData { open func encode(to encoder: Swift.Encoder) throws } public struct BeaconIdentifiers : Swift.Hashable, Swift.Codable { + public init(from decoder: Swift.Decoder) throws public var hashValue: Swift.Int { get } public func hash(into hasher: inout Swift.Hasher) - public init(from decoder: Swift.Decoder) throws public func encode(to encoder: Swift.Encoder) throws public static func == (a: FlyBuy.BeaconIdentifiers, b: FlyBuy.BeaconIdentifiers) -> Swift.Bool } @@ -72,7 +72,7 @@ extension Beacon : Swift.Encodable { public func encode(to encoder: Swift.Encoder) throws } @_inheritsConvenienceInitializers @objc(FlyBuyBeaconList) public class BeaconList : ObjectiveC.NSObject { - public var beacons: Swift.Dictionary + public var beacons: [FlyBuy.BeaconIdentifiers : FlyBuy.Beacon] public func addScan(identifiers ids: FlyBuy.BeaconIdentifiers, rssi: Swift.Int, distance: Swift.Float) public func addScan(_ beacon: CoreLocation.CLBeacon) public func addScans(_ scannedBeacons: [CoreLocation.CLBeacon]) @@ -178,32 +178,32 @@ open class EncodableRequest where EncodableObject : Swift.Encod @objc deinit @objc override dynamic public init() } -@objc open class FlyBuyError : ObjectiveC.NSObject, Foundation.LocalizedError { - public var errorDescription: Swift.String? { +public protocol FlyBuyError : Foundation.LocalizedError { + var description: Swift.String { get } + var errorDescription: Swift.String? { get } +} +@objc public enum FlyBuyAPIErrorType : Swift.Int { + case invalidResponse + case responseError + public var description: Swift.String { + get + } + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { get } - final public let title: Swift.String - public init(_ description: Swift.String?, context: Any? = nil) - convenience public init(_ error: Swift.Error?, context: Any? = nil) - @objc override dynamic public init() - @objc deinit -} -@_hasMissingDesignatedInitializers @objc public class FlyBuyErrorInvalidURL : FlyBuy.FlyBuyError { - @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) -} -@_hasMissingDesignatedInitializers @objc public class FlyBuyErrorInvalidResponse : FlyBuy.FlyBuyError { - @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) } -@_hasMissingDesignatedInitializers @objc public class FlyBuyAPIError : FlyBuy.FlyBuyError { +@_hasMissingDesignatedInitializers @objc(FlyBuyAPIError) public class FlyBuyAPIError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc final public let type: FlyBuy.FlyBuyAPIErrorType + @objc final public let statusCodeInt: Swift.Int final public let statusCode: FlyBuy.HTTPStatusCode? - public var errors: [Swift.String : [Swift.String]]? { - get + public var errorDescription: Swift.String? + @objc override dynamic public var description: Swift.String { + @objc get } - final public let appUpgradeURL: Foundation.URL? @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) + @objc override dynamic public init() } @objc(FlyBuyClaimOrderInfo) open class ClaimOrderInfo : ObjectiveC.NSObject, Swift.Codable { @objc public init(customerCarColor: Swift.String?, customerCarType: Swift.String?, customerLicensePlate: Swift.String?, customerName: Swift.String?, customerPhone: Swift.String?, pushToken: Swift.String) @@ -248,6 +248,7 @@ public struct BeaconRegion : Swift.Codable, Swift.Hashable { } public protocol FlyBuyModuleManager { func configUpdated(_ config: FlyBuy.AppConfig) + func set(logLevel: FlyBuy.LogLevel) } @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FlyBuyCore) public class Core : ObjectiveC.NSObject { @objc public static let orders: FlyBuy.OrdersManager @@ -393,6 +394,10 @@ public enum HTTPStatusCode : Swift.Int, Swift.Error { @objc override dynamic public init() @objc deinit } +@_hasMissingDesignatedInitializers @objc(FlyBuySitesManagerError) public class SitesManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc deinit + @objc override dynamic public init() +} extension Optional where Wrapped == Swift.String { public var presence: Swift.String? { get @@ -453,9 +458,10 @@ extension NSNotification.Name { public static let orderUpdated: Foundation.Notification.Name public static let orderEventError: Foundation.Notification.Name } -@_hasMissingDesignatedInitializers @objc(FlyBuyOrdersManagerError) public class OrdersManagerError : FlyBuy.FlyBuyError { +@_hasMissingDesignatedInitializers @objc(FlyBuyOrdersManagerError) public class OrdersManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + public var errorDescription: Swift.String? @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) + @objc override dynamic public init() } @_inheritsConvenienceInitializers @objc(FlyBuyCustomerManager) public class CustomerManager : ObjectiveC.NSObject { @objc public var current: FlyBuy.Customer? { @@ -473,8 +479,9 @@ extension NSNotification.Name { @objc override dynamic public init() @objc deinit } -@_hasMissingDesignatedInitializers @objc(FlyBuyCustomerManagerError) public class CustomerManagerError : FlyBuy.FlyBuyError { - override public init(_ description: Swift.String?, context: Any? = super) +@_hasMissingDesignatedInitializers @objc(FlyBuyCustomerManagerError) public class CustomerManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + public var errorDescription: Swift.String? + @objc override dynamic public init() @objc deinit } @objc public enum LogLevel : Swift.Int { @@ -490,8 +497,9 @@ extension NSNotification.Name { get } } -@_hasMissingDesignatedInitializers @objc(FlyBuyLogger) final public class Logger : ObjectiveC.NSObject { +@objc(FlyBuyLogger) final public class Logger : ObjectiveC.NSObject { final public var logLevel: FlyBuy.LogLevel + public init(name: Swift.String = "FlyBuySDK") final public func verbose(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) final public func debug(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) final public func info(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) @@ -585,6 +593,9 @@ extension Order { extension FlyBuy.LocationAuthStatus : Swift.Equatable {} extension FlyBuy.LocationAuthStatus : Swift.Hashable {} extension FlyBuy.LocationAuthStatus : Swift.RawRepresentable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.Equatable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.Hashable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.RawRepresentable {} extension FlyBuy.HTTPStatusCode : Swift.Equatable {} extension FlyBuy.HTTPStatusCode : Swift.Hashable {} extension FlyBuy.HTTPStatusCode : Swift.RawRepresentable {} diff --git a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/FlyBuy b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/FlyBuy new file mode 100644 index 0000000..e12c88f Binary files /dev/null and b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/FlyBuy differ diff --git a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Headers/FlyBuy-Swift.h b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Headers/FlyBuy-Swift.h new file mode 100644 index 0000000..05fc124 --- /dev/null +++ b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Headers/FlyBuy-Swift.h @@ -0,0 +1,1582 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +#ifndef FLYBUY_SWIFT_H +#define FLYBUY_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FlyBuy",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +SWIFT_CLASS("_TtC6FlyBuy10AppUpgrade") +@interface AppUpgrade : NSObject +@end + + +SWIFT_CLASS_NAMED("BeaconList") +@interface FlyBuyBeaconList : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@class FlyBuyCustomerInfo; + +SWIFT_CLASS_NAMED("ClaimOrderInfo") +@interface FlyBuyClaimOrderInfo : NSObject +- (nonnull instancetype)initWithCustomerCarColor:(NSString * _Nullable)customerCarColor customerCarType:(NSString * _Nullable)customerCarType customerLicensePlate:(NSString * _Nullable)customerLicensePlate customerName:(NSString * _Nullable)customerName customerPhone:(NSString * _Nullable)customerPhone pushToken:(NSString * _Nonnull)pushToken OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithCustomerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pushToken:(NSString * _Nonnull)pushToken pickupType:(NSString * _Nullable)pickupType OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("ConfigurationManager") +@interface FlyBuyConfigurationManager : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class FlyBuyOrdersManager; +@class FlyBuyCustomerManager; +@class FlyBuySitesManager; +@class FlyBuyLogger; + +SWIFT_CLASS_NAMED("Core") +@interface FlyBuyCore : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyOrdersManager * _Nonnull orders;) ++ (FlyBuyOrdersManager * _Nonnull)orders SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyCustomerManager * _Nonnull customer;) ++ (FlyBuyCustomerManager * _Nonnull)customer SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuySitesManager * _Nonnull sites;) ++ (FlyBuySitesManager * _Nonnull)sites SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyConfigurationManager * _Nonnull config;) ++ (FlyBuyConfigurationManager * _Nonnull)config SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyLogger * _Nonnull logger;) ++ (FlyBuyLogger * _Nonnull)logger SWIFT_WARN_UNUSED_RESULT; +/// Configures FlyBuy with the given options +/// Example: +/// \code +/// FlyBuy.configure(["token": "TOKEN_HERE"]) +/// +/// \endcode ++ (void)configure:(NSDictionary * _Nonnull)opts; +/// handles a remote notification which may contain FlyBuy order data +/// \param data contains the userInfo data from a remote notification +/// ++ (void)handleRemoteNotification:(NSDictionary * _Nonnull)data; +/// Updates the push token that FlyBuy uses to send push messages to the app. ++ (void)updatePushToken:(NSString * _Nonnull)newPushToken; +/// Updates the APNs device token that FlyBuy uses to send pushes to the app. This should only be used +/// when FlyBuy is configured to send pushes through APNs directly. If using a 3rd party service such as +/// Airship, OneSignal, etc, the correct method to call is updatePushToken. ++ (void)updateAPNPushToken:(NSData * _Nonnull)deviceToken; +@end + + +@class FlyBuyPickupWindow; + +SWIFT_CLASS_NAMED("CreateOrderInfo") +@interface FlyBuyCreateOrderInfo : NSObject +- (nonnull instancetype)initWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerCarColor:(NSString * _Nullable)customerCarColor customerCarType:(NSString * _Nullable)customerCarType customerLicensePlate:(NSString * _Nullable)customerLicensePlate customerName:(NSString * _Nullable)customerName customerPhone:(NSString * _Nullable)customerPhone pushToken:(NSString * _Nullable)pushToken state:(NSString * _Nullable)state pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerCarColor:(NSString * _Nullable)customerCarColor customerCarType:(NSString * _Nullable)customerCarType customerLicensePlate:(NSString * _Nullable)customerLicensePlate customerName:(NSString * _Nullable)customerName customerPhone:(NSString * _Nullable)customerPhone pushToken:(NSString * _Nullable)pushToken pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("Customer") +@interface FlyBuyCustomer : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull token; +@property (nonatomic, readonly, copy) NSString * _Nullable emailAddress; +@property (nonatomic, readonly, strong) FlyBuyCustomerInfo * _Nonnull info; +@property (nonatomic, readonly) BOOL registered; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("CustomerConsent") +@interface FlyBuyCustomerConsent : NSObject +@property (nonatomic, readonly) BOOL termsOfService; +@property (nonatomic, readonly) BOOL ageVerification; +- (nonnull instancetype)initWithTermsOfService:(BOOL)termsOfService ageVerification:(BOOL)ageVerification OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("CustomerInfo") +@interface FlyBuyCustomerInfo : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +@property (nonatomic, readonly, copy) NSString * _Nullable carType; +@property (nonatomic, readonly, copy) NSString * _Nullable carColor; +@property (nonatomic, readonly, copy) NSString * _Nullable licensePlate; +@property (nonatomic, readonly, copy) NSString * _Nullable phone; +- (nonnull instancetype)initWithName:(NSString * _Nonnull)name carType:(NSString * _Nullable)carType carColor:(NSString * _Nullable)carColor licensePlate:(NSString * _Nullable)licensePlate phone:(NSString * _Nullable)phone OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Allows managing the customer: creating, storing, updating, signing-out +/// Example: +/// \code +/// // get the current FlyBuy customer +/// Core.customer.current +/// +/// \endcode +SWIFT_CLASS_NAMED("CustomerManager") +@interface FlyBuyCustomerManager : NSObject +@property (nonatomic, readonly, strong) FlyBuyCustomer * _Nullable current; +/// create a FlyBuy customer +/// \param customerInfo contains the customer details +/// +/// \param termsOfService user has accepted the terms of service +/// +/// \param ageVerification user is of age to provide consent +/// +/// \param callback Called with the new Customer or any error encountered. Optional. +/// +- (void)create:(FlyBuyCustomerInfo * _Nonnull)customerInfo termsOfService:(BOOL)termsOfService ageVerification:(BOOL)ageVerification callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; +/// create a FlyBuy customer +/// \param customerInfo contains the customer details +/// +/// \param email email provided by the user +/// +/// \param password password provided by the user +/// +/// \param customerConsent contains the values of ‘termsOfService’ and ‘ageVerification’ +/// +/// \param callback Called with the new Customer or any error encountered. Optional. +/// +- (void)create:(FlyBuyCustomerInfo * _Nonnull)customerInfo email:(NSString * _Nonnull)email password:(NSString * _Nonnull)password customerConsent:(FlyBuyCustomerConsent * _Nonnull)customerConsent callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; +/// update a FlyBuy customer +/// \param customerInfo contains the customer details +/// +/// \param callback Called with the updated Customer or any error encountered. Optional. +/// +- (void)update:(FlyBuyCustomerInfo * _Nonnull)customerInfo callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; +/// Login as a FlyBuy customer +/// \param emailAddress the account email +/// +/// \param password the account password +/// +/// \param callback Called with the Customer or any error encountered. Optional. +/// +- (void)loginWithEmailAddress:(NSString * _Nonnull)emailAddress password:(NSString * _Nonnull)password callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; +/// Login as a FlyBuy customer with a token +/// \param token the account token +/// +/// \param callback Called with the Customer or any error encountered. Optional. +/// +- (void)loginWithTokenWithToken:(NSString * _Nonnull)token callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; +/// Convert the current customer (an anonymous account) to a registered account +/// \param emailAddress the account email +/// +/// \param password the account password +/// +/// \param callback Called with the Customer or any error encountered. Optional. +/// +- (void)signUpWithEmailAddress:(NSString * _Nonnull)emailAddress password:(NSString * _Nonnull)password callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; +/// Request password reset for an email address +/// \param emailAddress the account email +/// +/// \param callback Called with any error encountered. Optional. +/// +- (void)requestNewPasswordWithEmailAddress:(NSString * _Nonnull)emailAddress callback:(void (^ _Nullable)(NSError * _Nullable))callback; +/// Perform password change for an email address +/// \param resetPasswordToken the token for the new password +/// +/// \param password the account password +/// +/// \param confirmation the account password confirmation +/// +/// \param callback Called with the Customer or any error encountered. Optional. +/// +- (void)setNewPasswordWithResetPasswordToken:(NSString * _Nonnull)resetPasswordToken password:(NSString * _Nonnull)password confirmation:(NSString * _Nonnull)confirmation callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; +/// Signs out the FlyBuy user +- (void)logout; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS_NAMED("CustomerManagerError") +@interface FlyBuyCustomerManagerError : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +enum FlyBuyAPIErrorType : NSInteger; + +SWIFT_CLASS_NAMED("FlyBuyAPIError") +@interface FlyBuyAPIError : NSObject +@property (nonatomic, readonly) enum FlyBuyAPIErrorType type; +@property (nonatomic, readonly) NSInteger statusCodeInt; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +typedef SWIFT_ENUM(NSInteger, FlyBuyAPIErrorType, open) { + FlyBuyAPIErrorTypeInvalidResponse = 0, + FlyBuyAPIErrorTypeResponseError = 1, +}; + + +SWIFT_CLASS_NAMED("Geofence") +@interface FlyBuyGeofence : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull latitude; +@property (nonatomic, readonly, copy) NSString * _Nonnull longitude; +@property (nonatomic, readonly) double radiusMeters; +@end + + +typedef SWIFT_ENUM(NSInteger, LocationAuthStatus, open) { + LocationAuthStatusNotDetermined = 0, + LocationAuthStatusRestricted = 1, + LocationAuthStatusDenied = 2, + LocationAuthStatusAuthorizedAlways = 3, + LocationAuthStatusAuthorizedWhenInUse = 4, +}; + +typedef SWIFT_ENUM(NSInteger, LogLevel, open) { + LogLevelVerbose = 0, + LogLevelDebug = 1, + LogLevelInfo = 2, + LogLevelWarning = 3, + LogLevelError = 4, + LogLevelNone = 5, +}; + + +SWIFT_CLASS_NAMED("Logger") +@interface FlyBuyLogger : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + + +SWIFT_CLASS_NAMED("LoginInfo") +@interface FlyBuyLoginInfo : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull emailAddress; +@property (nonatomic, readonly, copy) NSString * _Nonnull password; +- (nonnull instancetype)initWithEmailAddress:(NSString * _Nonnull)emailAddress password:(NSString * _Nonnull)password OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class CLLocation; +@class NSNumber; + +SWIFT_CLASS_NAMED("Order") +@interface FlyBuyOrder : NSObject +@property (nonatomic, readonly) NSInteger id; +@property (nonatomic, readonly) NSInteger siteID; +@property (nonatomic, copy) NSString * _Nonnull state; +@property (nonatomic, copy) NSString * _Nonnull customerState; +@property (nonatomic, readonly, copy) NSString * _Nullable partnerIdentifier; +@property (nonatomic, readonly, copy) NSString * _Nullable redemptionCode; +@property (nonatomic, readonly, copy) NSDate * _Nullable redeemedAt; +@property (nonatomic, readonly, copy) NSString * _Nullable displayName; +@property (nonatomic, readonly, strong) FlyBuyPickupWindow * _Nullable pickupWindow; +@property (nonatomic, copy) NSString * _Nullable pickupType; +@property (nonatomic, copy) NSDate * _Nullable etaAt; +@property (nonatomic, copy) NSDate * _Nullable completedAt; +@property (nonatomic, copy) NSDate * _Nullable createdAt; +@property (nonatomic, copy) NSDate * _Nullable updatedAt; +@property (nonatomic, copy) NSString * _Nullable customerRating; +@property (nonatomic, copy) NSString * _Nullable customerComment; +@property (nonatomic, readonly, copy) NSString * _Nullable siteName; +@property (nonatomic, readonly, copy) NSString * _Nullable sitePhone; +@property (nonatomic, readonly, copy) NSString * _Nullable siteStreetAddress; +@property (nonatomic, readonly, copy) NSString * _Nullable siteFullAddress; +@property (nonatomic, readonly, copy) NSString * _Nullable siteLocality; +@property (nonatomic, readonly, copy) NSString * _Nullable siteRegion; +@property (nonatomic, readonly, copy) NSString * _Nullable siteCountry; +@property (nonatomic, readonly, copy) NSString * _Nullable sitePostalCode; +@property (nonatomic, readonly, copy) NSString * _Nullable siteLongitude; +@property (nonatomic, readonly, copy) NSString * _Nullable siteLatitude; +@property (nonatomic, readonly, copy) NSString * _Nullable siteInstructions; +@property (nonatomic, readonly, copy) NSString * _Nullable siteDescription; +@property (nonatomic, readonly, copy) NSString * _Nullable siteCoverPhotoURL; +@property (nonatomic, readonly, copy) NSString * _Nullable sitePartnerIdentifier; +@property (nonatomic, readonly, copy) NSString * _Nullable projectAccentColor; +@property (nonatomic, readonly, copy) NSString * _Nullable projectAccentTextColor; +@property (nonatomic, readonly, copy) NSString * _Nullable projectLogoURL; +@property (nonatomic, readonly, copy) NSString * _Nullable customerName; +@property (nonatomic, readonly, copy) NSString * _Nullable customerCarType; +@property (nonatomic, readonly, copy) NSString * _Nullable customerCarColor; +@property (nonatomic, readonly, copy) NSString * _Nullable customerLicensePlate; +@property (nonatomic, readonly) BOOL projectMobileFlowAlwaysShowVehicleInfoFields; +@property (nonatomic, readonly) BOOL projectMobileFlowCustomerNameEditingEnabled; +@property (nonatomic, readonly) BOOL projectMobileFlowPickupTypeSelectionEnabled; +@property (nonatomic, readonly) BOOL projectMobileFlowRequireVehicleInfoIfVisible; +@property (nonatomic, readonly, copy) NSString * _Nullable curbsideLocalizedString; +@property (nonatomic, readonly, copy) NSString * _Nullable pickupLocalizedString; +@property (nonatomic, copy) NSString * _Nullable pushToken; +- (CLLocation * _Nullable)siteLocation SWIFT_WARN_UNUSED_RESULT; +- (NSNumber * _Nullable)siteDistanceFrom:(CLLocation * _Nonnull)location SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) NSNumber * _Nullable customerID; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + + + +SWIFT_CLASS_NAMED("OrderEvent") +@interface FlyBuyOrderEvent : NSObject +- (nonnull instancetype)initWithOrderID:(NSInteger)orderID customerState:(NSString * _Nonnull)customerState etaSeconds:(NSNumber * _Nullable)etaSeconds OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithOrderID:(NSInteger)orderID state:(NSString * _Nonnull)state OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithOrderID:(NSInteger)orderID locationAuthStatus:(enum LocationAuthStatus)locationAuthStatus OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithOrderID:(NSInteger)orderID customerRating:(NSInteger)customerRating customerComments:(NSString * _Nullable)customerComments OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Allows fetching the list of orders, creating a new order, or creating +/// order events. +/// Example: +/// \code +/// // fetch orders from FlyBuy +/// Core.orders.fetch() +/// +/// \endcode +SWIFT_CLASS_NAMED("OrdersManager") +@interface FlyBuyOrdersManager : NSObject +/// contains a list of all the orders +@property (nonatomic, readonly, copy) NSArray * _Nonnull all; +/// contains a list of all currently open orders +@property (nonatomic, readonly, copy) NSArray * _Nonnull open; +/// contains a list of all closed orders +@property (nonatomic, readonly, copy) NSArray * _Nonnull closed; +/// contains the order states values +@property (nonatomic, copy) NSArray * _Nonnull orderStates; +/// contains the customer states values +@property (nonatomic, copy) NSArray * _Nonnull customerStates; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// fetches the list of orders from the FlyBuy web API +/// \param callback will get called on completion with the array of orders or any errors encountered. Optional. +/// +- (void)fetchWithCallback:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))callback; +/// fetches an order using a redemption code +/// \param redemptionCode the redemption code for the order +/// +/// \param callback will get called on completion with the array of orders or any errors encountered. Optional. +/// +- (void)fetchWithRedemptionCode:(NSString * _Nonnull)redemptionCode callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +/// Claims an order using a redemption code and pickup type +/// \param redemptionCode the redemption code for the order +/// +/// \param customerInfo the customer details for the order +/// +/// \param pickupType the pickup type string value for the order. Optional. +/// +/// \param callback will get called on completion with the order and any errors encountered. Optional. +/// +- (void)claimWithRedemptionCode:(NSString * _Nonnull)redemptionCode customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +/// creates an order using the FlyBuy web API +/// \param siteID site identifier +/// +/// \param partnerIdentifier partner identifier for the order +/// +/// \param customerInfo customer information +/// +/// \param pickupWindow pickup window for the order. Optional. +/// +/// \param state initial order state +/// +/// \param callback called once either an order is created or an error is encountered. Optional. +/// +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +/// creates an order using the FlyBuy web API +/// \param siteID site identifier +/// +/// \param partnerIdentifier partner identifier for the order +/// +/// \param customerInfo customer information +/// +/// \param pickupWindow pickup window for the order. Optional. +/// +/// \param callback called once either an order is created or an error is encountered. Optional. +/// +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +/// creates an order event that sets the customer state +/// \param orderID specifies which order ID this event relates to +/// +/// \param customerState contains the customer state which should be set on the order +/// +/// \param callback Gets called at completion with the order or any error encountered. Optional. +/// +- (void)updateCustomerStateWithOrderID:(NSInteger)orderID customerState:(NSString * _Nonnull)customerState callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +/// creates an order event that sets the order state +/// \param orderID specifies which order ID this event relates to +/// +/// \param state contains the order state which should be set on the order +/// +/// \param callback Gets called at completion with the order or any error encountered. Optional. +/// +- (void)updateOrderStateWithOrderID:(NSInteger)orderID state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +/// creates an order event that sets the customer state +/// \param orderID specifies which order ID this event relates to +/// +/// \param rating the rating number +/// +/// \param comments the comment string. Optional. +/// +/// \param callback Gets called at completion with the order or any error encountered. Optional. +/// +- (void)rateOrderWithOrderID:(NSInteger)orderID rating:(NSInteger)rating comments:(NSString * _Nullable)comments callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +@end + + + + +SWIFT_CLASS_NAMED("OrdersManagerError") +@interface FlyBuyOrdersManagerError : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("Pagination") +@interface FlyBuyPagination : NSObject +@property (nonatomic, readonly) NSInteger currentPage; +@property (nonatomic, readonly) NSInteger totalPages; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("PickupWindow") +@interface FlyBuyPickupWindow : NSObject +@property (nonatomic, readonly, copy) NSDate * _Nonnull start; +@property (nonatomic, readonly, copy) NSDate * _Nonnull end; +- (nonnull instancetype)initWithStart:(NSDate * _Nonnull)start end:(NSDate * _Nonnull)end OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init:(NSDate * _Nonnull)date; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("RequestPasswordReset") +@interface FlyBuyRequestPasswordReset : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("SetNewPassword") +@interface FlyBuySetNewPassword : NSObject +- (nonnull instancetype)initWithResetPasswordToken:(NSString * _Nonnull)resetPasswordToken password:(NSString * _Nonnull)password confirmation:(NSString * _Nonnull)confirmation OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("SignUpInfo") +@interface FlyBuySignUpInfo : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull emailAddress; +@property (nonatomic, readonly, copy) NSString * _Nonnull password; +@property (nonatomic, readonly, copy) NSString * _Nonnull passwordConfirmation; +- (nonnull instancetype)initWithEmailAddress:(NSString * _Nonnull)emailAddress password:(NSString * _Nonnull)password passwordConfirmation:(NSString * _Nonnull)passwordConfirmation OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("Site") +@interface FlyBuySite : NSObject +@property (nonatomic, readonly) NSInteger id; +@property (nonatomic, readonly, copy) NSString * _Nullable partnerIdentifier; +@property (nonatomic, readonly, copy) NSString * _Nullable name; +@property (nonatomic, readonly, copy) NSString * _Nullable phone; +@property (nonatomic, readonly, copy) NSString * _Nullable streetAddress; +@property (nonatomic, readonly, copy) NSString * _Nullable fullAddress; +@property (nonatomic, readonly, copy) NSString * _Nullable locality; +@property (nonatomic, readonly, copy) NSString * _Nullable region; +@property (nonatomic, readonly, copy) NSString * _Nullable country; +@property (nonatomic, readonly, copy) NSString * _Nullable postalCode; +@property (nonatomic, readonly, copy) NSString * _Nullable longitude; +@property (nonatomic, readonly, copy) NSString * _Nullable latitude; +@property (nonatomic, readonly, copy) NSString * _Nullable instructions; +@property (nonatomic, readonly, copy) NSString * _Nullable descriptionText; +@property (nonatomic, readonly, copy) NSString * _Nullable coverPhotoURL; +@property (nonatomic, readonly, copy) NSString * _Nullable projectAccentColor; +@property (nonatomic, readonly, copy) NSString * _Nullable projectAccentTextColor; +@property (nonatomic, readonly, copy) NSString * _Nullable projectLogoURL; +@property (nonatomic, readonly, strong) FlyBuyGeofence * _Nullable geofence; +- (CLLocation * _Nullable)location SWIFT_WARN_UNUSED_RESULT; +- (NSNumber * _Nullable)distanceFrom:(CLLocation * _Nonnull)loc SWIFT_WARN_UNUSED_RESULT; +@end + +@class CLCircularRegion; + +/// Allows fetching the list of sites +/// Example: +/// \code +/// // fetch sites from FlyBuy +/// FlyBuy.sites.fetch() +/// +/// \endcode +SWIFT_CLASS_NAMED("SitesManager") +@interface FlyBuySitesManager : NSObject +@property (nonatomic, readonly, copy) NSArray * _Nullable all; +/// fetches the list of sites from the FlyBuy web API +/// \param query the query string. Optional. +/// +/// \param page the desired page number. Optional. +/// +/// \param callback will get called on completion with the array of sites or any errors encountered. Optional. +/// +- (void)fetchWithQuery:(NSString * _Nullable)query page:(NSInteger)page callback:(void (^ _Nullable)(NSArray * _Nullable, FlyBuyPagination * _Nullable, NSError * _Nullable))callback; +/// fetches the list of sites from the FlyBuy web API +/// \param region a CLCircularRegion for the search region. +/// +/// \param page the desired page number. Optional. +/// +/// \param callback will get called on completion with the array of sites or any errors encountered. Optional. +/// +- (void)fetchWithRegion:(CLCircularRegion * _Nonnull)region page:(NSInteger)page callback:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))callback; +/// fetches the list of sites from the FlyBuy web API +/// \param region a CLCircularRegion for the search region. +/// +/// \param page the desired page number. +/// +/// \param per the amount of sites returned per page. +/// +/// \param callback will get called on completion with the array of sites or any errors encountered. Optional. +/// +- (void)fetchWithRegion:(CLCircularRegion * _Nonnull)region page:(NSInteger)page per:(NSInteger)per callback:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))callback; +/// fetches the list of sites from the FlyBuy web API +/// \param query the query string. Optional. +/// +/// \param callback will get called on completion with the array of sites and any errors encountered. Optional. +/// +- (void)fetchAllWithQuery:(NSString * _Nullable)query callback:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))callback; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +SWIFT_CLASS_NAMED("SitesManagerError") +@interface FlyBuySitesManagerError : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("UpdateOrderInfo") +@interface FlyBuyUpdateOrderInfo : NSObject +- (nonnull instancetype)initWithPushToken:(NSString * _Nonnull)pushToken OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +#ifndef FLYBUY_SWIFT_H +#define FLYBUY_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FlyBuy",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +SWIFT_CLASS("_TtC6FlyBuy10AppUpgrade") +@interface AppUpgrade : NSObject +@end + + +SWIFT_CLASS_NAMED("BeaconList") +@interface FlyBuyBeaconList : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@class FlyBuyCustomerInfo; + +SWIFT_CLASS_NAMED("ClaimOrderInfo") +@interface FlyBuyClaimOrderInfo : NSObject +- (nonnull instancetype)initWithCustomerCarColor:(NSString * _Nullable)customerCarColor customerCarType:(NSString * _Nullable)customerCarType customerLicensePlate:(NSString * _Nullable)customerLicensePlate customerName:(NSString * _Nullable)customerName customerPhone:(NSString * _Nullable)customerPhone pushToken:(NSString * _Nonnull)pushToken OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithCustomerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pushToken:(NSString * _Nonnull)pushToken pickupType:(NSString * _Nullable)pickupType OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("ConfigurationManager") +@interface FlyBuyConfigurationManager : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class FlyBuyOrdersManager; +@class FlyBuyCustomerManager; +@class FlyBuySitesManager; +@class FlyBuyLogger; + +SWIFT_CLASS_NAMED("Core") +@interface FlyBuyCore : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyOrdersManager * _Nonnull orders;) ++ (FlyBuyOrdersManager * _Nonnull)orders SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyCustomerManager * _Nonnull customer;) ++ (FlyBuyCustomerManager * _Nonnull)customer SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuySitesManager * _Nonnull sites;) ++ (FlyBuySitesManager * _Nonnull)sites SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyConfigurationManager * _Nonnull config;) ++ (FlyBuyConfigurationManager * _Nonnull)config SWIFT_WARN_UNUSED_RESULT; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyLogger * _Nonnull logger;) ++ (FlyBuyLogger * _Nonnull)logger SWIFT_WARN_UNUSED_RESULT; +/// Configures FlyBuy with the given options +/// Example: +/// \code +/// FlyBuy.configure(["token": "TOKEN_HERE"]) +/// +/// \endcode ++ (void)configure:(NSDictionary * _Nonnull)opts; +/// handles a remote notification which may contain FlyBuy order data +/// \param data contains the userInfo data from a remote notification +/// ++ (void)handleRemoteNotification:(NSDictionary * _Nonnull)data; +/// Updates the push token that FlyBuy uses to send push messages to the app. ++ (void)updatePushToken:(NSString * _Nonnull)newPushToken; +/// Updates the APNs device token that FlyBuy uses to send pushes to the app. This should only be used +/// when FlyBuy is configured to send pushes through APNs directly. If using a 3rd party service such as +/// Airship, OneSignal, etc, the correct method to call is updatePushToken. ++ (void)updateAPNPushToken:(NSData * _Nonnull)deviceToken; +@end + + +@class FlyBuyPickupWindow; + +SWIFT_CLASS_NAMED("CreateOrderInfo") +@interface FlyBuyCreateOrderInfo : NSObject +- (nonnull instancetype)initWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerCarColor:(NSString * _Nullable)customerCarColor customerCarType:(NSString * _Nullable)customerCarType customerLicensePlate:(NSString * _Nullable)customerLicensePlate customerName:(NSString * _Nullable)customerName customerPhone:(NSString * _Nullable)customerPhone pushToken:(NSString * _Nullable)pushToken state:(NSString * _Nullable)state pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerCarColor:(NSString * _Nullable)customerCarColor customerCarType:(NSString * _Nullable)customerCarType customerLicensePlate:(NSString * _Nullable)customerLicensePlate customerName:(NSString * _Nullable)customerName customerPhone:(NSString * _Nullable)customerPhone pushToken:(NSString * _Nullable)pushToken pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("Customer") +@interface FlyBuyCustomer : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull token; +@property (nonatomic, readonly, copy) NSString * _Nullable emailAddress; +@property (nonatomic, readonly, strong) FlyBuyCustomerInfo * _Nonnull info; +@property (nonatomic, readonly) BOOL registered; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("CustomerConsent") +@interface FlyBuyCustomerConsent : NSObject +@property (nonatomic, readonly) BOOL termsOfService; +@property (nonatomic, readonly) BOOL ageVerification; +- (nonnull instancetype)initWithTermsOfService:(BOOL)termsOfService ageVerification:(BOOL)ageVerification OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("CustomerInfo") +@interface FlyBuyCustomerInfo : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +@property (nonatomic, readonly, copy) NSString * _Nullable carType; +@property (nonatomic, readonly, copy) NSString * _Nullable carColor; +@property (nonatomic, readonly, copy) NSString * _Nullable licensePlate; +@property (nonatomic, readonly, copy) NSString * _Nullable phone; +- (nonnull instancetype)initWithName:(NSString * _Nonnull)name carType:(NSString * _Nullable)carType carColor:(NSString * _Nullable)carColor licensePlate:(NSString * _Nullable)licensePlate phone:(NSString * _Nullable)phone OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Allows managing the customer: creating, storing, updating, signing-out +/// Example: +/// \code +/// // get the current FlyBuy customer +/// Core.customer.current +/// +/// \endcode +SWIFT_CLASS_NAMED("CustomerManager") +@interface FlyBuyCustomerManager : NSObject +@property (nonatomic, readonly, strong) FlyBuyCustomer * _Nullable current; +/// create a FlyBuy customer +/// \param customerInfo contains the customer details +/// +/// \param termsOfService user has accepted the terms of service +/// +/// \param ageVerification user is of age to provide consent +/// +/// \param callback Called with the new Customer or any error encountered. Optional. +/// +- (void)create:(FlyBuyCustomerInfo * _Nonnull)customerInfo termsOfService:(BOOL)termsOfService ageVerification:(BOOL)ageVerification callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; +/// create a FlyBuy customer +/// \param customerInfo contains the customer details +/// +/// \param email email provided by the user +/// +/// \param password password provided by the user +/// +/// \param customerConsent contains the values of ‘termsOfService’ and ‘ageVerification’ +/// +/// \param callback Called with the new Customer or any error encountered. Optional. +/// +- (void)create:(FlyBuyCustomerInfo * _Nonnull)customerInfo email:(NSString * _Nonnull)email password:(NSString * _Nonnull)password customerConsent:(FlyBuyCustomerConsent * _Nonnull)customerConsent callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; +/// update a FlyBuy customer +/// \param customerInfo contains the customer details +/// +/// \param callback Called with the updated Customer or any error encountered. Optional. +/// +- (void)update:(FlyBuyCustomerInfo * _Nonnull)customerInfo callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; +/// Login as a FlyBuy customer +/// \param emailAddress the account email +/// +/// \param password the account password +/// +/// \param callback Called with the Customer or any error encountered. Optional. +/// +- (void)loginWithEmailAddress:(NSString * _Nonnull)emailAddress password:(NSString * _Nonnull)password callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; +/// Login as a FlyBuy customer with a token +/// \param token the account token +/// +/// \param callback Called with the Customer or any error encountered. Optional. +/// +- (void)loginWithTokenWithToken:(NSString * _Nonnull)token callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; +/// Convert the current customer (an anonymous account) to a registered account +/// \param emailAddress the account email +/// +/// \param password the account password +/// +/// \param callback Called with the Customer or any error encountered. Optional. +/// +- (void)signUpWithEmailAddress:(NSString * _Nonnull)emailAddress password:(NSString * _Nonnull)password callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; +/// Request password reset for an email address +/// \param emailAddress the account email +/// +/// \param callback Called with any error encountered. Optional. +/// +- (void)requestNewPasswordWithEmailAddress:(NSString * _Nonnull)emailAddress callback:(void (^ _Nullable)(NSError * _Nullable))callback; +/// Perform password change for an email address +/// \param resetPasswordToken the token for the new password +/// +/// \param password the account password +/// +/// \param confirmation the account password confirmation +/// +/// \param callback Called with the Customer or any error encountered. Optional. +/// +- (void)setNewPasswordWithResetPasswordToken:(NSString * _Nonnull)resetPasswordToken password:(NSString * _Nonnull)password confirmation:(NSString * _Nonnull)confirmation callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; +/// Signs out the FlyBuy user +- (void)logout; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +SWIFT_CLASS_NAMED("CustomerManagerError") +@interface FlyBuyCustomerManagerError : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +enum FlyBuyAPIErrorType : NSInteger; + +SWIFT_CLASS_NAMED("FlyBuyAPIError") +@interface FlyBuyAPIError : NSObject +@property (nonatomic, readonly) enum FlyBuyAPIErrorType type; +@property (nonatomic, readonly) NSInteger statusCodeInt; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +typedef SWIFT_ENUM(NSInteger, FlyBuyAPIErrorType, open) { + FlyBuyAPIErrorTypeInvalidResponse = 0, + FlyBuyAPIErrorTypeResponseError = 1, +}; + + +SWIFT_CLASS_NAMED("Geofence") +@interface FlyBuyGeofence : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull latitude; +@property (nonatomic, readonly, copy) NSString * _Nonnull longitude; +@property (nonatomic, readonly) double radiusMeters; +@end + + +typedef SWIFT_ENUM(NSInteger, LocationAuthStatus, open) { + LocationAuthStatusNotDetermined = 0, + LocationAuthStatusRestricted = 1, + LocationAuthStatusDenied = 2, + LocationAuthStatusAuthorizedAlways = 3, + LocationAuthStatusAuthorizedWhenInUse = 4, +}; + +typedef SWIFT_ENUM(NSInteger, LogLevel, open) { + LogLevelVerbose = 0, + LogLevelDebug = 1, + LogLevelInfo = 2, + LogLevelWarning = 3, + LogLevelError = 4, + LogLevelNone = 5, +}; + + +SWIFT_CLASS_NAMED("Logger") +@interface FlyBuyLogger : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + + +SWIFT_CLASS_NAMED("LoginInfo") +@interface FlyBuyLoginInfo : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull emailAddress; +@property (nonatomic, readonly, copy) NSString * _Nonnull password; +- (nonnull instancetype)initWithEmailAddress:(NSString * _Nonnull)emailAddress password:(NSString * _Nonnull)password OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +@class CLLocation; +@class NSNumber; + +SWIFT_CLASS_NAMED("Order") +@interface FlyBuyOrder : NSObject +@property (nonatomic, readonly) NSInteger id; +@property (nonatomic, readonly) NSInteger siteID; +@property (nonatomic, copy) NSString * _Nonnull state; +@property (nonatomic, copy) NSString * _Nonnull customerState; +@property (nonatomic, readonly, copy) NSString * _Nullable partnerIdentifier; +@property (nonatomic, readonly, copy) NSString * _Nullable redemptionCode; +@property (nonatomic, readonly, copy) NSDate * _Nullable redeemedAt; +@property (nonatomic, readonly, copy) NSString * _Nullable displayName; +@property (nonatomic, readonly, strong) FlyBuyPickupWindow * _Nullable pickupWindow; +@property (nonatomic, copy) NSString * _Nullable pickupType; +@property (nonatomic, copy) NSDate * _Nullable etaAt; +@property (nonatomic, copy) NSDate * _Nullable completedAt; +@property (nonatomic, copy) NSDate * _Nullable createdAt; +@property (nonatomic, copy) NSDate * _Nullable updatedAt; +@property (nonatomic, copy) NSString * _Nullable customerRating; +@property (nonatomic, copy) NSString * _Nullable customerComment; +@property (nonatomic, readonly, copy) NSString * _Nullable siteName; +@property (nonatomic, readonly, copy) NSString * _Nullable sitePhone; +@property (nonatomic, readonly, copy) NSString * _Nullable siteStreetAddress; +@property (nonatomic, readonly, copy) NSString * _Nullable siteFullAddress; +@property (nonatomic, readonly, copy) NSString * _Nullable siteLocality; +@property (nonatomic, readonly, copy) NSString * _Nullable siteRegion; +@property (nonatomic, readonly, copy) NSString * _Nullable siteCountry; +@property (nonatomic, readonly, copy) NSString * _Nullable sitePostalCode; +@property (nonatomic, readonly, copy) NSString * _Nullable siteLongitude; +@property (nonatomic, readonly, copy) NSString * _Nullable siteLatitude; +@property (nonatomic, readonly, copy) NSString * _Nullable siteInstructions; +@property (nonatomic, readonly, copy) NSString * _Nullable siteDescription; +@property (nonatomic, readonly, copy) NSString * _Nullable siteCoverPhotoURL; +@property (nonatomic, readonly, copy) NSString * _Nullable sitePartnerIdentifier; +@property (nonatomic, readonly, copy) NSString * _Nullable projectAccentColor; +@property (nonatomic, readonly, copy) NSString * _Nullable projectAccentTextColor; +@property (nonatomic, readonly, copy) NSString * _Nullable projectLogoURL; +@property (nonatomic, readonly, copy) NSString * _Nullable customerName; +@property (nonatomic, readonly, copy) NSString * _Nullable customerCarType; +@property (nonatomic, readonly, copy) NSString * _Nullable customerCarColor; +@property (nonatomic, readonly, copy) NSString * _Nullable customerLicensePlate; +@property (nonatomic, readonly) BOOL projectMobileFlowAlwaysShowVehicleInfoFields; +@property (nonatomic, readonly) BOOL projectMobileFlowCustomerNameEditingEnabled; +@property (nonatomic, readonly) BOOL projectMobileFlowPickupTypeSelectionEnabled; +@property (nonatomic, readonly) BOOL projectMobileFlowRequireVehicleInfoIfVisible; +@property (nonatomic, readonly, copy) NSString * _Nullable curbsideLocalizedString; +@property (nonatomic, readonly, copy) NSString * _Nullable pickupLocalizedString; +@property (nonatomic, copy) NSString * _Nullable pushToken; +- (CLLocation * _Nullable)siteLocation SWIFT_WARN_UNUSED_RESULT; +- (NSNumber * _Nullable)siteDistanceFrom:(CLLocation * _Nonnull)location SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) NSNumber * _Nullable customerID; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + + + +SWIFT_CLASS_NAMED("OrderEvent") +@interface FlyBuyOrderEvent : NSObject +- (nonnull instancetype)initWithOrderID:(NSInteger)orderID customerState:(NSString * _Nonnull)customerState etaSeconds:(NSNumber * _Nullable)etaSeconds OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithOrderID:(NSInteger)orderID state:(NSString * _Nonnull)state OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithOrderID:(NSInteger)orderID locationAuthStatus:(enum LocationAuthStatus)locationAuthStatus OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithOrderID:(NSInteger)orderID customerRating:(NSInteger)customerRating customerComments:(NSString * _Nullable)customerComments OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Allows fetching the list of orders, creating a new order, or creating +/// order events. +/// Example: +/// \code +/// // fetch orders from FlyBuy +/// Core.orders.fetch() +/// +/// \endcode +SWIFT_CLASS_NAMED("OrdersManager") +@interface FlyBuyOrdersManager : NSObject +/// contains a list of all the orders +@property (nonatomic, readonly, copy) NSArray * _Nonnull all; +/// contains a list of all currently open orders +@property (nonatomic, readonly, copy) NSArray * _Nonnull open; +/// contains a list of all closed orders +@property (nonatomic, readonly, copy) NSArray * _Nonnull closed; +/// contains the order states values +@property (nonatomic, copy) NSArray * _Nonnull orderStates; +/// contains the customer states values +@property (nonatomic, copy) NSArray * _Nonnull customerStates; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// fetches the list of orders from the FlyBuy web API +/// \param callback will get called on completion with the array of orders or any errors encountered. Optional. +/// +- (void)fetchWithCallback:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))callback; +/// fetches an order using a redemption code +/// \param redemptionCode the redemption code for the order +/// +/// \param callback will get called on completion with the array of orders or any errors encountered. Optional. +/// +- (void)fetchWithRedemptionCode:(NSString * _Nonnull)redemptionCode callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +/// Claims an order using a redemption code and pickup type +/// \param redemptionCode the redemption code for the order +/// +/// \param customerInfo the customer details for the order +/// +/// \param pickupType the pickup type string value for the order. Optional. +/// +/// \param callback will get called on completion with the order and any errors encountered. Optional. +/// +- (void)claimWithRedemptionCode:(NSString * _Nonnull)redemptionCode customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +/// creates an order using the FlyBuy web API +/// \param siteID site identifier +/// +/// \param partnerIdentifier partner identifier for the order +/// +/// \param customerInfo customer information +/// +/// \param pickupWindow pickup window for the order. Optional. +/// +/// \param state initial order state +/// +/// \param callback called once either an order is created or an error is encountered. Optional. +/// +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +/// creates an order using the FlyBuy web API +/// \param siteID site identifier +/// +/// \param partnerIdentifier partner identifier for the order +/// +/// \param customerInfo customer information +/// +/// \param pickupWindow pickup window for the order. Optional. +/// +/// \param callback called once either an order is created or an error is encountered. Optional. +/// +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +/// creates an order event that sets the customer state +/// \param orderID specifies which order ID this event relates to +/// +/// \param customerState contains the customer state which should be set on the order +/// +/// \param callback Gets called at completion with the order or any error encountered. Optional. +/// +- (void)updateCustomerStateWithOrderID:(NSInteger)orderID customerState:(NSString * _Nonnull)customerState callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +/// creates an order event that sets the order state +/// \param orderID specifies which order ID this event relates to +/// +/// \param state contains the order state which should be set on the order +/// +/// \param callback Gets called at completion with the order or any error encountered. Optional. +/// +- (void)updateOrderStateWithOrderID:(NSInteger)orderID state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +/// creates an order event that sets the customer state +/// \param orderID specifies which order ID this event relates to +/// +/// \param rating the rating number +/// +/// \param comments the comment string. Optional. +/// +/// \param callback Gets called at completion with the order or any error encountered. Optional. +/// +- (void)rateOrderWithOrderID:(NSInteger)orderID rating:(NSInteger)rating comments:(NSString * _Nullable)comments callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +@end + + + + +SWIFT_CLASS_NAMED("OrdersManagerError") +@interface FlyBuyOrdersManagerError : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("Pagination") +@interface FlyBuyPagination : NSObject +@property (nonatomic, readonly) NSInteger currentPage; +@property (nonatomic, readonly) NSInteger totalPages; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("PickupWindow") +@interface FlyBuyPickupWindow : NSObject +@property (nonatomic, readonly, copy) NSDate * _Nonnull start; +@property (nonatomic, readonly, copy) NSDate * _Nonnull end; +- (nonnull instancetype)initWithStart:(NSDate * _Nonnull)start end:(NSDate * _Nonnull)end OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init:(NSDate * _Nonnull)date; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("RequestPasswordReset") +@interface FlyBuyRequestPasswordReset : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("SetNewPassword") +@interface FlyBuySetNewPassword : NSObject +- (nonnull instancetype)initWithResetPasswordToken:(NSString * _Nonnull)resetPasswordToken password:(NSString * _Nonnull)password confirmation:(NSString * _Nonnull)confirmation OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("SignUpInfo") +@interface FlyBuySignUpInfo : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull emailAddress; +@property (nonatomic, readonly, copy) NSString * _Nonnull password; +@property (nonatomic, readonly, copy) NSString * _Nonnull passwordConfirmation; +- (nonnull instancetype)initWithEmailAddress:(NSString * _Nonnull)emailAddress password:(NSString * _Nonnull)password passwordConfirmation:(NSString * _Nonnull)passwordConfirmation OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("Site") +@interface FlyBuySite : NSObject +@property (nonatomic, readonly) NSInteger id; +@property (nonatomic, readonly, copy) NSString * _Nullable partnerIdentifier; +@property (nonatomic, readonly, copy) NSString * _Nullable name; +@property (nonatomic, readonly, copy) NSString * _Nullable phone; +@property (nonatomic, readonly, copy) NSString * _Nullable streetAddress; +@property (nonatomic, readonly, copy) NSString * _Nullable fullAddress; +@property (nonatomic, readonly, copy) NSString * _Nullable locality; +@property (nonatomic, readonly, copy) NSString * _Nullable region; +@property (nonatomic, readonly, copy) NSString * _Nullable country; +@property (nonatomic, readonly, copy) NSString * _Nullable postalCode; +@property (nonatomic, readonly, copy) NSString * _Nullable longitude; +@property (nonatomic, readonly, copy) NSString * _Nullable latitude; +@property (nonatomic, readonly, copy) NSString * _Nullable instructions; +@property (nonatomic, readonly, copy) NSString * _Nullable descriptionText; +@property (nonatomic, readonly, copy) NSString * _Nullable coverPhotoURL; +@property (nonatomic, readonly, copy) NSString * _Nullable projectAccentColor; +@property (nonatomic, readonly, copy) NSString * _Nullable projectAccentTextColor; +@property (nonatomic, readonly, copy) NSString * _Nullable projectLogoURL; +@property (nonatomic, readonly, strong) FlyBuyGeofence * _Nullable geofence; +- (CLLocation * _Nullable)location SWIFT_WARN_UNUSED_RESULT; +- (NSNumber * _Nullable)distanceFrom:(CLLocation * _Nonnull)loc SWIFT_WARN_UNUSED_RESULT; +@end + +@class CLCircularRegion; + +/// Allows fetching the list of sites +/// Example: +/// \code +/// // fetch sites from FlyBuy +/// FlyBuy.sites.fetch() +/// +/// \endcode +SWIFT_CLASS_NAMED("SitesManager") +@interface FlyBuySitesManager : NSObject +@property (nonatomic, readonly, copy) NSArray * _Nullable all; +/// fetches the list of sites from the FlyBuy web API +/// \param query the query string. Optional. +/// +/// \param page the desired page number. Optional. +/// +/// \param callback will get called on completion with the array of sites or any errors encountered. Optional. +/// +- (void)fetchWithQuery:(NSString * _Nullable)query page:(NSInteger)page callback:(void (^ _Nullable)(NSArray * _Nullable, FlyBuyPagination * _Nullable, NSError * _Nullable))callback; +/// fetches the list of sites from the FlyBuy web API +/// \param region a CLCircularRegion for the search region. +/// +/// \param page the desired page number. Optional. +/// +/// \param callback will get called on completion with the array of sites or any errors encountered. Optional. +/// +- (void)fetchWithRegion:(CLCircularRegion * _Nonnull)region page:(NSInteger)page callback:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))callback; +/// fetches the list of sites from the FlyBuy web API +/// \param region a CLCircularRegion for the search region. +/// +/// \param page the desired page number. +/// +/// \param per the amount of sites returned per page. +/// +/// \param callback will get called on completion with the array of sites or any errors encountered. Optional. +/// +- (void)fetchWithRegion:(CLCircularRegion * _Nonnull)region page:(NSInteger)page per:(NSInteger)per callback:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))callback; +/// fetches the list of sites from the FlyBuy web API +/// \param query the query string. Optional. +/// +/// \param callback will get called on completion with the array of sites and any errors encountered. Optional. +/// +- (void)fetchAllWithQuery:(NSString * _Nullable)query callback:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))callback; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +SWIFT_CLASS_NAMED("SitesManagerError") +@interface FlyBuySitesManagerError : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_CLASS_NAMED("UpdateOrderInfo") +@interface FlyBuyUpdateOrderInfo : NSObject +- (nonnull instancetype)initWithPushToken:(NSString * _Nonnull)pushToken OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Headers/FlyBuy.h b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Headers/FlyBuy.h similarity index 100% rename from FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Headers/FlyBuy.h rename to FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Headers/FlyBuy.h diff --git a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Info.plist b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Info.plist similarity index 54% rename from FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Info.plist rename to FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Info.plist index a3662a0..99895ac 100644 Binary files a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Info.plist and b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Info.plist differ diff --git a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..0511b80 Binary files /dev/null and b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..15f5865 --- /dev/null +++ b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,606 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuy +import CoreLocation +@_exported import FlyBuy +import Foundation +import SQLite3 +import Swift +import UIKit +public struct AppConfig : Swift.Codable { + public let data: FlyBuy.AppConfigData? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public struct PickupLocationFilters : Swift.Codable { + public let ios: [FlyBuy.PickupLocationFilterData]? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public class PickupLocationFilterData : Swift.Codable { + final public let proximityToSite: Swift.Int + final public let _desiredAccuracy: Swift.String + final public let _activityType: Swift.String + final public let distanceFilterCharging: Swift.Double + final public let distanceFilterNotCharging: Swift.Double + public init(proximityToSite: Swift.Int, desiredAccuracy: Swift.String, activityType: Swift.String, distanceFilterCharging: Swift.Double, distanceFilterNotCharging: Swift.Double) + required public init(from decoder: Swift.Decoder) throws + @objc deinit + public func encode(to encoder: Swift.Encoder) throws +} +extension PickupLocationFilterData { + public static var defaultLocationFilter: FlyBuy.PickupLocationFilterData { + get + } +} +@objc(FlyBuyCustomerConsent) open class CustomerConsent : ObjectiveC.NSObject, Swift.Codable { + @objc final public let termsOfService: Swift.Bool + @objc final public let ageVerification: Swift.Bool + @objc public init(termsOfService: Swift.Bool, ageVerification: Swift.Bool) + @objc deinit + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws + open func encode(to encoder: Swift.Encoder) throws +} +@objc(FlyBuyUpdateOrderInfo) open class UpdateOrderInfo : ObjectiveC.NSObject, Swift.Codable { + @objc public init(pushToken: Swift.String) + @objc deinit + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws + open func encode(to encoder: Swift.Encoder) throws +} +@_hasMissingDesignatedInitializers @objc(FlyBuyCreateOrderInfo) open class CreateOrderInfo : ObjectiveC.NSObject, Swift.Codable { + @objc public init(siteID: Swift.Int, partnerIdentifier: Swift.String, customerCarColor: Swift.String?, customerCarType: Swift.String?, customerLicensePlate: Swift.String?, customerName: Swift.String?, customerPhone: Swift.String?, pushToken: Swift.String?, state: Swift.String?, pickupWindow: FlyBuy.PickupWindow? = nil) + @objc public init(siteID: Swift.Int, partnerIdentifier: Swift.String, customerCarColor: Swift.String?, customerCarType: Swift.String?, customerLicensePlate: Swift.String?, customerName: Swift.String?, customerPhone: Swift.String?, pushToken: Swift.String?, pickupWindow: FlyBuy.PickupWindow? = nil) + @objc deinit + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws + open func encode(to encoder: Swift.Encoder) throws +} +public struct BeaconIdentifiers : Swift.Hashable, Swift.Codable { + public init(from decoder: Swift.Decoder) throws + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + public func encode(to encoder: Swift.Encoder) throws + public static func == (a: FlyBuy.BeaconIdentifiers, b: FlyBuy.BeaconIdentifiers) -> Swift.Bool +} +public struct Beacon { +} +extension Beacon : Swift.Encodable { + public func encode(to encoder: Swift.Encoder) throws +} +@_inheritsConvenienceInitializers @objc(FlyBuyBeaconList) public class BeaconList : ObjectiveC.NSObject { + public var beacons: [FlyBuy.BeaconIdentifiers : FlyBuy.Beacon] + public func addScan(identifiers ids: FlyBuy.BeaconIdentifiers, rssi: Swift.Int, distance: Swift.Float) + public func addScan(_ beacon: CoreLocation.CLBeacon) + public func addScans(_ scannedBeacons: [CoreLocation.CLBeacon]) + public func removeStale() + public func asArray() -> [FlyBuy.Beacon] + @objc deinit + @objc override dynamic public init() +} +extension BeaconList : Swift.Encodable { + public func encode(to encoder: Swift.Encoder) throws +} +@usableFromInline +internal protocol _AnyEncodable { + var value: Any { get } + init(_ value: T?) +} +extension _AnyEncodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension _AnyEncodable { + public init(nilLiteral _: ()) + public init(booleanLiteral value: Swift.Bool) + public init(integerLiteral value: Swift.Int) + public init(floatLiteral value: Swift.Double) + public init(extendedGraphemeClusterLiteral value: Swift.String) + public init(stringLiteral value: Swift.String) + public init(arrayLiteral elements: Any...) + public init(dictionaryLiteral elements: (Swift.AnyHashable, Any)...) +} +open class EncodableRequest where EncodableObject : Swift.Encodable { + final public let object: EncodableObject + final public let encoder: Foundation.JSONEncoder + public init(object: EncodableObject, encoder: Foundation.JSONEncoder = JSONEncoder()) + @objc deinit +} +@objc(FlyBuySite) open class Site : ObjectiveC.NSObject, Swift.Decodable { + @objc final public let id: Swift.Int + @objc final public let partnerIdentifier: Swift.String? + @objc final public let name: Swift.String? + @objc final public let phone: Swift.String? + @objc final public let streetAddress: Swift.String? + @objc final public let fullAddress: Swift.String? + @objc final public let locality: Swift.String? + @objc final public let region: Swift.String? + @objc final public let country: Swift.String? + @objc final public let postalCode: Swift.String? + @objc final public let longitude: Swift.String? + @objc final public let latitude: Swift.String? + @objc final public let instructions: Swift.String? + @objc final public let descriptionText: Swift.String? + @objc final public let coverPhotoURL: Swift.String? + @objc final public let projectAccentColor: Swift.String? + @objc final public let projectAccentTextColor: Swift.String? + @objc final public let projectLogoURL: Swift.String? + @objc final public let geofence: FlyBuy.Geofence? + @objc public func location() -> CoreLocation.CLLocation? + @objc public func distance(from loc: CoreLocation.CLLocation) -> Foundation.NSNumber? + @objc deinit + required public init(from decoder: Swift.Decoder) throws +} +@objc(FlyBuyGeofence) open class Geofence : ObjectiveC.NSObject, Swift.Decodable { + @objc final public let latitude: Swift.String + @objc final public let longitude: Swift.String + @objc final public let radiusMeters: Swift.Double + public func locationCoordinate() -> CoreLocation.CLLocationCoordinate2D? + @objc deinit + required public init(from decoder: Swift.Decoder) throws +} +@objc(FlyBuyCustomerInfo) open class CustomerInfo : ObjectiveC.NSObject, Swift.Codable { + @objc final public let name: Swift.String + @objc final public let carType: Swift.String? + @objc final public let carColor: Swift.String? + @objc final public let licensePlate: Swift.String? + @objc final public let phone: Swift.String? + @objc public init(name: Swift.String, carType: Swift.String?, carColor: Swift.String?, licensePlate: Swift.String?, phone: Swift.String? = nil) + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws + @objc deinit + open func encode(to encoder: Swift.Encoder) throws +} +@objc public enum LocationAuthStatus : Swift.Int, Swift.Codable { + case notDetermined + case restricted + case denied + case authorizedAlways + case authorizedWhenInUse + public init(from decoder: Swift.Decoder) throws + public init?(from authStatus: CoreLocation.CLAuthorizationStatus) + public init?(from string: Swift.String) + public func encode(to encoder: Swift.Encoder) throws + public var description: Swift.String { + get + } + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objc(FlyBuyPagination) public class Pagination : ObjectiveC.NSObject { + @objc final public let currentPage: Swift.Int + @objc final public let totalPages: Swift.Int + @objc deinit + @objc override dynamic public init() +} +public protocol FlyBuyError : Foundation.LocalizedError { + var description: Swift.String { get } + var errorDescription: Swift.String? { get } +} +@objc public enum FlyBuyAPIErrorType : Swift.Int { + case invalidResponse + case responseError + public var description: Swift.String { + get + } + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objc(FlyBuyAPIError) public class FlyBuyAPIError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc final public let type: FlyBuy.FlyBuyAPIErrorType + @objc final public let statusCodeInt: Swift.Int + final public let statusCode: FlyBuy.HTTPStatusCode? + public var errorDescription: Swift.String? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc(FlyBuyClaimOrderInfo) open class ClaimOrderInfo : ObjectiveC.NSObject, Swift.Codable { + @objc public init(customerCarColor: Swift.String?, customerCarType: Swift.String?, customerLicensePlate: Swift.String?, customerName: Swift.String?, customerPhone: Swift.String?, pushToken: Swift.String) + @objc public init(customerInfo: FlyBuy.CustomerInfo, pushToken: Swift.String, pickupType: Swift.String?) + public func encode(to encoder: Swift.Encoder) throws + @objc deinit + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws +} +@objc(FlyBuyOrderEvent) open class OrderEvent : ObjectiveC.NSObject, Swift.Encodable { + public init(orderID: Swift.Int, location: CoreLocation.CLLocation, beacons: [FlyBuy.Beacon], etaSeconds: Foundation.NSNumber?) + @objc public init(orderID: Swift.Int, customerState: Swift.String, etaSeconds: Foundation.NSNumber?) + @objc public init(orderID: Swift.Int, state: Swift.String) + @objc public init(orderID: Swift.Int, locationAuthStatus: FlyBuy.LocationAuthStatus) + @objc public init(orderID: Swift.Int, customerRating: Swift.Int, customerComments: Swift.String?) + @objc deinit + @objc override dynamic public init() + open func encode(to encoder: Swift.Encoder) throws +} +public struct AppConfigData : Swift.Codable { + public let name: Swift.String? + public let pickupLocationFilters: FlyBuy.PickupLocationFilters? + public let pickupStates: FlyBuy.PickupStates? + public let notifyMaxSites: Swift.Int? + public let nearbySitesFeatureUrl: Swift.String? + public let upgrade: FlyBuy.AppUpgrade? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public struct BeaconRegion : Swift.Codable, Swift.Hashable { + public let uuid: Foundation.UUID + public let major: Swift.UInt16? + public let minor: Swift.UInt16? + public func region() -> CoreLocation.CLBeaconRegion + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FlyBuy.BeaconRegion, b: FlyBuy.BeaconRegion) -> Swift.Bool +} +public protocol FlyBuyModuleManager { + func configUpdated(_ config: FlyBuy.AppConfig) + func set(logLevel: FlyBuy.LogLevel) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FlyBuyCore) public class Core : ObjectiveC.NSObject { + @objc public static let orders: FlyBuy.OrdersManager + @objc public static let customer: FlyBuy.CustomerManager + @objc public static let sites: FlyBuy.SitesManager + @objc public static let config: FlyBuy.ConfigurationManager + @objc public static let logger: FlyBuy.Logger + @objc public static func configure(_ opts: [Swift.String : Any]) + @objc public static func handleRemoteNotification(_ data: [Swift.AnyHashable : Any]) + @objc public static func updatePushToken(_ newPushToken: Swift.String) + @objc public static func updateAPNPushToken(_ deviceToken: Foundation.Data) + @objc deinit +} +@usableFromInline +internal protocol _AnyDecodable { + var value: Any { get } + init(_ value: T?) +} +extension _AnyDecodable { + public init(from decoder: Swift.Decoder) throws +} +@_hasMissingDesignatedInitializers @objc(FlyBuyRequestPasswordReset) open class RequestPasswordReset : ObjectiveC.NSObject, Swift.Codable { + @objc deinit + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws + open func encode(to encoder: Swift.Encoder) throws +} +@objc(FlyBuySetNewPassword) open class SetNewPassword : ObjectiveC.NSObject, Swift.Codable { + @objc public init(resetPasswordToken: Swift.String, password: Swift.String, confirmation: Swift.String) + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws + @objc deinit + open func encode(to encoder: Swift.Encoder) throws +} +@_hasMissingDesignatedInitializers @objc(FlyBuyCustomer) open class Customer : ObjectiveC.NSObject, Swift.Decodable { + @objc final public let token: Swift.String + @objc final public let emailAddress: Swift.String? + @objc final public let info: FlyBuy.CustomerInfo + @objc public var registered: Swift.Bool { + @objc get + } + required public init(from decoder: Swift.Decoder) throws + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objc(FlyBuyConfigurationManager) public class ConfigurationManager : ObjectiveC.NSObject { + public func fetch(forceFetch: Swift.Bool = false) + @objc override dynamic public init() + @objc deinit +} +@objc(FlyBuyPickupWindow) public class PickupWindow : ObjectiveC.NSObject, Swift.Codable { + @objc final public let start: Foundation.Date + @objc final public let end: Foundation.Date + @objc public init(start: Foundation.Date, end: Foundation.Date) + @objc convenience public init(_ date: Foundation.Date) + required convenience public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + @objc override dynamic public init() + @objc deinit +} +public enum HTTPStatusCode : Swift.Int, Swift.Error { + case `continue` + case switchingProtocols + case processing + case ok + case created + case accepted + case nonAuthoritativeInformation + case noContent + case resetContent + case partialContent + case multiStatus + case alreadyReported + case IMUsed + case multipleChoices + case movedPermanently + case found + case seeOther + case notModified + case useProxy + case switchProxy + case temporaryRedirect + case permenantRedirect + case badRequest + case unauthorized + case paymentRequired + case forbidden + case notFound + case methodNotAllowed + case notAcceptable + case proxyAuthenticationRequired + case requestTimeout + case conflict + case gone + case lengthRequired + case preconditionFailed + case payloadTooLarge + case URITooLong + case unsupportedMediaType + case rangeNotSatisfiable + case expectationFailed + case teapot + case misdirectedRequest + case unprocessableEntity + case locked + case failedDependency + case appUpgradeRequired + case upgradeRequired + case preconditionRequired + case tooManyRequests + case requestHeaderFieldsTooLarge + case noResponse + case unavailableForLegalReasons + case SSLCertificateError + case SSLCertificateRequired + case HTTPRequestSentToHTTPSPort + case clientClosedRequest + case internalServerError + case notImplemented + case badGateway + case serviceUnavailable + case gatewayTimeout + case HTTPVersionNotSupported + case variantAlsoNegotiates + case insufficientStorage + case loopDetected + case notExtended + case networkAuthenticationRequired + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objc(FlyBuySitesManager) open class SitesManager : ObjectiveC.NSObject { + @objc public var all: [FlyBuy.Site]? { + get + } + @objc public func fetch(query: Swift.String? = nil, page: Swift.Int = 1, callback: (([FlyBuy.Site]?, FlyBuy.Pagination?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func fetch(region: CoreLocation.CLCircularRegion, page: Swift.Int = 1, callback: (([FlyBuy.Site]?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func fetch(region: CoreLocation.CLCircularRegion, page: Swift.Int, per: Swift.Int, callback: (([FlyBuy.Site]?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func fetchAll(query: Swift.String? = nil, callback: (([FlyBuy.Site]?, Swift.Error?) -> (Swift.Void))? = nil) + @objc override dynamic public init() + @objc deinit +} +@_hasMissingDesignatedInitializers @objc(FlyBuySitesManagerError) public class SitesManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc deinit + @objc override dynamic public init() +} +extension Optional where Wrapped == Swift.String { + public var presence: Swift.String? { + get + } +} +extension String { + public var wordsFromCamelCase: Swift.String { + get + } + public var isBlank: Swift.Bool { + get + } +} +@objc public class AppUpgrade : ObjectiveC.NSObject, Swift.Codable { + final public let required: Swift.Bool + final public let url: Swift.String + final public let version: Swift.String + final public let message: Swift.String + @objc deinit + required public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public struct PickupStates : Swift.Codable { + public let order: [Swift.String]? + public let openOrder: [Swift.String]? + public let customer: [Swift.String]? + public let openCustomer: [Swift.String]? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +@_inheritsConvenienceInitializers @objc(FlyBuyOrdersManager) open class OrdersManager : ObjectiveC.NSObject { + @objc public var all: [FlyBuy.Order] { + @objc get + } + @objc public var open: [FlyBuy.Order] { + @objc get + } + @objc public var closed: [FlyBuy.Order] { + @objc get + } + @objc public var orderStates: [Swift.String] + @objc public var customerStates: [Swift.String] + @objc override dynamic public init() + @objc public func fetch(callback: (([FlyBuy.Order]?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func fetch(withRedemptionCode redemptionCode: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func claim(withRedemptionCode redemptionCode: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, state: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + public func event(info: FlyBuy.OrderEvent, callback: ((FlyBuy.Order?, Swift.Error?) -> ())? = nil) + @objc public func updateCustomerState(orderID: Swift.Int, customerState: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func updateOrderState(orderID: Swift.Int, state: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func rateOrder(orderID: Swift.Int, rating: Swift.Int, comments: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @objc deinit +} +extension NSNotification.Name { + public static let ordersUpdated: Foundation.Notification.Name + public static let ordersError: Foundation.Notification.Name + public static let orderUpdated: Foundation.Notification.Name + public static let orderEventError: Foundation.Notification.Name +} +@_hasMissingDesignatedInitializers @objc(FlyBuyOrdersManagerError) public class OrdersManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + public var errorDescription: Swift.String? + @objc deinit + @objc override dynamic public init() +} +@_inheritsConvenienceInitializers @objc(FlyBuyCustomerManager) public class CustomerManager : ObjectiveC.NSObject { + @objc public var current: FlyBuy.Customer? { + @objc get + } + @objc public func create(_ customerInfo: FlyBuy.CustomerInfo, termsOfService: Swift.Bool, ageVerification: Swift.Bool, callback: ((FlyBuy.Customer?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func create(_ customerInfo: FlyBuy.CustomerInfo, email: Swift.String, password: Swift.String, customerConsent: FlyBuy.CustomerConsent, callback: ((FlyBuy.Customer?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func update(_ customerInfo: FlyBuy.CustomerInfo, callback: ((FlyBuy.Customer?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func login(emailAddress: Swift.String, password: Swift.String, callback: ((FlyBuy.Customer?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func loginWithToken(token: Swift.String, callback: ((FlyBuy.Customer?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func signUp(emailAddress: Swift.String, password: Swift.String, callback: ((FlyBuy.Customer?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func requestNewPassword(emailAddress: Swift.String, callback: ((Swift.Error?) -> (Swift.Void))? = nil) + @objc public func setNewPassword(resetPasswordToken: Swift.String, password: Swift.String, confirmation: Swift.String, callback: ((FlyBuy.Customer?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func logout() + @objc override dynamic public init() + @objc deinit +} +@_hasMissingDesignatedInitializers @objc(FlyBuyCustomerManagerError) public class CustomerManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + public var errorDescription: Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objc public enum LogLevel : Swift.Int { + case verbose + case debug + case info + case warning + case error + case none + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc(FlyBuyLogger) final public class Logger : ObjectiveC.NSObject { + final public var logLevel: FlyBuy.LogLevel + public init(name: Swift.String = "FlyBuySDK") + final public func verbose(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) + final public func debug(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) + final public func info(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) + final public func warning(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) + final public func error(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) + @objc override dynamic public init() + @objc deinit +} +public struct CustomerResponse : Swift.Decodable { + public init(from decoder: Swift.Decoder) throws +} +@objc(FlyBuySignUpInfo) open class SignUpInfo : ObjectiveC.NSObject, Swift.Codable { + @objc final public let emailAddress: Swift.String + @objc final public let password: Swift.String + @objc final public let passwordConfirmation: Swift.String + @objc public init(emailAddress: Swift.String, password: Swift.String, passwordConfirmation: Swift.String) + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws + @objc deinit + open func encode(to encoder: Swift.Encoder) throws +} +@objc(FlyBuyLoginInfo) open class LoginInfo : ObjectiveC.NSObject, Swift.Codable { + @objc final public let emailAddress: Swift.String + @objc final public let password: Swift.String + @objc public init(emailAddress: Swift.String, password: Swift.String) + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws + @objc deinit + open func encode(to encoder: Swift.Encoder) throws +} +@objc(FlyBuyOrder) open class Order : ObjectiveC.NSObject { + @objc final public let id: Swift.Int + @objc final public let siteID: Swift.Int + @objc public var state: Swift.String + @objc public var customerState: Swift.String + @objc final public let partnerIdentifier: Swift.String? + @objc final public let redemptionCode: Swift.String? + @objc final public let redeemedAt: Foundation.Date? + @objc final public let displayName: Swift.String? + @objc final public let pickupWindow: FlyBuy.PickupWindow? + @objc public var pickupType: Swift.String? + @objc public var etaAt: Foundation.Date? + @objc public var completedAt: Foundation.Date? + @objc public var createdAt: Foundation.Date? + @objc public var updatedAt: Foundation.Date? + @objc public var customerRating: Swift.String? + @objc public var customerComment: Swift.String? + @objc final public let siteName: Swift.String? + @objc final public let sitePhone: Swift.String? + @objc final public let siteStreetAddress: Swift.String? + @objc final public let siteFullAddress: Swift.String? + @objc final public let siteLocality: Swift.String? + @objc final public let siteRegion: Swift.String? + @objc final public let siteCountry: Swift.String? + @objc final public let sitePostalCode: Swift.String? + @objc final public let siteLongitude: Swift.String? + @objc final public let siteLatitude: Swift.String? + @objc final public let siteInstructions: Swift.String? + @objc final public let siteDescription: Swift.String? + @objc final public let siteCoverPhotoURL: Swift.String? + final public let siteBeaconRegions: [FlyBuy.BeaconRegion]? + @objc final public let sitePartnerIdentifier: Swift.String? + @objc final public let projectAccentColor: Swift.String? + @objc final public let projectAccentTextColor: Swift.String? + @objc final public let projectLogoURL: Swift.String? + @objc final public let customerName: Swift.String? + @objc final public let customerCarType: Swift.String? + @objc final public let customerCarColor: Swift.String? + @objc final public let customerLicensePlate: Swift.String? + @objc final public let projectMobileFlowAlwaysShowVehicleInfoFields: Swift.Bool + @objc final public let projectMobileFlowCustomerNameEditingEnabled: Swift.Bool + @objc final public let projectMobileFlowPickupTypeSelectionEnabled: Swift.Bool + @objc final public let projectMobileFlowRequireVehicleInfoIfVisible: Swift.Bool + @objc final public let curbsideLocalizedString: Swift.String? + @objc final public let pickupLocalizedString: Swift.String? + @objc public var pushToken: Swift.String? + public var isLocationTrackingEnabled: Swift.Bool? + required public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + @objc public func siteLocation() -> CoreLocation.CLLocation? + @objc public func siteDistance(from location: CoreLocation.CLLocation) -> Foundation.NSNumber? + @objc public var customerID: Foundation.NSNumber? { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension Order { + public func isOpen() -> Swift.Bool +} +extension FlyBuy.LocationAuthStatus : Swift.Equatable {} +extension FlyBuy.LocationAuthStatus : Swift.Hashable {} +extension FlyBuy.LocationAuthStatus : Swift.RawRepresentable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.Equatable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.Hashable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.RawRepresentable {} +extension FlyBuy.HTTPStatusCode : Swift.Equatable {} +extension FlyBuy.HTTPStatusCode : Swift.Hashable {} +extension FlyBuy.HTTPStatusCode : Swift.RawRepresentable {} +extension FlyBuy.LogLevel : Swift.Equatable {} +extension FlyBuy.LogLevel : Swift.Hashable {} +extension FlyBuy.LogLevel : Swift.RawRepresentable {} +extension FlyBuy.Order : Swift.Encodable {} +extension FlyBuy.Order : Swift.Decodable {} diff --git a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64.swiftdoc b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..0511b80 Binary files /dev/null and b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64.swiftdoc differ diff --git a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64.swiftinterface b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..15f5865 --- /dev/null +++ b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64.swiftinterface @@ -0,0 +1,606 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuy +import CoreLocation +@_exported import FlyBuy +import Foundation +import SQLite3 +import Swift +import UIKit +public struct AppConfig : Swift.Codable { + public let data: FlyBuy.AppConfigData? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public struct PickupLocationFilters : Swift.Codable { + public let ios: [FlyBuy.PickupLocationFilterData]? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public class PickupLocationFilterData : Swift.Codable { + final public let proximityToSite: Swift.Int + final public let _desiredAccuracy: Swift.String + final public let _activityType: Swift.String + final public let distanceFilterCharging: Swift.Double + final public let distanceFilterNotCharging: Swift.Double + public init(proximityToSite: Swift.Int, desiredAccuracy: Swift.String, activityType: Swift.String, distanceFilterCharging: Swift.Double, distanceFilterNotCharging: Swift.Double) + required public init(from decoder: Swift.Decoder) throws + @objc deinit + public func encode(to encoder: Swift.Encoder) throws +} +extension PickupLocationFilterData { + public static var defaultLocationFilter: FlyBuy.PickupLocationFilterData { + get + } +} +@objc(FlyBuyCustomerConsent) open class CustomerConsent : ObjectiveC.NSObject, Swift.Codable { + @objc final public let termsOfService: Swift.Bool + @objc final public let ageVerification: Swift.Bool + @objc public init(termsOfService: Swift.Bool, ageVerification: Swift.Bool) + @objc deinit + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws + open func encode(to encoder: Swift.Encoder) throws +} +@objc(FlyBuyUpdateOrderInfo) open class UpdateOrderInfo : ObjectiveC.NSObject, Swift.Codable { + @objc public init(pushToken: Swift.String) + @objc deinit + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws + open func encode(to encoder: Swift.Encoder) throws +} +@_hasMissingDesignatedInitializers @objc(FlyBuyCreateOrderInfo) open class CreateOrderInfo : ObjectiveC.NSObject, Swift.Codable { + @objc public init(siteID: Swift.Int, partnerIdentifier: Swift.String, customerCarColor: Swift.String?, customerCarType: Swift.String?, customerLicensePlate: Swift.String?, customerName: Swift.String?, customerPhone: Swift.String?, pushToken: Swift.String?, state: Swift.String?, pickupWindow: FlyBuy.PickupWindow? = nil) + @objc public init(siteID: Swift.Int, partnerIdentifier: Swift.String, customerCarColor: Swift.String?, customerCarType: Swift.String?, customerLicensePlate: Swift.String?, customerName: Swift.String?, customerPhone: Swift.String?, pushToken: Swift.String?, pickupWindow: FlyBuy.PickupWindow? = nil) + @objc deinit + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws + open func encode(to encoder: Swift.Encoder) throws +} +public struct BeaconIdentifiers : Swift.Hashable, Swift.Codable { + public init(from decoder: Swift.Decoder) throws + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + public func encode(to encoder: Swift.Encoder) throws + public static func == (a: FlyBuy.BeaconIdentifiers, b: FlyBuy.BeaconIdentifiers) -> Swift.Bool +} +public struct Beacon { +} +extension Beacon : Swift.Encodable { + public func encode(to encoder: Swift.Encoder) throws +} +@_inheritsConvenienceInitializers @objc(FlyBuyBeaconList) public class BeaconList : ObjectiveC.NSObject { + public var beacons: [FlyBuy.BeaconIdentifiers : FlyBuy.Beacon] + public func addScan(identifiers ids: FlyBuy.BeaconIdentifiers, rssi: Swift.Int, distance: Swift.Float) + public func addScan(_ beacon: CoreLocation.CLBeacon) + public func addScans(_ scannedBeacons: [CoreLocation.CLBeacon]) + public func removeStale() + public func asArray() -> [FlyBuy.Beacon] + @objc deinit + @objc override dynamic public init() +} +extension BeaconList : Swift.Encodable { + public func encode(to encoder: Swift.Encoder) throws +} +@usableFromInline +internal protocol _AnyEncodable { + var value: Any { get } + init(_ value: T?) +} +extension _AnyEncodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension _AnyEncodable { + public init(nilLiteral _: ()) + public init(booleanLiteral value: Swift.Bool) + public init(integerLiteral value: Swift.Int) + public init(floatLiteral value: Swift.Double) + public init(extendedGraphemeClusterLiteral value: Swift.String) + public init(stringLiteral value: Swift.String) + public init(arrayLiteral elements: Any...) + public init(dictionaryLiteral elements: (Swift.AnyHashable, Any)...) +} +open class EncodableRequest where EncodableObject : Swift.Encodable { + final public let object: EncodableObject + final public let encoder: Foundation.JSONEncoder + public init(object: EncodableObject, encoder: Foundation.JSONEncoder = JSONEncoder()) + @objc deinit +} +@objc(FlyBuySite) open class Site : ObjectiveC.NSObject, Swift.Decodable { + @objc final public let id: Swift.Int + @objc final public let partnerIdentifier: Swift.String? + @objc final public let name: Swift.String? + @objc final public let phone: Swift.String? + @objc final public let streetAddress: Swift.String? + @objc final public let fullAddress: Swift.String? + @objc final public let locality: Swift.String? + @objc final public let region: Swift.String? + @objc final public let country: Swift.String? + @objc final public let postalCode: Swift.String? + @objc final public let longitude: Swift.String? + @objc final public let latitude: Swift.String? + @objc final public let instructions: Swift.String? + @objc final public let descriptionText: Swift.String? + @objc final public let coverPhotoURL: Swift.String? + @objc final public let projectAccentColor: Swift.String? + @objc final public let projectAccentTextColor: Swift.String? + @objc final public let projectLogoURL: Swift.String? + @objc final public let geofence: FlyBuy.Geofence? + @objc public func location() -> CoreLocation.CLLocation? + @objc public func distance(from loc: CoreLocation.CLLocation) -> Foundation.NSNumber? + @objc deinit + required public init(from decoder: Swift.Decoder) throws +} +@objc(FlyBuyGeofence) open class Geofence : ObjectiveC.NSObject, Swift.Decodable { + @objc final public let latitude: Swift.String + @objc final public let longitude: Swift.String + @objc final public let radiusMeters: Swift.Double + public func locationCoordinate() -> CoreLocation.CLLocationCoordinate2D? + @objc deinit + required public init(from decoder: Swift.Decoder) throws +} +@objc(FlyBuyCustomerInfo) open class CustomerInfo : ObjectiveC.NSObject, Swift.Codable { + @objc final public let name: Swift.String + @objc final public let carType: Swift.String? + @objc final public let carColor: Swift.String? + @objc final public let licensePlate: Swift.String? + @objc final public let phone: Swift.String? + @objc public init(name: Swift.String, carType: Swift.String?, carColor: Swift.String?, licensePlate: Swift.String?, phone: Swift.String? = nil) + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws + @objc deinit + open func encode(to encoder: Swift.Encoder) throws +} +@objc public enum LocationAuthStatus : Swift.Int, Swift.Codable { + case notDetermined + case restricted + case denied + case authorizedAlways + case authorizedWhenInUse + public init(from decoder: Swift.Decoder) throws + public init?(from authStatus: CoreLocation.CLAuthorizationStatus) + public init?(from string: Swift.String) + public func encode(to encoder: Swift.Encoder) throws + public var description: Swift.String { + get + } + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objc(FlyBuyPagination) public class Pagination : ObjectiveC.NSObject { + @objc final public let currentPage: Swift.Int + @objc final public let totalPages: Swift.Int + @objc deinit + @objc override dynamic public init() +} +public protocol FlyBuyError : Foundation.LocalizedError { + var description: Swift.String { get } + var errorDescription: Swift.String? { get } +} +@objc public enum FlyBuyAPIErrorType : Swift.Int { + case invalidResponse + case responseError + public var description: Swift.String { + get + } + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objc(FlyBuyAPIError) public class FlyBuyAPIError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc final public let type: FlyBuy.FlyBuyAPIErrorType + @objc final public let statusCodeInt: Swift.Int + final public let statusCode: FlyBuy.HTTPStatusCode? + public var errorDescription: Swift.String? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc(FlyBuyClaimOrderInfo) open class ClaimOrderInfo : ObjectiveC.NSObject, Swift.Codable { + @objc public init(customerCarColor: Swift.String?, customerCarType: Swift.String?, customerLicensePlate: Swift.String?, customerName: Swift.String?, customerPhone: Swift.String?, pushToken: Swift.String) + @objc public init(customerInfo: FlyBuy.CustomerInfo, pushToken: Swift.String, pickupType: Swift.String?) + public func encode(to encoder: Swift.Encoder) throws + @objc deinit + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws +} +@objc(FlyBuyOrderEvent) open class OrderEvent : ObjectiveC.NSObject, Swift.Encodable { + public init(orderID: Swift.Int, location: CoreLocation.CLLocation, beacons: [FlyBuy.Beacon], etaSeconds: Foundation.NSNumber?) + @objc public init(orderID: Swift.Int, customerState: Swift.String, etaSeconds: Foundation.NSNumber?) + @objc public init(orderID: Swift.Int, state: Swift.String) + @objc public init(orderID: Swift.Int, locationAuthStatus: FlyBuy.LocationAuthStatus) + @objc public init(orderID: Swift.Int, customerRating: Swift.Int, customerComments: Swift.String?) + @objc deinit + @objc override dynamic public init() + open func encode(to encoder: Swift.Encoder) throws +} +public struct AppConfigData : Swift.Codable { + public let name: Swift.String? + public let pickupLocationFilters: FlyBuy.PickupLocationFilters? + public let pickupStates: FlyBuy.PickupStates? + public let notifyMaxSites: Swift.Int? + public let nearbySitesFeatureUrl: Swift.String? + public let upgrade: FlyBuy.AppUpgrade? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public struct BeaconRegion : Swift.Codable, Swift.Hashable { + public let uuid: Foundation.UUID + public let major: Swift.UInt16? + public let minor: Swift.UInt16? + public func region() -> CoreLocation.CLBeaconRegion + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + public static func == (a: FlyBuy.BeaconRegion, b: FlyBuy.BeaconRegion) -> Swift.Bool +} +public protocol FlyBuyModuleManager { + func configUpdated(_ config: FlyBuy.AppConfig) + func set(logLevel: FlyBuy.LogLevel) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FlyBuyCore) public class Core : ObjectiveC.NSObject { + @objc public static let orders: FlyBuy.OrdersManager + @objc public static let customer: FlyBuy.CustomerManager + @objc public static let sites: FlyBuy.SitesManager + @objc public static let config: FlyBuy.ConfigurationManager + @objc public static let logger: FlyBuy.Logger + @objc public static func configure(_ opts: [Swift.String : Any]) + @objc public static func handleRemoteNotification(_ data: [Swift.AnyHashable : Any]) + @objc public static func updatePushToken(_ newPushToken: Swift.String) + @objc public static func updateAPNPushToken(_ deviceToken: Foundation.Data) + @objc deinit +} +@usableFromInline +internal protocol _AnyDecodable { + var value: Any { get } + init(_ value: T?) +} +extension _AnyDecodable { + public init(from decoder: Swift.Decoder) throws +} +@_hasMissingDesignatedInitializers @objc(FlyBuyRequestPasswordReset) open class RequestPasswordReset : ObjectiveC.NSObject, Swift.Codable { + @objc deinit + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws + open func encode(to encoder: Swift.Encoder) throws +} +@objc(FlyBuySetNewPassword) open class SetNewPassword : ObjectiveC.NSObject, Swift.Codable { + @objc public init(resetPasswordToken: Swift.String, password: Swift.String, confirmation: Swift.String) + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws + @objc deinit + open func encode(to encoder: Swift.Encoder) throws +} +@_hasMissingDesignatedInitializers @objc(FlyBuyCustomer) open class Customer : ObjectiveC.NSObject, Swift.Decodable { + @objc final public let token: Swift.String + @objc final public let emailAddress: Swift.String? + @objc final public let info: FlyBuy.CustomerInfo + @objc public var registered: Swift.Bool { + @objc get + } + required public init(from decoder: Swift.Decoder) throws + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objc(FlyBuyConfigurationManager) public class ConfigurationManager : ObjectiveC.NSObject { + public func fetch(forceFetch: Swift.Bool = false) + @objc override dynamic public init() + @objc deinit +} +@objc(FlyBuyPickupWindow) public class PickupWindow : ObjectiveC.NSObject, Swift.Codable { + @objc final public let start: Foundation.Date + @objc final public let end: Foundation.Date + @objc public init(start: Foundation.Date, end: Foundation.Date) + @objc convenience public init(_ date: Foundation.Date) + required convenience public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + @objc override dynamic public init() + @objc deinit +} +public enum HTTPStatusCode : Swift.Int, Swift.Error { + case `continue` + case switchingProtocols + case processing + case ok + case created + case accepted + case nonAuthoritativeInformation + case noContent + case resetContent + case partialContent + case multiStatus + case alreadyReported + case IMUsed + case multipleChoices + case movedPermanently + case found + case seeOther + case notModified + case useProxy + case switchProxy + case temporaryRedirect + case permenantRedirect + case badRequest + case unauthorized + case paymentRequired + case forbidden + case notFound + case methodNotAllowed + case notAcceptable + case proxyAuthenticationRequired + case requestTimeout + case conflict + case gone + case lengthRequired + case preconditionFailed + case payloadTooLarge + case URITooLong + case unsupportedMediaType + case rangeNotSatisfiable + case expectationFailed + case teapot + case misdirectedRequest + case unprocessableEntity + case locked + case failedDependency + case appUpgradeRequired + case upgradeRequired + case preconditionRequired + case tooManyRequests + case requestHeaderFieldsTooLarge + case noResponse + case unavailableForLegalReasons + case SSLCertificateError + case SSLCertificateRequired + case HTTPRequestSentToHTTPSPort + case clientClosedRequest + case internalServerError + case notImplemented + case badGateway + case serviceUnavailable + case gatewayTimeout + case HTTPVersionNotSupported + case variantAlsoNegotiates + case insufficientStorage + case loopDetected + case notExtended + case networkAuthenticationRequired + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @objc(FlyBuySitesManager) open class SitesManager : ObjectiveC.NSObject { + @objc public var all: [FlyBuy.Site]? { + get + } + @objc public func fetch(query: Swift.String? = nil, page: Swift.Int = 1, callback: (([FlyBuy.Site]?, FlyBuy.Pagination?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func fetch(region: CoreLocation.CLCircularRegion, page: Swift.Int = 1, callback: (([FlyBuy.Site]?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func fetch(region: CoreLocation.CLCircularRegion, page: Swift.Int, per: Swift.Int, callback: (([FlyBuy.Site]?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func fetchAll(query: Swift.String? = nil, callback: (([FlyBuy.Site]?, Swift.Error?) -> (Swift.Void))? = nil) + @objc override dynamic public init() + @objc deinit +} +@_hasMissingDesignatedInitializers @objc(FlyBuySitesManagerError) public class SitesManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc deinit + @objc override dynamic public init() +} +extension Optional where Wrapped == Swift.String { + public var presence: Swift.String? { + get + } +} +extension String { + public var wordsFromCamelCase: Swift.String { + get + } + public var isBlank: Swift.Bool { + get + } +} +@objc public class AppUpgrade : ObjectiveC.NSObject, Swift.Codable { + final public let required: Swift.Bool + final public let url: Swift.String + final public let version: Swift.String + final public let message: Swift.String + @objc deinit + required public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +public struct PickupStates : Swift.Codable { + public let order: [Swift.String]? + public let openOrder: [Swift.String]? + public let customer: [Swift.String]? + public let openCustomer: [Swift.String]? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws +} +@_inheritsConvenienceInitializers @objc(FlyBuyOrdersManager) open class OrdersManager : ObjectiveC.NSObject { + @objc public var all: [FlyBuy.Order] { + @objc get + } + @objc public var open: [FlyBuy.Order] { + @objc get + } + @objc public var closed: [FlyBuy.Order] { + @objc get + } + @objc public var orderStates: [Swift.String] + @objc public var customerStates: [Swift.String] + @objc override dynamic public init() + @objc public func fetch(callback: (([FlyBuy.Order]?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func fetch(withRedemptionCode redemptionCode: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func claim(withRedemptionCode redemptionCode: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, state: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + public func event(info: FlyBuy.OrderEvent, callback: ((FlyBuy.Order?, Swift.Error?) -> ())? = nil) + @objc public func updateCustomerState(orderID: Swift.Int, customerState: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func updateOrderState(orderID: Swift.Int, state: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func rateOrder(orderID: Swift.Int, rating: Swift.Int, comments: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @objc deinit +} +extension NSNotification.Name { + public static let ordersUpdated: Foundation.Notification.Name + public static let ordersError: Foundation.Notification.Name + public static let orderUpdated: Foundation.Notification.Name + public static let orderEventError: Foundation.Notification.Name +} +@_hasMissingDesignatedInitializers @objc(FlyBuyOrdersManagerError) public class OrdersManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + public var errorDescription: Swift.String? + @objc deinit + @objc override dynamic public init() +} +@_inheritsConvenienceInitializers @objc(FlyBuyCustomerManager) public class CustomerManager : ObjectiveC.NSObject { + @objc public var current: FlyBuy.Customer? { + @objc get + } + @objc public func create(_ customerInfo: FlyBuy.CustomerInfo, termsOfService: Swift.Bool, ageVerification: Swift.Bool, callback: ((FlyBuy.Customer?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func create(_ customerInfo: FlyBuy.CustomerInfo, email: Swift.String, password: Swift.String, customerConsent: FlyBuy.CustomerConsent, callback: ((FlyBuy.Customer?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func update(_ customerInfo: FlyBuy.CustomerInfo, callback: ((FlyBuy.Customer?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func login(emailAddress: Swift.String, password: Swift.String, callback: ((FlyBuy.Customer?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func loginWithToken(token: Swift.String, callback: ((FlyBuy.Customer?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func signUp(emailAddress: Swift.String, password: Swift.String, callback: ((FlyBuy.Customer?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func requestNewPassword(emailAddress: Swift.String, callback: ((Swift.Error?) -> (Swift.Void))? = nil) + @objc public func setNewPassword(resetPasswordToken: Swift.String, password: Swift.String, confirmation: Swift.String, callback: ((FlyBuy.Customer?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func logout() + @objc override dynamic public init() + @objc deinit +} +@_hasMissingDesignatedInitializers @objc(FlyBuyCustomerManagerError) public class CustomerManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + public var errorDescription: Swift.String? + @objc override dynamic public init() + @objc deinit +} +@objc public enum LogLevel : Swift.Int { + case verbose + case debug + case info + case warning + case error + case none + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc(FlyBuyLogger) final public class Logger : ObjectiveC.NSObject { + final public var logLevel: FlyBuy.LogLevel + public init(name: Swift.String = "FlyBuySDK") + final public func verbose(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) + final public func debug(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) + final public func info(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) + final public func warning(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) + final public func error(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) + @objc override dynamic public init() + @objc deinit +} +public struct CustomerResponse : Swift.Decodable { + public init(from decoder: Swift.Decoder) throws +} +@objc(FlyBuySignUpInfo) open class SignUpInfo : ObjectiveC.NSObject, Swift.Codable { + @objc final public let emailAddress: Swift.String + @objc final public let password: Swift.String + @objc final public let passwordConfirmation: Swift.String + @objc public init(emailAddress: Swift.String, password: Swift.String, passwordConfirmation: Swift.String) + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws + @objc deinit + open func encode(to encoder: Swift.Encoder) throws +} +@objc(FlyBuyLoginInfo) open class LoginInfo : ObjectiveC.NSObject, Swift.Codable { + @objc final public let emailAddress: Swift.String + @objc final public let password: Swift.String + @objc public init(emailAddress: Swift.String, password: Swift.String) + @objc override dynamic public init() + required public init(from decoder: Swift.Decoder) throws + @objc deinit + open func encode(to encoder: Swift.Encoder) throws +} +@objc(FlyBuyOrder) open class Order : ObjectiveC.NSObject { + @objc final public let id: Swift.Int + @objc final public let siteID: Swift.Int + @objc public var state: Swift.String + @objc public var customerState: Swift.String + @objc final public let partnerIdentifier: Swift.String? + @objc final public let redemptionCode: Swift.String? + @objc final public let redeemedAt: Foundation.Date? + @objc final public let displayName: Swift.String? + @objc final public let pickupWindow: FlyBuy.PickupWindow? + @objc public var pickupType: Swift.String? + @objc public var etaAt: Foundation.Date? + @objc public var completedAt: Foundation.Date? + @objc public var createdAt: Foundation.Date? + @objc public var updatedAt: Foundation.Date? + @objc public var customerRating: Swift.String? + @objc public var customerComment: Swift.String? + @objc final public let siteName: Swift.String? + @objc final public let sitePhone: Swift.String? + @objc final public let siteStreetAddress: Swift.String? + @objc final public let siteFullAddress: Swift.String? + @objc final public let siteLocality: Swift.String? + @objc final public let siteRegion: Swift.String? + @objc final public let siteCountry: Swift.String? + @objc final public let sitePostalCode: Swift.String? + @objc final public let siteLongitude: Swift.String? + @objc final public let siteLatitude: Swift.String? + @objc final public let siteInstructions: Swift.String? + @objc final public let siteDescription: Swift.String? + @objc final public let siteCoverPhotoURL: Swift.String? + final public let siteBeaconRegions: [FlyBuy.BeaconRegion]? + @objc final public let sitePartnerIdentifier: Swift.String? + @objc final public let projectAccentColor: Swift.String? + @objc final public let projectAccentTextColor: Swift.String? + @objc final public let projectLogoURL: Swift.String? + @objc final public let customerName: Swift.String? + @objc final public let customerCarType: Swift.String? + @objc final public let customerCarColor: Swift.String? + @objc final public let customerLicensePlate: Swift.String? + @objc final public let projectMobileFlowAlwaysShowVehicleInfoFields: Swift.Bool + @objc final public let projectMobileFlowCustomerNameEditingEnabled: Swift.Bool + @objc final public let projectMobileFlowPickupTypeSelectionEnabled: Swift.Bool + @objc final public let projectMobileFlowRequireVehicleInfoIfVisible: Swift.Bool + @objc final public let curbsideLocalizedString: Swift.String? + @objc final public let pickupLocalizedString: Swift.String? + @objc public var pushToken: Swift.String? + public var isLocationTrackingEnabled: Swift.Bool? + required public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + @objc public func siteLocation() -> CoreLocation.CLLocation? + @objc public func siteDistance(from location: CoreLocation.CLLocation) -> Foundation.NSNumber? + @objc public var customerID: Foundation.NSNumber? { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension Order { + public func isOpen() -> Swift.Bool +} +extension FlyBuy.LocationAuthStatus : Swift.Equatable {} +extension FlyBuy.LocationAuthStatus : Swift.Hashable {} +extension FlyBuy.LocationAuthStatus : Swift.RawRepresentable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.Equatable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.Hashable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.RawRepresentable {} +extension FlyBuy.HTTPStatusCode : Swift.Equatable {} +extension FlyBuy.HTTPStatusCode : Swift.Hashable {} +extension FlyBuy.HTTPStatusCode : Swift.RawRepresentable {} +extension FlyBuy.LogLevel : Swift.Equatable {} +extension FlyBuy.LogLevel : Swift.Hashable {} +extension FlyBuy.LogLevel : Swift.RawRepresentable {} +extension FlyBuy.Order : Swift.Encodable {} +extension FlyBuy.Order : Swift.Decodable {} diff --git a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftdoc similarity index 99% rename from FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftdoc rename to FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index 8139e19..6254edf 100644 Binary files a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftinterface similarity index 93% rename from FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftinterface rename to FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index bf4f32c..040835c 100644 --- a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) // swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuy import CoreLocation @_exported import FlyBuy @@ -58,11 +58,11 @@ extension PickupLocationFilterData { open func encode(to encoder: Swift.Encoder) throws } public struct BeaconIdentifiers : Swift.Hashable, Swift.Codable { + public init(from decoder: Swift.Decoder) throws public var hashValue: Swift.Int { get } public func hash(into hasher: inout Swift.Hasher) - public init(from decoder: Swift.Decoder) throws public func encode(to encoder: Swift.Encoder) throws public static func == (a: FlyBuy.BeaconIdentifiers, b: FlyBuy.BeaconIdentifiers) -> Swift.Bool } @@ -72,7 +72,7 @@ extension Beacon : Swift.Encodable { public func encode(to encoder: Swift.Encoder) throws } @_inheritsConvenienceInitializers @objc(FlyBuyBeaconList) public class BeaconList : ObjectiveC.NSObject { - public var beacons: Swift.Dictionary + public var beacons: [FlyBuy.BeaconIdentifiers : FlyBuy.Beacon] public func addScan(identifiers ids: FlyBuy.BeaconIdentifiers, rssi: Swift.Int, distance: Swift.Float) public func addScan(_ beacon: CoreLocation.CLBeacon) public func addScans(_ scannedBeacons: [CoreLocation.CLBeacon]) @@ -178,32 +178,32 @@ open class EncodableRequest where EncodableObject : Swift.Encod @objc deinit @objc override dynamic public init() } -@objc open class FlyBuyError : ObjectiveC.NSObject, Foundation.LocalizedError { - public var errorDescription: Swift.String? { +public protocol FlyBuyError : Foundation.LocalizedError { + var description: Swift.String { get } + var errorDescription: Swift.String? { get } +} +@objc public enum FlyBuyAPIErrorType : Swift.Int { + case invalidResponse + case responseError + public var description: Swift.String { + get + } + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { get } - final public let title: Swift.String - public init(_ description: Swift.String?, context: Any? = nil) - convenience public init(_ error: Swift.Error?, context: Any? = nil) - @objc override dynamic public init() - @objc deinit -} -@_hasMissingDesignatedInitializers @objc public class FlyBuyErrorInvalidURL : FlyBuy.FlyBuyError { - @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) -} -@_hasMissingDesignatedInitializers @objc public class FlyBuyErrorInvalidResponse : FlyBuy.FlyBuyError { - @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) } -@_hasMissingDesignatedInitializers @objc public class FlyBuyAPIError : FlyBuy.FlyBuyError { +@_hasMissingDesignatedInitializers @objc(FlyBuyAPIError) public class FlyBuyAPIError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc final public let type: FlyBuy.FlyBuyAPIErrorType + @objc final public let statusCodeInt: Swift.Int final public let statusCode: FlyBuy.HTTPStatusCode? - public var errors: [Swift.String : [Swift.String]]? { - get + public var errorDescription: Swift.String? + @objc override dynamic public var description: Swift.String { + @objc get } - final public let appUpgradeURL: Foundation.URL? @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) + @objc override dynamic public init() } @objc(FlyBuyClaimOrderInfo) open class ClaimOrderInfo : ObjectiveC.NSObject, Swift.Codable { @objc public init(customerCarColor: Swift.String?, customerCarType: Swift.String?, customerLicensePlate: Swift.String?, customerName: Swift.String?, customerPhone: Swift.String?, pushToken: Swift.String) @@ -248,6 +248,7 @@ public struct BeaconRegion : Swift.Codable, Swift.Hashable { } public protocol FlyBuyModuleManager { func configUpdated(_ config: FlyBuy.AppConfig) + func set(logLevel: FlyBuy.LogLevel) } @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FlyBuyCore) public class Core : ObjectiveC.NSObject { @objc public static let orders: FlyBuy.OrdersManager @@ -393,6 +394,10 @@ public enum HTTPStatusCode : Swift.Int, Swift.Error { @objc override dynamic public init() @objc deinit } +@_hasMissingDesignatedInitializers @objc(FlyBuySitesManagerError) public class SitesManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc deinit + @objc override dynamic public init() +} extension Optional where Wrapped == Swift.String { public var presence: Swift.String? { get @@ -453,9 +458,10 @@ extension NSNotification.Name { public static let orderUpdated: Foundation.Notification.Name public static let orderEventError: Foundation.Notification.Name } -@_hasMissingDesignatedInitializers @objc(FlyBuyOrdersManagerError) public class OrdersManagerError : FlyBuy.FlyBuyError { +@_hasMissingDesignatedInitializers @objc(FlyBuyOrdersManagerError) public class OrdersManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + public var errorDescription: Swift.String? @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) + @objc override dynamic public init() } @_inheritsConvenienceInitializers @objc(FlyBuyCustomerManager) public class CustomerManager : ObjectiveC.NSObject { @objc public var current: FlyBuy.Customer? { @@ -473,8 +479,9 @@ extension NSNotification.Name { @objc override dynamic public init() @objc deinit } -@_hasMissingDesignatedInitializers @objc(FlyBuyCustomerManagerError) public class CustomerManagerError : FlyBuy.FlyBuyError { - override public init(_ description: Swift.String?, context: Any? = super) +@_hasMissingDesignatedInitializers @objc(FlyBuyCustomerManagerError) public class CustomerManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + public var errorDescription: Swift.String? + @objc override dynamic public init() @objc deinit } @objc public enum LogLevel : Swift.Int { @@ -490,8 +497,9 @@ extension NSNotification.Name { get } } -@_hasMissingDesignatedInitializers @objc(FlyBuyLogger) final public class Logger : ObjectiveC.NSObject { +@objc(FlyBuyLogger) final public class Logger : ObjectiveC.NSObject { final public var logLevel: FlyBuy.LogLevel + public init(name: Swift.String = "FlyBuySDK") final public func verbose(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) final public func debug(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) final public func info(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) @@ -585,6 +593,9 @@ extension Order { extension FlyBuy.LocationAuthStatus : Swift.Equatable {} extension FlyBuy.LocationAuthStatus : Swift.Hashable {} extension FlyBuy.LocationAuthStatus : Swift.RawRepresentable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.Equatable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.Hashable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.RawRepresentable {} extension FlyBuy.HTTPStatusCode : Swift.Equatable {} extension FlyBuy.HTTPStatusCode : Swift.Hashable {} extension FlyBuy.HTTPStatusCode : Swift.RawRepresentable {} diff --git a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64.swiftdoc b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64.swiftdoc similarity index 99% rename from FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64.swiftdoc rename to FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64.swiftdoc index 8139e19..6254edf 100644 Binary files a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64.swiftdoc and b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64.swiftdoc differ diff --git a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64.swiftinterface b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64.swiftinterface similarity index 93% rename from FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64.swiftinterface rename to FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64.swiftinterface index bf4f32c..040835c 100644 --- a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64.swiftinterface +++ b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) // swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuy import CoreLocation @_exported import FlyBuy @@ -58,11 +58,11 @@ extension PickupLocationFilterData { open func encode(to encoder: Swift.Encoder) throws } public struct BeaconIdentifiers : Swift.Hashable, Swift.Codable { + public init(from decoder: Swift.Decoder) throws public var hashValue: Swift.Int { get } public func hash(into hasher: inout Swift.Hasher) - public init(from decoder: Swift.Decoder) throws public func encode(to encoder: Swift.Encoder) throws public static func == (a: FlyBuy.BeaconIdentifiers, b: FlyBuy.BeaconIdentifiers) -> Swift.Bool } @@ -72,7 +72,7 @@ extension Beacon : Swift.Encodable { public func encode(to encoder: Swift.Encoder) throws } @_inheritsConvenienceInitializers @objc(FlyBuyBeaconList) public class BeaconList : ObjectiveC.NSObject { - public var beacons: Swift.Dictionary + public var beacons: [FlyBuy.BeaconIdentifiers : FlyBuy.Beacon] public func addScan(identifiers ids: FlyBuy.BeaconIdentifiers, rssi: Swift.Int, distance: Swift.Float) public func addScan(_ beacon: CoreLocation.CLBeacon) public func addScans(_ scannedBeacons: [CoreLocation.CLBeacon]) @@ -178,32 +178,32 @@ open class EncodableRequest where EncodableObject : Swift.Encod @objc deinit @objc override dynamic public init() } -@objc open class FlyBuyError : ObjectiveC.NSObject, Foundation.LocalizedError { - public var errorDescription: Swift.String? { +public protocol FlyBuyError : Foundation.LocalizedError { + var description: Swift.String { get } + var errorDescription: Swift.String? { get } +} +@objc public enum FlyBuyAPIErrorType : Swift.Int { + case invalidResponse + case responseError + public var description: Swift.String { + get + } + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { get } - final public let title: Swift.String - public init(_ description: Swift.String?, context: Any? = nil) - convenience public init(_ error: Swift.Error?, context: Any? = nil) - @objc override dynamic public init() - @objc deinit -} -@_hasMissingDesignatedInitializers @objc public class FlyBuyErrorInvalidURL : FlyBuy.FlyBuyError { - @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) -} -@_hasMissingDesignatedInitializers @objc public class FlyBuyErrorInvalidResponse : FlyBuy.FlyBuyError { - @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) } -@_hasMissingDesignatedInitializers @objc public class FlyBuyAPIError : FlyBuy.FlyBuyError { +@_hasMissingDesignatedInitializers @objc(FlyBuyAPIError) public class FlyBuyAPIError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc final public let type: FlyBuy.FlyBuyAPIErrorType + @objc final public let statusCodeInt: Swift.Int final public let statusCode: FlyBuy.HTTPStatusCode? - public var errors: [Swift.String : [Swift.String]]? { - get + public var errorDescription: Swift.String? + @objc override dynamic public var description: Swift.String { + @objc get } - final public let appUpgradeURL: Foundation.URL? @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) + @objc override dynamic public init() } @objc(FlyBuyClaimOrderInfo) open class ClaimOrderInfo : ObjectiveC.NSObject, Swift.Codable { @objc public init(customerCarColor: Swift.String?, customerCarType: Swift.String?, customerLicensePlate: Swift.String?, customerName: Swift.String?, customerPhone: Swift.String?, pushToken: Swift.String) @@ -248,6 +248,7 @@ public struct BeaconRegion : Swift.Codable, Swift.Hashable { } public protocol FlyBuyModuleManager { func configUpdated(_ config: FlyBuy.AppConfig) + func set(logLevel: FlyBuy.LogLevel) } @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FlyBuyCore) public class Core : ObjectiveC.NSObject { @objc public static let orders: FlyBuy.OrdersManager @@ -393,6 +394,10 @@ public enum HTTPStatusCode : Swift.Int, Swift.Error { @objc override dynamic public init() @objc deinit } +@_hasMissingDesignatedInitializers @objc(FlyBuySitesManagerError) public class SitesManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc deinit + @objc override dynamic public init() +} extension Optional where Wrapped == Swift.String { public var presence: Swift.String? { get @@ -453,9 +458,10 @@ extension NSNotification.Name { public static let orderUpdated: Foundation.Notification.Name public static let orderEventError: Foundation.Notification.Name } -@_hasMissingDesignatedInitializers @objc(FlyBuyOrdersManagerError) public class OrdersManagerError : FlyBuy.FlyBuyError { +@_hasMissingDesignatedInitializers @objc(FlyBuyOrdersManagerError) public class OrdersManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + public var errorDescription: Swift.String? @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) + @objc override dynamic public init() } @_inheritsConvenienceInitializers @objc(FlyBuyCustomerManager) public class CustomerManager : ObjectiveC.NSObject { @objc public var current: FlyBuy.Customer? { @@ -473,8 +479,9 @@ extension NSNotification.Name { @objc override dynamic public init() @objc deinit } -@_hasMissingDesignatedInitializers @objc(FlyBuyCustomerManagerError) public class CustomerManagerError : FlyBuy.FlyBuyError { - override public init(_ description: Swift.String?, context: Any? = super) +@_hasMissingDesignatedInitializers @objc(FlyBuyCustomerManagerError) public class CustomerManagerError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + public var errorDescription: Swift.String? + @objc override dynamic public init() @objc deinit } @objc public enum LogLevel : Swift.Int { @@ -490,8 +497,9 @@ extension NSNotification.Name { get } } -@_hasMissingDesignatedInitializers @objc(FlyBuyLogger) final public class Logger : ObjectiveC.NSObject { +@objc(FlyBuyLogger) final public class Logger : ObjectiveC.NSObject { final public var logLevel: FlyBuy.LogLevel + public init(name: Swift.String = "FlyBuySDK") final public func verbose(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) final public func debug(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) final public func info(_ message: Any = "", filename: Swift.String = #file, function: Swift.String = #function, line: Swift.Int = #line) @@ -585,6 +593,9 @@ extension Order { extension FlyBuy.LocationAuthStatus : Swift.Equatable {} extension FlyBuy.LocationAuthStatus : Swift.Hashable {} extension FlyBuy.LocationAuthStatus : Swift.RawRepresentable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.Equatable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.Hashable {} +extension FlyBuy.FlyBuyAPIErrorType : Swift.RawRepresentable {} extension FlyBuy.HTTPStatusCode : Swift.Equatable {} extension FlyBuy.HTTPStatusCode : Swift.Hashable {} extension FlyBuy.HTTPStatusCode : Swift.RawRepresentable {} diff --git a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Modules/module.modulemap b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/module.modulemap similarity index 100% rename from FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Modules/module.modulemap rename to FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/module.modulemap diff --git a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/_CodeSignature/CodeResources b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/_CodeSignature/CodeResources similarity index 61% rename from FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/_CodeSignature/CodeResources rename to FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/_CodeSignature/CodeResources index f4fcf8e..fd28657 100644 --- a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/_CodeSignature/CodeResources +++ b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Headers/FlyBuy-Swift.h - qsC02j9WkAU+VPzFYgAYiXTvdUI= + GeaoB1DhyklyhJTtBnAgqDoQNSE= Headers/FlyBuy.h @@ -14,31 +14,55 @@ Info.plist - V9X8VSsVqbt/gZKGleO3o6NNghQ= + +m9pB3pUerI6COVM64bkb7jpaOY= + + Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + eWO+6s/A1j0vLyh+EyXK2R1bV30= + + Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + ro27uwBMIR/rhsObx+lY2tRDZp0= + + Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + idrlewvOLcj5Qr2DBgESqRNjmX4= + + Modules/FlyBuy.swiftmodule/arm64.swiftdoc + + eWO+6s/A1j0vLyh+EyXK2R1bV30= + + Modules/FlyBuy.swiftmodule/arm64.swiftinterface + + ro27uwBMIR/rhsObx+lY2tRDZp0= + + Modules/FlyBuy.swiftmodule/arm64.swiftmodule + + idrlewvOLcj5Qr2DBgESqRNjmX4= Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - hJvqXCLIMAQJ2jyWclJIi+YFVr0= + R9jZEbKJhvU6sPYJ5VcRisPro10= Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - pZXIJ1EUwLLpy4t+V8sPbmEKmFo= + 5x797pGueQSLbhRHoSFf0ULvSFc= Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - AmviMX0CvqXHZ1miJ5zWdpMlm2A= + rC50YkJ9rHnf18hkA+hx4UpokH8= Modules/FlyBuy.swiftmodule/x86_64.swiftdoc - hJvqXCLIMAQJ2jyWclJIi+YFVr0= + R9jZEbKJhvU6sPYJ5VcRisPro10= Modules/FlyBuy.swiftmodule/x86_64.swiftinterface - pZXIJ1EUwLLpy4t+V8sPbmEKmFo= + 5x797pGueQSLbhRHoSFf0ULvSFc= Modules/FlyBuy.swiftmodule/x86_64.swiftmodule - AmviMX0CvqXHZ1miJ5zWdpMlm2A= + rC50YkJ9rHnf18hkA+hx4UpokH8= Modules/module.modulemap @@ -51,7 +75,7 @@ hash2 - 0LQLPSdbntJ7HyyitHgUSI1qEtjjc/qQJq3WLTUfa7A= + M82/pDfuu7RPL3EFI/6nCUb5FSJatFGwIAfQz8YeVWY= Headers/FlyBuy.h @@ -61,46 +85,88 @@ JLpiSGCaaq6cIpefw9zyAE0tQ7OTD03kRqj2e08DmEM= + Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + DtvdRgVXVHqdDhyzHyQk3m5vayuX1tGz4TWgkXT7Qag= + + + Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + uFYlxMpBPiPNuU+MpcuKiN8/d95yzwLNVjmA2GAMUyw= + + + Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + eIkvDq20T9yWRWl/mVA/L/puchsENnKMebJxgaoSNZM= + + + Modules/FlyBuy.swiftmodule/arm64.swiftdoc + + hash2 + + DtvdRgVXVHqdDhyzHyQk3m5vayuX1tGz4TWgkXT7Qag= + + + Modules/FlyBuy.swiftmodule/arm64.swiftinterface + + hash2 + + uFYlxMpBPiPNuU+MpcuKiN8/d95yzwLNVjmA2GAMUyw= + + + Modules/FlyBuy.swiftmodule/arm64.swiftmodule + + hash2 + + eIkvDq20T9yWRWl/mVA/L/puchsENnKMebJxgaoSNZM= + + Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - 1Rh6qhTzvtSZLDse/+4MNGw5Lg+5Q7U33wiXsFQ97yI= + rp699Fkj61U3BBZdI7/+DwXu/kGb4BESRf6k6taa5ZU= Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - 8+l/7dr/oKd/Ua5A78y92RwwcyuyGYXROoKP3NMsS4g= + ItNzowLq/EAacRwzBIm7yQySLElVgQWiVlAuVN4jwb0= Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - edxo+GWVkAO8LyNPL6UIlhBJhpXO11syGYue5qUpDlw= + 3AbxtVwb3kJiYQEzpI8LDUKbVQDkyhTnF0Bl2IEo4tI= Modules/FlyBuy.swiftmodule/x86_64.swiftdoc hash2 - 1Rh6qhTzvtSZLDse/+4MNGw5Lg+5Q7U33wiXsFQ97yI= + rp699Fkj61U3BBZdI7/+DwXu/kGb4BESRf6k6taa5ZU= Modules/FlyBuy.swiftmodule/x86_64.swiftinterface hash2 - 8+l/7dr/oKd/Ua5A78y92RwwcyuyGYXROoKP3NMsS4g= + ItNzowLq/EAacRwzBIm7yQySLElVgQWiVlAuVN4jwb0= Modules/FlyBuy.swiftmodule/x86_64.swiftmodule hash2 - edxo+GWVkAO8LyNPL6UIlhBJhpXO11syGYue5qUpDlw= + 3AbxtVwb3kJiYQEzpI8LDUKbVQDkyhTnF0Bl2IEo4tI= Modules/module.modulemap diff --git a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/FlyBuy b/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/FlyBuy deleted file mode 100644 index 57c9b20..0000000 Binary files a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/FlyBuy and /dev/null differ diff --git a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Headers/FlyBuy-Swift.h b/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Headers/FlyBuy-Swift.h deleted file mode 100644 index 138dd46..0000000 --- a/FlyBuy.xcframework/ios-x86_64-simulator/FlyBuy.framework/Headers/FlyBuy-Swift.h +++ /dev/null @@ -1,795 +0,0 @@ -// Generated by Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -@import Foundation; -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FlyBuy",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - - -SWIFT_CLASS("_TtC6FlyBuy10AppUpgrade") -@interface AppUpgrade : NSObject -@end - - -SWIFT_CLASS_NAMED("BeaconList") -@interface FlyBuyBeaconList : NSObject -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - - -@class FlyBuyCustomerInfo; - -SWIFT_CLASS_NAMED("ClaimOrderInfo") -@interface FlyBuyClaimOrderInfo : NSObject -- (nonnull instancetype)initWithCustomerCarColor:(NSString * _Nullable)customerCarColor customerCarType:(NSString * _Nullable)customerCarType customerLicensePlate:(NSString * _Nullable)customerLicensePlate customerName:(NSString * _Nullable)customerName customerPhone:(NSString * _Nullable)customerPhone pushToken:(NSString * _Nonnull)pushToken OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)initWithCustomerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pushToken:(NSString * _Nonnull)pushToken pickupType:(NSString * _Nullable)pickupType OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -SWIFT_CLASS_NAMED("ConfigurationManager") -@interface FlyBuyConfigurationManager : NSObject -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - -@class FlyBuyOrdersManager; -@class FlyBuyCustomerManager; -@class FlyBuySitesManager; -@class FlyBuyLogger; - -SWIFT_CLASS_NAMED("Core") -@interface FlyBuyCore : NSObject -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyOrdersManager * _Nonnull orders;) -+ (FlyBuyOrdersManager * _Nonnull)orders SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyCustomerManager * _Nonnull customer;) -+ (FlyBuyCustomerManager * _Nonnull)customer SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuySitesManager * _Nonnull sites;) -+ (FlyBuySitesManager * _Nonnull)sites SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyConfigurationManager * _Nonnull config;) -+ (FlyBuyConfigurationManager * _Nonnull)config SWIFT_WARN_UNUSED_RESULT; -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyLogger * _Nonnull logger;) -+ (FlyBuyLogger * _Nonnull)logger SWIFT_WARN_UNUSED_RESULT; -/// Configures FlyBuy with the given options -/// Example: -/// \code -/// FlyBuy.configure(["token": "TOKEN_HERE"]) -/// -/// \endcode -+ (void)configure:(NSDictionary * _Nonnull)opts; -/// handles a remote notification which may contain FlyBuy order data -/// \param data contains the userInfo data from a remote notification -/// -+ (void)handleRemoteNotification:(NSDictionary * _Nonnull)data; -/// Updates the push token that FlyBuy uses to send push messages to the app. -+ (void)updatePushToken:(NSString * _Nonnull)newPushToken; -/// Updates the APNs device token that FlyBuy uses to send pushes to the app. This should only be used -/// when FlyBuy is configured to send pushes through APNs directly. If using a 3rd party service such as -/// Airship, OneSignal, etc, the correct method to call is updatePushToken. -+ (void)updateAPNPushToken:(NSData * _Nonnull)deviceToken; -@end - - - -@class FlyBuyPickupWindow; - -SWIFT_CLASS_NAMED("CreateOrderInfo") -@interface FlyBuyCreateOrderInfo : NSObject -- (nonnull instancetype)initWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerCarColor:(NSString * _Nullable)customerCarColor customerCarType:(NSString * _Nullable)customerCarType customerLicensePlate:(NSString * _Nullable)customerLicensePlate customerName:(NSString * _Nullable)customerName customerPhone:(NSString * _Nullable)customerPhone pushToken:(NSString * _Nullable)pushToken state:(NSString * _Nullable)state pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)initWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerCarColor:(NSString * _Nullable)customerCarColor customerCarType:(NSString * _Nullable)customerCarType customerLicensePlate:(NSString * _Nullable)customerLicensePlate customerName:(NSString * _Nullable)customerName customerPhone:(NSString * _Nullable)customerPhone pushToken:(NSString * _Nullable)pushToken pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -SWIFT_CLASS_NAMED("Customer") -@interface FlyBuyCustomer : NSObject -@property (nonatomic, readonly, copy) NSString * _Nonnull token; -@property (nonatomic, readonly, copy) NSString * _Nullable emailAddress; -@property (nonatomic, readonly, strong) FlyBuyCustomerInfo * _Nonnull info; -@property (nonatomic, readonly) BOOL registered; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -SWIFT_CLASS_NAMED("CustomerConsent") -@interface FlyBuyCustomerConsent : NSObject -@property (nonatomic, readonly) BOOL termsOfService; -@property (nonatomic, readonly) BOOL ageVerification; -- (nonnull instancetype)initWithTermsOfService:(BOOL)termsOfService ageVerification:(BOOL)ageVerification OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -SWIFT_CLASS_NAMED("CustomerInfo") -@interface FlyBuyCustomerInfo : NSObject -@property (nonatomic, readonly, copy) NSString * _Nonnull name; -@property (nonatomic, readonly, copy) NSString * _Nullable carType; -@property (nonatomic, readonly, copy) NSString * _Nullable carColor; -@property (nonatomic, readonly, copy) NSString * _Nullable licensePlate; -@property (nonatomic, readonly, copy) NSString * _Nullable phone; -- (nonnull instancetype)initWithName:(NSString * _Nonnull)name carType:(NSString * _Nullable)carType carColor:(NSString * _Nullable)carColor licensePlate:(NSString * _Nullable)licensePlate phone:(NSString * _Nullable)phone OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -/// Allows managing the customer: creating, storing, updating, signing-out -/// Example: -/// \code -/// // get the current FlyBuy customer -/// Core.customer.current -/// -/// \endcode -SWIFT_CLASS_NAMED("CustomerManager") -@interface FlyBuyCustomerManager : NSObject -@property (nonatomic, readonly, strong) FlyBuyCustomer * _Nullable current; -/// create a FlyBuy customer -/// \param customerInfo contains the customer details -/// -/// \param termsOfService user has accepted the terms of service -/// -/// \param ageVerification user is of age to provide consent -/// -/// \param callback Called with the new Customer or any error encountered. Optional. -/// -- (void)create:(FlyBuyCustomerInfo * _Nonnull)customerInfo termsOfService:(BOOL)termsOfService ageVerification:(BOOL)ageVerification callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; -/// create a FlyBuy customer -/// \param customerInfo contains the customer details -/// -/// \param email email provided by the user -/// -/// \param password password provided by the user -/// -/// \param customerConsent contains the values of ‘termsOfService’ and ‘ageVerification’ -/// -/// \param callback Called with the new Customer or any error encountered. Optional. -/// -- (void)create:(FlyBuyCustomerInfo * _Nonnull)customerInfo email:(NSString * _Nonnull)email password:(NSString * _Nonnull)password customerConsent:(FlyBuyCustomerConsent * _Nonnull)customerConsent callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; -/// update a FlyBuy customer -/// \param customerInfo contains the customer details -/// -/// \param callback Called with the updated Customer or any error encountered. Optional. -/// -- (void)update:(FlyBuyCustomerInfo * _Nonnull)customerInfo callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; -/// Login as a FlyBuy customer -/// \param emailAddress the account email -/// -/// \param password the account password -/// -/// \param callback Called with the Customer or any error encountered. Optional. -/// -- (void)loginWithEmailAddress:(NSString * _Nonnull)emailAddress password:(NSString * _Nonnull)password callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; -/// Login as a FlyBuy customer with a token -/// \param token the account token -/// -/// \param callback Called with the Customer or any error encountered. Optional. -/// -- (void)loginWithTokenWithToken:(NSString * _Nonnull)token callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; -/// Convert the current customer (an anonymous account) to a registered account -/// \param emailAddress the account email -/// -/// \param password the account password -/// -/// \param callback Called with the Customer or any error encountered. Optional. -/// -- (void)signUpWithEmailAddress:(NSString * _Nonnull)emailAddress password:(NSString * _Nonnull)password callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; -/// Request password reset for an email address -/// \param emailAddress the account email -/// -/// \param callback Called with any error encountered. Optional. -/// -- (void)requestNewPasswordWithEmailAddress:(NSString * _Nonnull)emailAddress callback:(void (^ _Nullable)(NSError * _Nullable))callback; -/// Perform password change for an email address -/// \param resetPasswordToken the token for the new password -/// -/// \param password the account password -/// -/// \param confirmation the account password confirmation -/// -/// \param callback Called with the Customer or any error encountered. Optional. -/// -- (void)setNewPasswordWithResetPasswordToken:(NSString * _Nonnull)resetPasswordToken password:(NSString * _Nonnull)password confirmation:(NSString * _Nonnull)confirmation callback:(void (^ _Nullable)(FlyBuyCustomer * _Nullable, NSError * _Nullable))callback; -/// Signs out the FlyBuy user -- (void)logout; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - -SWIFT_CLASS("_TtC6FlyBuy11FlyBuyError") -@interface FlyBuyError : NSObject -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -SWIFT_CLASS_NAMED("CustomerManagerError") -@interface FlyBuyCustomerManagerError : FlyBuyError -@end - - - - -SWIFT_CLASS("_TtC6FlyBuy14FlyBuyAPIError") -@interface FlyBuyAPIError : FlyBuyError -@end - - - -SWIFT_CLASS("_TtC6FlyBuy26FlyBuyErrorInvalidResponse") -@interface FlyBuyErrorInvalidResponse : FlyBuyError -@end - - -SWIFT_CLASS("_TtC6FlyBuy21FlyBuyErrorInvalidURL") -@interface FlyBuyErrorInvalidURL : FlyBuyError -@end - - -SWIFT_CLASS_NAMED("Geofence") -@interface FlyBuyGeofence : NSObject -@property (nonatomic, readonly, copy) NSString * _Nonnull latitude; -@property (nonatomic, readonly, copy) NSString * _Nonnull longitude; -@property (nonatomic, readonly) double radiusMeters; -@end - - - -typedef SWIFT_ENUM(NSInteger, LocationAuthStatus, open) { - LocationAuthStatusNotDetermined = 0, - LocationAuthStatusRestricted = 1, - LocationAuthStatusDenied = 2, - LocationAuthStatusAuthorizedAlways = 3, - LocationAuthStatusAuthorizedWhenInUse = 4, -}; - -typedef SWIFT_ENUM(NSInteger, LogLevel, open) { - LogLevelVerbose = 0, - LogLevelDebug = 1, - LogLevelInfo = 2, - LogLevelWarning = 3, - LogLevelError = 4, - LogLevelNone = 5, -}; - - -SWIFT_CLASS_NAMED("Logger") -@interface FlyBuyLogger : NSObject -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - - - - - -SWIFT_CLASS_NAMED("LoginInfo") -@interface FlyBuyLoginInfo : NSObject -@property (nonatomic, readonly, copy) NSString * _Nonnull emailAddress; -@property (nonatomic, readonly, copy) NSString * _Nonnull password; -- (nonnull instancetype)initWithEmailAddress:(NSString * _Nonnull)emailAddress password:(NSString * _Nonnull)password OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - -@class CLLocation; -@class NSNumber; - -SWIFT_CLASS_NAMED("Order") -@interface FlyBuyOrder : NSObject -@property (nonatomic, readonly) NSInteger id; -@property (nonatomic, readonly) NSInteger siteID; -@property (nonatomic, copy) NSString * _Nonnull state; -@property (nonatomic, copy) NSString * _Nonnull customerState; -@property (nonatomic, readonly, copy) NSString * _Nullable partnerIdentifier; -@property (nonatomic, readonly, copy) NSString * _Nullable redemptionCode; -@property (nonatomic, readonly, copy) NSDate * _Nullable redeemedAt; -@property (nonatomic, readonly, copy) NSString * _Nullable displayName; -@property (nonatomic, readonly, strong) FlyBuyPickupWindow * _Nullable pickupWindow; -@property (nonatomic, copy) NSString * _Nullable pickupType; -@property (nonatomic, copy) NSDate * _Nullable etaAt; -@property (nonatomic, copy) NSDate * _Nullable completedAt; -@property (nonatomic, copy) NSDate * _Nullable createdAt; -@property (nonatomic, copy) NSDate * _Nullable updatedAt; -@property (nonatomic, copy) NSString * _Nullable customerRating; -@property (nonatomic, copy) NSString * _Nullable customerComment; -@property (nonatomic, readonly, copy) NSString * _Nullable siteName; -@property (nonatomic, readonly, copy) NSString * _Nullable sitePhone; -@property (nonatomic, readonly, copy) NSString * _Nullable siteStreetAddress; -@property (nonatomic, readonly, copy) NSString * _Nullable siteFullAddress; -@property (nonatomic, readonly, copy) NSString * _Nullable siteLocality; -@property (nonatomic, readonly, copy) NSString * _Nullable siteRegion; -@property (nonatomic, readonly, copy) NSString * _Nullable siteCountry; -@property (nonatomic, readonly, copy) NSString * _Nullable sitePostalCode; -@property (nonatomic, readonly, copy) NSString * _Nullable siteLongitude; -@property (nonatomic, readonly, copy) NSString * _Nullable siteLatitude; -@property (nonatomic, readonly, copy) NSString * _Nullable siteInstructions; -@property (nonatomic, readonly, copy) NSString * _Nullable siteDescription; -@property (nonatomic, readonly, copy) NSString * _Nullable siteCoverPhotoURL; -@property (nonatomic, readonly, copy) NSString * _Nullable sitePartnerIdentifier; -@property (nonatomic, readonly, copy) NSString * _Nullable projectAccentColor; -@property (nonatomic, readonly, copy) NSString * _Nullable projectAccentTextColor; -@property (nonatomic, readonly, copy) NSString * _Nullable projectLogoURL; -@property (nonatomic, readonly, copy) NSString * _Nullable customerName; -@property (nonatomic, readonly, copy) NSString * _Nullable customerCarType; -@property (nonatomic, readonly, copy) NSString * _Nullable customerCarColor; -@property (nonatomic, readonly, copy) NSString * _Nullable customerLicensePlate; -@property (nonatomic, readonly) BOOL projectMobileFlowAlwaysShowVehicleInfoFields; -@property (nonatomic, readonly) BOOL projectMobileFlowCustomerNameEditingEnabled; -@property (nonatomic, readonly) BOOL projectMobileFlowPickupTypeSelectionEnabled; -@property (nonatomic, readonly) BOOL projectMobileFlowRequireVehicleInfoIfVisible; -@property (nonatomic, readonly, copy) NSString * _Nullable curbsideLocalizedString; -@property (nonatomic, readonly, copy) NSString * _Nullable pickupLocalizedString; -@property (nonatomic, copy) NSString * _Nullable pushToken; -- (CLLocation * _Nullable)siteLocation SWIFT_WARN_UNUSED_RESULT; -- (NSNumber * _Nullable)siteDistanceFrom:(CLLocation * _Nonnull)location SWIFT_WARN_UNUSED_RESULT; -@property (nonatomic, readonly, strong) NSNumber * _Nullable customerID; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - - - - - - - -SWIFT_CLASS_NAMED("OrderEvent") -@interface FlyBuyOrderEvent : NSObject -- (nonnull instancetype)initWithOrderID:(NSInteger)orderID customerState:(NSString * _Nonnull)customerState etaSeconds:(NSNumber * _Nullable)etaSeconds OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)initWithOrderID:(NSInteger)orderID state:(NSString * _Nonnull)state OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)initWithOrderID:(NSInteger)orderID locationAuthStatus:(enum LocationAuthStatus)locationAuthStatus OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)initWithOrderID:(NSInteger)orderID customerRating:(NSInteger)customerRating customerComments:(NSString * _Nullable)customerComments OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -/// Allows fetching the list of orders, creating a new order, or creating -/// order events. -/// Example: -/// \code -/// // fetch orders from FlyBuy -/// Core.orders.fetch() -/// -/// \endcode -SWIFT_CLASS_NAMED("OrdersManager") -@interface FlyBuyOrdersManager : NSObject -/// contains a list of all the orders -@property (nonatomic, readonly, copy) NSArray * _Nonnull all; -/// contains a list of all currently open orders -@property (nonatomic, readonly, copy) NSArray * _Nonnull open; -/// contains a list of all closed orders -@property (nonatomic, readonly, copy) NSArray * _Nonnull closed; -/// contains the order states values -@property (nonatomic, copy) NSArray * _Nonnull orderStates; -/// contains the customer states values -@property (nonatomic, copy) NSArray * _Nonnull customerStates; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -/// fetches the list of orders from the FlyBuy web API -/// \param callback will get called on completion with the array of orders or any errors encountered. Optional. -/// -- (void)fetchWithCallback:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))callback; -/// fetches an order using a redemption code -/// \param redemptionCode the redemption code for the order -/// -/// \param callback will get called on completion with the array of orders or any errors encountered. Optional. -/// -- (void)fetchWithRedemptionCode:(NSString * _Nonnull)redemptionCode callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Claims an order using a redemption code and pickup type -/// \param redemptionCode the redemption code for the order -/// -/// \param customerInfo the customer details for the order -/// -/// \param pickupType the pickup type string value for the order. Optional. -/// -/// \param callback will get called on completion with the order and any errors encountered. Optional. -/// -- (void)claimWithRedemptionCode:(NSString * _Nonnull)redemptionCode customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// creates an order using the FlyBuy web API -/// \param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param state initial order state -/// -/// \param callback called once either an order is created or an error is encountered. Optional. -/// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// creates an order using the FlyBuy web API -/// \param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param callback called once either an order is created or an error is encountered. Optional. -/// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// creates an order event that sets the customer state -/// \param orderID specifies which order ID this event relates to -/// -/// \param customerState contains the customer state which should be set on the order -/// -/// \param callback Gets called at completion with the order or any error encountered. Optional. -/// -- (void)updateCustomerStateWithOrderID:(NSInteger)orderID customerState:(NSString * _Nonnull)customerState callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// creates an order event that sets the order state -/// \param orderID specifies which order ID this event relates to -/// -/// \param state contains the order state which should be set on the order -/// -/// \param callback Gets called at completion with the order or any error encountered. Optional. -/// -- (void)updateOrderStateWithOrderID:(NSInteger)orderID state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// creates an order event that sets the customer state -/// \param orderID specifies which order ID this event relates to -/// -/// \param rating the rating number -/// -/// \param comments the comment string. Optional. -/// -/// \param callback Gets called at completion with the order or any error encountered. Optional. -/// -- (void)rateOrderWithOrderID:(NSInteger)orderID rating:(NSInteger)rating comments:(NSString * _Nullable)comments callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -@end - - - - - - -SWIFT_CLASS_NAMED("OrdersManagerError") -@interface FlyBuyOrdersManagerError : FlyBuyError -@end - - -SWIFT_CLASS_NAMED("Pagination") -@interface FlyBuyPagination : NSObject -@property (nonatomic, readonly) NSInteger currentPage; -@property (nonatomic, readonly) NSInteger totalPages; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -SWIFT_CLASS_NAMED("PickupWindow") -@interface FlyBuyPickupWindow : NSObject -@property (nonatomic, readonly, copy) NSDate * _Nonnull start; -@property (nonatomic, readonly, copy) NSDate * _Nonnull end; -- (nonnull instancetype)initWithStart:(NSDate * _Nonnull)start end:(NSDate * _Nonnull)end OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init:(NSDate * _Nonnull)date; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -SWIFT_CLASS_NAMED("RequestPasswordReset") -@interface FlyBuyRequestPasswordReset : NSObject -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -SWIFT_CLASS_NAMED("SetNewPassword") -@interface FlyBuySetNewPassword : NSObject -- (nonnull instancetype)initWithResetPasswordToken:(NSString * _Nonnull)resetPasswordToken password:(NSString * _Nonnull)password confirmation:(NSString * _Nonnull)confirmation OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -SWIFT_CLASS_NAMED("SignUpInfo") -@interface FlyBuySignUpInfo : NSObject -@property (nonatomic, readonly, copy) NSString * _Nonnull emailAddress; -@property (nonatomic, readonly, copy) NSString * _Nonnull password; -@property (nonatomic, readonly, copy) NSString * _Nonnull passwordConfirmation; -- (nonnull instancetype)initWithEmailAddress:(NSString * _Nonnull)emailAddress password:(NSString * _Nonnull)password passwordConfirmation:(NSString * _Nonnull)passwordConfirmation OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - -SWIFT_CLASS_NAMED("Site") -@interface FlyBuySite : NSObject -@property (nonatomic, readonly) NSInteger id; -@property (nonatomic, readonly, copy) NSString * _Nullable partnerIdentifier; -@property (nonatomic, readonly, copy) NSString * _Nullable name; -@property (nonatomic, readonly, copy) NSString * _Nullable phone; -@property (nonatomic, readonly, copy) NSString * _Nullable streetAddress; -@property (nonatomic, readonly, copy) NSString * _Nullable fullAddress; -@property (nonatomic, readonly, copy) NSString * _Nullable locality; -@property (nonatomic, readonly, copy) NSString * _Nullable region; -@property (nonatomic, readonly, copy) NSString * _Nullable country; -@property (nonatomic, readonly, copy) NSString * _Nullable postalCode; -@property (nonatomic, readonly, copy) NSString * _Nullable longitude; -@property (nonatomic, readonly, copy) NSString * _Nullable latitude; -@property (nonatomic, readonly, copy) NSString * _Nullable instructions; -@property (nonatomic, readonly, copy) NSString * _Nullable descriptionText; -@property (nonatomic, readonly, copy) NSString * _Nullable coverPhotoURL; -@property (nonatomic, readonly, copy) NSString * _Nullable projectAccentColor; -@property (nonatomic, readonly, copy) NSString * _Nullable projectAccentTextColor; -@property (nonatomic, readonly, copy) NSString * _Nullable projectLogoURL; -@property (nonatomic, readonly, strong) FlyBuyGeofence * _Nullable geofence; -- (CLLocation * _Nullable)location SWIFT_WARN_UNUSED_RESULT; -- (NSNumber * _Nullable)distanceFrom:(CLLocation * _Nonnull)loc SWIFT_WARN_UNUSED_RESULT; -@end - -@class CLCircularRegion; - -/// Allows fetching the list of sites -/// Example: -/// \code -/// // fetch sites from FlyBuy -/// FlyBuy.sites.fetch() -/// -/// \endcode -SWIFT_CLASS_NAMED("SitesManager") -@interface FlyBuySitesManager : NSObject -@property (nonatomic, readonly, copy) NSArray * _Nullable all; -/// fetches the list of sites from the FlyBuy web API -/// \param query the query string. Optional. -/// -/// \param page the desired page number. Optional. -/// -/// \param callback will get called on completion with the array of sites or any errors encountered. Optional. -/// -- (void)fetchWithQuery:(NSString * _Nullable)query page:(NSInteger)page callback:(void (^ _Nullable)(NSArray * _Nullable, FlyBuyPagination * _Nullable, NSError * _Nullable))callback; -/// fetches the list of sites from the FlyBuy web API -/// \param region a CLCircularRegion for the search region. -/// -/// \param page the desired page number. Optional. -/// -/// \param callback will get called on completion with the array of sites or any errors encountered. Optional. -/// -- (void)fetchWithRegion:(CLCircularRegion * _Nonnull)region page:(NSInteger)page callback:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))callback; -/// fetches the list of sites from the FlyBuy web API -/// \param region a CLCircularRegion for the search region. -/// -/// \param page the desired page number. -/// -/// \param per the amount of sites returned per page. -/// -/// \param callback will get called on completion with the array of sites or any errors encountered. Optional. -/// -- (void)fetchWithRegion:(CLCircularRegion * _Nonnull)region page:(NSInteger)page per:(NSInteger)per callback:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))callback; -/// fetches the list of sites from the FlyBuy web API -/// \param query the query string. Optional. -/// -/// \param callback will get called on completion with the array of sites and any errors encountered. Optional. -/// -- (void)fetchAllWithQuery:(NSString * _Nullable)query callback:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))callback; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - - - -SWIFT_CLASS_NAMED("UpdateOrderInfo") -@interface FlyBuyUpdateOrderInfo : NSObject -- (nonnull instancetype)initWithPushToken:(NSString * _Nonnull)pushToken OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - - - - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop diff --git a/FlyBuyNotify.xcframework/Info.plist b/FlyBuyNotify.xcframework/Info.plist index f8ddc62..303291d 100644 --- a/FlyBuyNotify.xcframework/Info.plist +++ b/FlyBuyNotify.xcframework/Info.plist @@ -6,11 +6,12 @@ LibraryIdentifier - ios-x86_64-simulator + ios-arm64_x86_64-simulator LibraryPath FlyBuyNotify.framework SupportedArchitectures + arm64 x86_64 SupportedPlatform diff --git a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/FlyBuyNotify b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/FlyBuyNotify index 5115a92..6db43f7 100644 Binary files a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/FlyBuyNotify and b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/FlyBuyNotify differ diff --git a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h index 1ba4759..23e0ac3 100644 --- a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h +++ b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h @@ -1,4 +1,6 @@ -// Generated by Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +#ifndef FLYBUYNOTIFY_SWIFT_H +#define FLYBUYNOTIFY_SWIFT_H #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wgcc-compat" @@ -226,8 +228,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyNotify - - SWIFT_CLASS("_TtC12FlyBuyNotify16NotificationInfo") @interface NotificationInfo : NSObject @property (nonatomic, readonly, copy) NSString * _Nonnull title; @@ -237,7 +237,25 @@ SWIFT_CLASS("_TtC12FlyBuyNotify16NotificationInfo") + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end +enum NotifyErrorType : NSInteger; + +SWIFT_CLASS_NAMED("NotifyError") +@interface FlyBuyNotifyError : NSObject +@property (nonatomic, readonly) enum NotifyErrorType type; +- (nonnull instancetype)init:(enum NotifyErrorType)typeIn OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +typedef SWIFT_ENUM(NSInteger, NotifyErrorType, open) { + NotifyErrorTypeNoLocationPermission = 0, + NotifyErrorTypeReachedTheMaxNumberOfSites = 1, + NotifyErrorTypeNotifyModuleNotConfigured = 2, +}; + #if __has_attribute(external_source_symbol) # pragma clang attribute pop #endif #pragma clang diagnostic pop +#endif diff --git a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Info.plist b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Info.plist index e61af31..db4d09d 100644 Binary files a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Info.plist and b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Info.plist differ diff --git a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios.swiftdoc b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios.swiftdoc index 42aaaa7..3935383 100644 Binary files a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios.swiftdoc and b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios.swiftinterface b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios.swiftinterface index 205e671..12c685e 100644 --- a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios.swiftinterface +++ b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) // swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyNotify import CoreLocation import FlyBuy @@ -25,10 +25,32 @@ import UserNotifications @objc public func isFlyBuyNotifyUserInfo(_ userInfo: [Swift.AnyHashable : Any]) -> Swift.Bool @objc override dynamic public init() } -@_hasMissingDesignatedInitializers public class NotifyManagerError : FlyBuy.FlyBuyError { - @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) -} extension Manager : FlyBuy.FlyBuyModuleManager { + public func set(logLevel: FlyBuy.LogLevel) public func configUpdated(_ config: FlyBuy.AppConfig) } +@objc public enum NotifyErrorType : Swift.Int { + case noLocationPermission + case reachedTheMaxNumberOfSites + case notifyModuleNotConfigured + public var description: Swift.String { + get + } + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc(FlyBuyNotifyError) public class NotifyError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc final public let type: FlyBuyNotify.NotifyErrorType + @objc public init(_ typeIn: FlyBuyNotify.NotifyErrorType) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension FlyBuyNotify.NotifyErrorType : Swift.Equatable {} +extension FlyBuyNotify.NotifyErrorType : Swift.Hashable {} +extension FlyBuyNotify.NotifyErrorType : Swift.RawRepresentable {} diff --git a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64.swiftdoc b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64.swiftdoc index 42aaaa7..3935383 100644 Binary files a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64.swiftdoc and b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64.swiftdoc differ diff --git a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64.swiftinterface b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64.swiftinterface index 205e671..12c685e 100644 --- a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64.swiftinterface +++ b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) // swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyNotify import CoreLocation import FlyBuy @@ -25,10 +25,32 @@ import UserNotifications @objc public func isFlyBuyNotifyUserInfo(_ userInfo: [Swift.AnyHashable : Any]) -> Swift.Bool @objc override dynamic public init() } -@_hasMissingDesignatedInitializers public class NotifyManagerError : FlyBuy.FlyBuyError { - @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) -} extension Manager : FlyBuy.FlyBuyModuleManager { + public func set(logLevel: FlyBuy.LogLevel) public func configUpdated(_ config: FlyBuy.AppConfig) } +@objc public enum NotifyErrorType : Swift.Int { + case noLocationPermission + case reachedTheMaxNumberOfSites + case notifyModuleNotConfigured + public var description: Swift.String { + get + } + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc(FlyBuyNotifyError) public class NotifyError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc final public let type: FlyBuyNotify.NotifyErrorType + @objc public init(_ typeIn: FlyBuyNotify.NotifyErrorType) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension FlyBuyNotify.NotifyErrorType : Swift.Equatable {} +extension FlyBuyNotify.NotifyErrorType : Swift.Hashable {} +extension FlyBuyNotify.NotifyErrorType : Swift.RawRepresentable {} diff --git a/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/FlyBuyNotify b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/FlyBuyNotify new file mode 100644 index 0000000..32f64d2 Binary files /dev/null and b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/FlyBuyNotify differ diff --git a/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h new file mode 100644 index 0000000..7d3a757 --- /dev/null +++ b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h @@ -0,0 +1,528 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +#ifndef FLYBUYNOTIFY_SWIFT_H +#define FLYBUYNOTIFY_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FlyBuyNotify",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class CLCircularRegion; +@class NotificationInfo; +@class FlyBuySite; + +SWIFT_CLASS_NAMED("Manager") +@interface FlyBuyNotifyManager : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyNotifyManager * _Nonnull shared;) ++ (FlyBuyNotifyManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (void)configure; +- (void)createForSitesInRegion:(CLCircularRegion * _Nonnull)region notification:(NotificationInfo * _Nonnull)notification callback:(void (^ _Nonnull)(NSArray * _Nullable, NSError * _Nullable))callback; +- (void)createForSites:(NSArray * _Nonnull)sites notification:(NotificationInfo * _Nonnull)notification callback:(void (^ _Nonnull)(NSError * _Nullable))callback; +/// clears all notifications +/// \param callback will get called on completion of any errors encountered. +/// +- (void)clearWithCallback:(void (^ _Nonnull)(NSError * _Nullable))callback; +- (BOOL)isFlyBuyNotifyUserInfo:(NSDictionary * _Nonnull)userInfo SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + +SWIFT_CLASS("_TtC12FlyBuyNotify16NotificationInfo") +@interface NotificationInfo : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull title; +@property (nonatomic, readonly, copy) NSString * _Nonnull content; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable data; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum NotifyErrorType : NSInteger; + +SWIFT_CLASS_NAMED("NotifyError") +@interface FlyBuyNotifyError : NSObject +@property (nonatomic, readonly) enum NotifyErrorType type; +- (nonnull instancetype)init:(enum NotifyErrorType)typeIn OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +typedef SWIFT_ENUM(NSInteger, NotifyErrorType, open) { + NotifyErrorTypeNoLocationPermission = 0, + NotifyErrorTypeReachedTheMaxNumberOfSites = 1, + NotifyErrorTypeNotifyModuleNotConfigured = 2, +}; + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +#ifndef FLYBUYNOTIFY_SWIFT_H +#define FLYBUYNOTIFY_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FlyBuyNotify",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class CLCircularRegion; +@class NotificationInfo; +@class FlyBuySite; + +SWIFT_CLASS_NAMED("Manager") +@interface FlyBuyNotifyManager : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyNotifyManager * _Nonnull shared;) ++ (FlyBuyNotifyManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (void)configure; +- (void)createForSitesInRegion:(CLCircularRegion * _Nonnull)region notification:(NotificationInfo * _Nonnull)notification callback:(void (^ _Nonnull)(NSArray * _Nullable, NSError * _Nullable))callback; +- (void)createForSites:(NSArray * _Nonnull)sites notification:(NotificationInfo * _Nonnull)notification callback:(void (^ _Nonnull)(NSError * _Nullable))callback; +/// clears all notifications +/// \param callback will get called on completion of any errors encountered. +/// +- (void)clearWithCallback:(void (^ _Nonnull)(NSError * _Nullable))callback; +- (BOOL)isFlyBuyNotifyUserInfo:(NSDictionary * _Nonnull)userInfo SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + +SWIFT_CLASS("_TtC12FlyBuyNotify16NotificationInfo") +@interface NotificationInfo : NSObject +@property (nonatomic, readonly, copy) NSString * _Nonnull title; +@property (nonatomic, readonly, copy) NSString * _Nonnull content; +@property (nonatomic, readonly, copy) NSDictionary * _Nullable data; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum NotifyErrorType : NSInteger; + +SWIFT_CLASS_NAMED("NotifyError") +@interface FlyBuyNotifyError : NSObject +@property (nonatomic, readonly) enum NotifyErrorType type; +- (nonnull instancetype)init:(enum NotifyErrorType)typeIn OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +typedef SWIFT_ENUM(NSInteger, NotifyErrorType, open) { + NotifyErrorTypeNoLocationPermission = 0, + NotifyErrorTypeReachedTheMaxNumberOfSites = 1, + NotifyErrorTypeNotifyModuleNotConfigured = 2, +}; + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Headers/FlyBuyNotify.h b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Headers/FlyBuyNotify.h similarity index 100% rename from FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Headers/FlyBuyNotify.h rename to FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Headers/FlyBuyNotify.h diff --git a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Info.plist b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Info.plist similarity index 54% rename from FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Info.plist rename to FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Info.plist index 6c96777..7480f49 100644 Binary files a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Info.plist and b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Info.plist differ diff --git a/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..5611489 Binary files /dev/null and b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..8712b61 --- /dev/null +++ b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,56 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyNotify +import CoreLocation +import FlyBuy +@_exported import FlyBuyNotify +import Foundation +import Swift +import UserNotifications +@objc open class NotificationInfo : ObjectiveC.NSObject { + @objc final public let title: Swift.String + @objc final public let content: Swift.String + @objc final public let data: [Swift.AnyHashable : Any]? + public init(title: Swift.String, content: Swift.String, data: [Swift.AnyHashable : Any]?) + @objc deinit + @objc override dynamic public init() +} +@_inheritsConvenienceInitializers @objc(FlyBuyNotifyManager) public class Manager : ObjectiveC.NSObject { + @objc public static let shared: FlyBuyNotify.Manager + @objc public func configure() + @objc deinit + @objc public func createForSitesInRegion(_ region: CoreLocation.CLCircularRegion, notification: FlyBuyNotify.NotificationInfo, callback: @escaping (([FlyBuy.Site]?, Swift.Error?) -> (Swift.Void))) + @objc public func createForSites(_ sites: [FlyBuy.Site], notification: FlyBuyNotify.NotificationInfo, callback: @escaping ((Swift.Error?) -> (Swift.Void))) + @objc public func clear(callback: @escaping (Swift.Error?) -> (Swift.Void)) + @objc public func isFlyBuyNotifyUserInfo(_ userInfo: [Swift.AnyHashable : Any]) -> Swift.Bool + @objc override dynamic public init() +} +extension Manager : FlyBuy.FlyBuyModuleManager { + public func set(logLevel: FlyBuy.LogLevel) + public func configUpdated(_ config: FlyBuy.AppConfig) +} +@objc public enum NotifyErrorType : Swift.Int { + case noLocationPermission + case reachedTheMaxNumberOfSites + case notifyModuleNotConfigured + public var description: Swift.String { + get + } + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc(FlyBuyNotifyError) public class NotifyError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc final public let type: FlyBuyNotify.NotifyErrorType + @objc public init(_ typeIn: FlyBuyNotify.NotifyErrorType) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension FlyBuyNotify.NotifyErrorType : Swift.Equatable {} +extension FlyBuyNotify.NotifyErrorType : Swift.Hashable {} +extension FlyBuyNotify.NotifyErrorType : Swift.RawRepresentable {} diff --git a/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64.swiftdoc b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..5611489 Binary files /dev/null and b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64.swiftdoc differ diff --git a/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64.swiftinterface b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..8712b61 --- /dev/null +++ b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/arm64.swiftinterface @@ -0,0 +1,56 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyNotify +import CoreLocation +import FlyBuy +@_exported import FlyBuyNotify +import Foundation +import Swift +import UserNotifications +@objc open class NotificationInfo : ObjectiveC.NSObject { + @objc final public let title: Swift.String + @objc final public let content: Swift.String + @objc final public let data: [Swift.AnyHashable : Any]? + public init(title: Swift.String, content: Swift.String, data: [Swift.AnyHashable : Any]?) + @objc deinit + @objc override dynamic public init() +} +@_inheritsConvenienceInitializers @objc(FlyBuyNotifyManager) public class Manager : ObjectiveC.NSObject { + @objc public static let shared: FlyBuyNotify.Manager + @objc public func configure() + @objc deinit + @objc public func createForSitesInRegion(_ region: CoreLocation.CLCircularRegion, notification: FlyBuyNotify.NotificationInfo, callback: @escaping (([FlyBuy.Site]?, Swift.Error?) -> (Swift.Void))) + @objc public func createForSites(_ sites: [FlyBuy.Site], notification: FlyBuyNotify.NotificationInfo, callback: @escaping ((Swift.Error?) -> (Swift.Void))) + @objc public func clear(callback: @escaping (Swift.Error?) -> (Swift.Void)) + @objc public func isFlyBuyNotifyUserInfo(_ userInfo: [Swift.AnyHashable : Any]) -> Swift.Bool + @objc override dynamic public init() +} +extension Manager : FlyBuy.FlyBuyModuleManager { + public func set(logLevel: FlyBuy.LogLevel) + public func configUpdated(_ config: FlyBuy.AppConfig) +} +@objc public enum NotifyErrorType : Swift.Int { + case noLocationPermission + case reachedTheMaxNumberOfSites + case notifyModuleNotConfigured + public var description: Swift.String { + get + } + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc(FlyBuyNotifyError) public class NotifyError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc final public let type: FlyBuyNotify.NotifyErrorType + @objc public init(_ typeIn: FlyBuyNotify.NotifyErrorType) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension FlyBuyNotify.NotifyErrorType : Swift.Equatable {} +extension FlyBuyNotify.NotifyErrorType : Swift.Hashable {} +extension FlyBuyNotify.NotifyErrorType : Swift.RawRepresentable {} diff --git a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftdoc similarity index 80% rename from FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftdoc rename to FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index c037e6d..c8e5cd6 100644 Binary files a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftinterface similarity index 62% rename from FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftinterface rename to FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 559a86d..db74741 100644 --- a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) // swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyNotify import CoreLocation import FlyBuy @@ -25,10 +25,32 @@ import UserNotifications @objc public func isFlyBuyNotifyUserInfo(_ userInfo: [Swift.AnyHashable : Any]) -> Swift.Bool @objc override dynamic public init() } -@_hasMissingDesignatedInitializers public class NotifyManagerError : FlyBuy.FlyBuyError { - @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) -} extension Manager : FlyBuy.FlyBuyModuleManager { + public func set(logLevel: FlyBuy.LogLevel) public func configUpdated(_ config: FlyBuy.AppConfig) } +@objc public enum NotifyErrorType : Swift.Int { + case noLocationPermission + case reachedTheMaxNumberOfSites + case notifyModuleNotConfigured + public var description: Swift.String { + get + } + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc(FlyBuyNotifyError) public class NotifyError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc final public let type: FlyBuyNotify.NotifyErrorType + @objc public init(_ typeIn: FlyBuyNotify.NotifyErrorType) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension FlyBuyNotify.NotifyErrorType : Swift.Equatable {} +extension FlyBuyNotify.NotifyErrorType : Swift.Hashable {} +extension FlyBuyNotify.NotifyErrorType : Swift.RawRepresentable {} diff --git a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64.swiftdoc b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64.swiftdoc similarity index 80% rename from FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64.swiftdoc rename to FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64.swiftdoc index c037e6d..c8e5cd6 100644 Binary files a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64.swiftdoc and b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64.swiftdoc differ diff --git a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64.swiftinterface b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64.swiftinterface similarity index 62% rename from FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64.swiftinterface rename to FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64.swiftinterface index 559a86d..db74741 100644 --- a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64.swiftinterface +++ b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/FlyBuyNotify.swiftmodule/x86_64.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) // swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyNotify import CoreLocation import FlyBuy @@ -25,10 +25,32 @@ import UserNotifications @objc public func isFlyBuyNotifyUserInfo(_ userInfo: [Swift.AnyHashable : Any]) -> Swift.Bool @objc override dynamic public init() } -@_hasMissingDesignatedInitializers public class NotifyManagerError : FlyBuy.FlyBuyError { - @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) -} extension Manager : FlyBuy.FlyBuyModuleManager { + public func set(logLevel: FlyBuy.LogLevel) public func configUpdated(_ config: FlyBuy.AppConfig) } +@objc public enum NotifyErrorType : Swift.Int { + case noLocationPermission + case reachedTheMaxNumberOfSites + case notifyModuleNotConfigured + public var description: Swift.String { + get + } + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc(FlyBuyNotifyError) public class NotifyError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc final public let type: FlyBuyNotify.NotifyErrorType + @objc public init(_ typeIn: FlyBuyNotify.NotifyErrorType) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension FlyBuyNotify.NotifyErrorType : Swift.Equatable {} +extension FlyBuyNotify.NotifyErrorType : Swift.Hashable {} +extension FlyBuyNotify.NotifyErrorType : Swift.RawRepresentable {} diff --git a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Modules/module.modulemap b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/module.modulemap similarity index 100% rename from FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Modules/module.modulemap rename to FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Modules/module.modulemap diff --git a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/_CodeSignature/CodeResources b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/_CodeSignature/CodeResources similarity index 60% rename from FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/_CodeSignature/CodeResources rename to FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/_CodeSignature/CodeResources index 2e10f40..3f61f60 100644 --- a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/_CodeSignature/CodeResources +++ b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Headers/FlyBuyNotify-Swift.h - CU46Te4FYMY+wO2nvbwXXx0E3k8= + Y+aSypaUUK5gJ4XizhdIEgb5qco= Headers/FlyBuyNotify.h @@ -14,31 +14,55 @@ Info.plist - ADzWLajJ54pM0HFtXYArytt2jd0= + F9xuuYM03xUVTJ0kKCpbyVdRDms= + + Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + 8fMGJ4+v11+XLKUU2T9doX6naX4= + + Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + j2OnaoyVZCL5PGl/QmNR1KXOGRg= + + Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + 8D8bWOh+XMFoN9zXtasXu9xLD+A= + + Modules/FlyBuyNotify.swiftmodule/arm64.swiftdoc + + 8fMGJ4+v11+XLKUU2T9doX6naX4= + + Modules/FlyBuyNotify.swiftmodule/arm64.swiftinterface + + j2OnaoyVZCL5PGl/QmNR1KXOGRg= + + Modules/FlyBuyNotify.swiftmodule/arm64.swiftmodule + + 8D8bWOh+XMFoN9zXtasXu9xLD+A= Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - itOzqAJ6FGojNp+Oq1XH2pJ3UM4= + XfLHWfYmufYlduM956X6s5a891c= Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - ohFwM+r7Qx00HIcn5hxnsRsp1u8= + j5TFQ3EFHE401o4xz7i1FBmbvss= Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - fwftKwFQlkmSfDuDaji+edvOXig= + Oi2a7wKJnLhPHg9O6c+e0MKry0A= Modules/FlyBuyNotify.swiftmodule/x86_64.swiftdoc - itOzqAJ6FGojNp+Oq1XH2pJ3UM4= + XfLHWfYmufYlduM956X6s5a891c= Modules/FlyBuyNotify.swiftmodule/x86_64.swiftinterface - ohFwM+r7Qx00HIcn5hxnsRsp1u8= + j5TFQ3EFHE401o4xz7i1FBmbvss= Modules/FlyBuyNotify.swiftmodule/x86_64.swiftmodule - fwftKwFQlkmSfDuDaji+edvOXig= + Oi2a7wKJnLhPHg9O6c+e0MKry0A= Modules/module.modulemap @@ -51,7 +75,7 @@ hash2 - BZuv2fEa8yPWV1wFQ/FTqrlydRDv4c+xzHWZvk/qjIU= + 7Zm3Oo9FGTux3oeiOITxWYYmDtX53OKTI/oHubH//10= Headers/FlyBuyNotify.h @@ -61,46 +85,88 @@ h8i1PXjWsGPx++7x1/85X1VIv8cIDiSi4F9d/VVkUa8= + Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + woC84iC1gTf+8fOAw0gOaZpErGR+UxlE6HRJjuyhP4Y= + + + Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + ND4/3xxjRo4b2Td1w22yPBAFej4nW6SKHclIz/6q+2I= + + + Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + HSt3RTHwYyMGpfWpQpIG9UNpfuxy+IKjIS5YdnVkQ50= + + + Modules/FlyBuyNotify.swiftmodule/arm64.swiftdoc + + hash2 + + woC84iC1gTf+8fOAw0gOaZpErGR+UxlE6HRJjuyhP4Y= + + + Modules/FlyBuyNotify.swiftmodule/arm64.swiftinterface + + hash2 + + ND4/3xxjRo4b2Td1w22yPBAFej4nW6SKHclIz/6q+2I= + + + Modules/FlyBuyNotify.swiftmodule/arm64.swiftmodule + + hash2 + + HSt3RTHwYyMGpfWpQpIG9UNpfuxy+IKjIS5YdnVkQ50= + + Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - 5OiZXLmrEjwJUp2SPz6MtR7sNhaw9oYVQW9h+ncJ78I= + rvDRIb7pSZofB/NrsCmGFHAUGCR2yqwX3lG2PTsOBCQ= Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - p0OmhS86wwXeS/LIWxk7i/ukKzsZljBX/I8njk9MSdU= + 0a6HFUgWCCTboFGlVS9NQavH95wKX2poUdTznVXUubw= Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - 7hBlAPZHUrfWcuw/HrZIrSDY+LoG/uxDlXjAIffeYJI= + 456jCxxJPLAaz2msgTY0yeXCeTryq7cWsc5ahmV0jw4= Modules/FlyBuyNotify.swiftmodule/x86_64.swiftdoc hash2 - 5OiZXLmrEjwJUp2SPz6MtR7sNhaw9oYVQW9h+ncJ78I= + rvDRIb7pSZofB/NrsCmGFHAUGCR2yqwX3lG2PTsOBCQ= Modules/FlyBuyNotify.swiftmodule/x86_64.swiftinterface hash2 - p0OmhS86wwXeS/LIWxk7i/ukKzsZljBX/I8njk9MSdU= + 0a6HFUgWCCTboFGlVS9NQavH95wKX2poUdTznVXUubw= Modules/FlyBuyNotify.swiftmodule/x86_64.swiftmodule hash2 - 7hBlAPZHUrfWcuw/HrZIrSDY+LoG/uxDlXjAIffeYJI= + 456jCxxJPLAaz2msgTY0yeXCeTryq7cWsc5ahmV0jw4= Modules/module.modulemap diff --git a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/FlyBuyNotify b/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/FlyBuyNotify deleted file mode 100644 index b727f66..0000000 Binary files a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/FlyBuyNotify and /dev/null differ diff --git a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h b/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h deleted file mode 100644 index 1ba4759..0000000 --- a/FlyBuyNotify.xcframework/ios-x86_64-simulator/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h +++ /dev/null @@ -1,243 +0,0 @@ -// Generated by Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FlyBuyNotify",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - -@class CLCircularRegion; -@class NotificationInfo; -@class FlyBuySite; - -SWIFT_CLASS_NAMED("Manager") -@interface FlyBuyNotifyManager : NSObject -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyNotifyManager * _Nonnull shared;) -+ (FlyBuyNotifyManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; -- (void)configure; -- (void)createForSitesInRegion:(CLCircularRegion * _Nonnull)region notification:(NotificationInfo * _Nonnull)notification callback:(void (^ _Nonnull)(NSArray * _Nullable, NSError * _Nullable))callback; -- (void)createForSites:(NSArray * _Nonnull)sites notification:(NotificationInfo * _Nonnull)notification callback:(void (^ _Nonnull)(NSError * _Nullable))callback; -/// clears all notifications -/// \param callback will get called on completion of any errors encountered. -/// -- (void)clearWithCallback:(void (^ _Nonnull)(NSError * _Nullable))callback; -- (BOOL)isFlyBuyNotifyUserInfo:(NSDictionary * _Nonnull)userInfo SWIFT_WARN_UNUSED_RESULT; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - - - - - -SWIFT_CLASS("_TtC12FlyBuyNotify16NotificationInfo") -@interface NotificationInfo : NSObject -@property (nonatomic, readonly, copy) NSString * _Nonnull title; -@property (nonatomic, readonly, copy) NSString * _Nonnull content; -@property (nonatomic, readonly, copy) NSDictionary * _Nullable data; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop diff --git a/FlyBuyPickup.xcframework/Info.plist b/FlyBuyPickup.xcframework/Info.plist index 05110b8..52bfa9b 100644 --- a/FlyBuyPickup.xcframework/Info.plist +++ b/FlyBuyPickup.xcframework/Info.plist @@ -6,29 +6,30 @@ LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath FlyBuyPickup.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator LibraryIdentifier - ios-x86_64-simulator + ios-arm64 LibraryPath FlyBuyPickup.framework SupportedArchitectures - x86_64 + arm64 SupportedPlatform ios - SupportedPlatformVariant - simulator CFBundlePackageType diff --git a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/FlyBuyPickup b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/FlyBuyPickup index 914a770..b692e27 100644 Binary files a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/FlyBuyPickup and b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/FlyBuyPickup differ diff --git a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Headers/FlyBuyPickup-Swift.h b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Headers/FlyBuyPickup-Swift.h index 10d173e..a5dd7e8 100644 --- a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Headers/FlyBuyPickup-Swift.h +++ b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Headers/FlyBuyPickup-Swift.h @@ -1,4 +1,6 @@ -// Generated by Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +#ifndef FLYBUYPICKUP_SWIFT_H +#define FLYBUYPICKUP_SWIFT_H #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wgcc-compat" @@ -187,7 +189,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #pragma clang diagnostic ignored "-Watimport-in-framework-header" #endif @import CoreLocation; -@import Foundation; @import ObjectiveC; #endif @@ -219,8 +220,8 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyPickup @end - @class CLLocationManager; +@class CLLocation; @class CLBeacon; @class CLBeaconRegion; @@ -231,8 +232,8 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyPickup @end - #if __has_attribute(external_source_symbol) # pragma clang attribute pop #endif #pragma clang diagnostic pop +#endif diff --git a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Info.plist b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Info.plist index 528986f..1538034 100644 Binary files a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Info.plist and b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Info.plist differ diff --git a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios.swiftdoc b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios.swiftdoc index a259257..d8c6b89 100644 Binary files a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios.swiftdoc and b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios.swiftinterface b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios.swiftinterface index 045991b..d867497 100644 --- a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios.swiftinterface +++ b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) // swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyPickup import CoreLocation import FlyBuy @@ -27,4 +27,5 @@ extension NSNotification.Name { } extension Manager : FlyBuy.FlyBuyModuleManager { public func configUpdated(_ config: FlyBuy.AppConfig) + public func set(logLevel: FlyBuy.LogLevel) } diff --git a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64.swiftdoc b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64.swiftdoc index a259257..d8c6b89 100644 Binary files a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64.swiftdoc and b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64.swiftdoc differ diff --git a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64.swiftinterface b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64.swiftinterface index 045991b..d867497 100644 --- a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64.swiftinterface +++ b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) // swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyPickup import CoreLocation import FlyBuy @@ -27,4 +27,5 @@ extension NSNotification.Name { } extension Manager : FlyBuy.FlyBuyModuleManager { public func configUpdated(_ config: FlyBuy.AppConfig) + public func set(logLevel: FlyBuy.LogLevel) } diff --git a/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/FlyBuyPickup b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/FlyBuyPickup new file mode 100644 index 0000000..06f6ca6 Binary files /dev/null and b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/FlyBuyPickup differ diff --git a/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Headers/FlyBuyPickup-Swift.h b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Headers/FlyBuyPickup-Swift.h new file mode 100644 index 0000000..8d2b62b --- /dev/null +++ b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Headers/FlyBuyPickup-Swift.h @@ -0,0 +1,484 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +#ifndef FLYBUYPICKUP_SWIFT_H +#define FLYBUYPICKUP_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreLocation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FlyBuyPickup",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + +SWIFT_CLASS_NAMED("Manager") +@interface FlyBuyPickupManager : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyPickupManager * _Nonnull shared;) ++ (FlyBuyPickupManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (void)configure; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class CLLocationManager; +@class CLLocation; +@class CLBeacon; +@class CLBeaconRegion; + +@interface FlyBuyPickupManager (SWIFT_EXTENSION(FlyBuyPickup)) +- (void)locationManager:(CLLocationManager * _Nonnull)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status; +- (void)locationManager:(CLLocationManager * _Nonnull)manager didUpdateLocations:(NSArray * _Nonnull)locations; +- (void)locationManager:(CLLocationManager * _Nonnull)manager didRangeBeacons:(NSArray * _Nonnull)beacons inRegion:(CLBeaconRegion * _Nonnull)region; +@end + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +#ifndef FLYBUYPICKUP_SWIFT_H +#define FLYBUYPICKUP_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreLocation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FlyBuyPickup",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + +SWIFT_CLASS_NAMED("Manager") +@interface FlyBuyPickupManager : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyPickupManager * _Nonnull shared;) ++ (FlyBuyPickupManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +- (void)configure; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class CLLocationManager; +@class CLLocation; +@class CLBeacon; +@class CLBeaconRegion; + +@interface FlyBuyPickupManager (SWIFT_EXTENSION(FlyBuyPickup)) +- (void)locationManager:(CLLocationManager * _Nonnull)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status; +- (void)locationManager:(CLLocationManager * _Nonnull)manager didUpdateLocations:(NSArray * _Nonnull)locations; +- (void)locationManager:(CLLocationManager * _Nonnull)manager didRangeBeacons:(NSArray * _Nonnull)beacons inRegion:(CLBeaconRegion * _Nonnull)region; +@end + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Headers/FlyBuyPickup.h b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Headers/FlyBuyPickup.h similarity index 100% rename from FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Headers/FlyBuyPickup.h rename to FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Headers/FlyBuyPickup.h diff --git a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Info.plist b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Info.plist similarity index 54% rename from FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Info.plist rename to FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Info.plist index de06fe0..45ef0a3 100644 Binary files a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Info.plist and b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Info.plist differ diff --git a/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..3c57db4 Binary files /dev/null and b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..eb31662 --- /dev/null +++ b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,31 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyPickup +import CoreLocation +import FlyBuy +@_exported import FlyBuyPickup +import Foundation +import NotificationCenter +import Swift +import UIKit +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FlyBuyPickupManager) public class Manager : ObjectiveC.NSObject { + @objc public static let shared: FlyBuyPickup.Manager + @objc public func configure() + @objc deinit + public func stop() +} +extension Manager : CoreLocation.CLLocationManagerDelegate { + @objc dynamic public func locationManager(_ manager: CoreLocation.CLLocationManager, didChangeAuthorization status: CoreLocation.CLAuthorizationStatus) + @objc dynamic public func locationManager(_ manager: CoreLocation.CLLocationManager, didUpdateLocations locations: [CoreLocation.CLLocation]) + @objc dynamic public func locationManager(_ manager: CoreLocation.CLLocationManager, didRangeBeacons beacons: [CoreLocation.CLBeacon], in region: CoreLocation.CLBeaconRegion) +} +extension NSNotification.Name { + public static let locationUpdate: Foundation.Notification.Name + public static let locationAuthorizationNotDetermined: Foundation.Notification.Name + public static let locationNotAuthorized: Foundation.Notification.Name + public static let locationAuthorizationChanged: Foundation.Notification.Name +} +extension Manager : FlyBuy.FlyBuyModuleManager { + public func configUpdated(_ config: FlyBuy.AppConfig) + public func set(logLevel: FlyBuy.LogLevel) +} diff --git a/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64.swiftdoc b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..3c57db4 Binary files /dev/null and b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64.swiftdoc differ diff --git a/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64.swiftinterface b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..eb31662 --- /dev/null +++ b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/arm64.swiftinterface @@ -0,0 +1,31 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyPickup +import CoreLocation +import FlyBuy +@_exported import FlyBuyPickup +import Foundation +import NotificationCenter +import Swift +import UIKit +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(FlyBuyPickupManager) public class Manager : ObjectiveC.NSObject { + @objc public static let shared: FlyBuyPickup.Manager + @objc public func configure() + @objc deinit + public func stop() +} +extension Manager : CoreLocation.CLLocationManagerDelegate { + @objc dynamic public func locationManager(_ manager: CoreLocation.CLLocationManager, didChangeAuthorization status: CoreLocation.CLAuthorizationStatus) + @objc dynamic public func locationManager(_ manager: CoreLocation.CLLocationManager, didUpdateLocations locations: [CoreLocation.CLLocation]) + @objc dynamic public func locationManager(_ manager: CoreLocation.CLLocationManager, didRangeBeacons beacons: [CoreLocation.CLBeacon], in region: CoreLocation.CLBeaconRegion) +} +extension NSNotification.Name { + public static let locationUpdate: Foundation.Notification.Name + public static let locationAuthorizationNotDetermined: Foundation.Notification.Name + public static let locationNotAuthorized: Foundation.Notification.Name + public static let locationAuthorizationChanged: Foundation.Notification.Name +} +extension Manager : FlyBuy.FlyBuyModuleManager { + public func configUpdated(_ config: FlyBuy.AppConfig) + public func set(logLevel: FlyBuy.LogLevel) +} diff --git a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftdoc similarity index 67% rename from FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftdoc rename to FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index c25670a..680397d 100644 Binary files a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftinterface similarity index 92% rename from FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftinterface rename to FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index b82c346..c10eaa1 100644 --- a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) // swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyPickup import CoreLocation import FlyBuy @@ -27,4 +27,5 @@ extension NSNotification.Name { } extension Manager : FlyBuy.FlyBuyModuleManager { public func configUpdated(_ config: FlyBuy.AppConfig) + public func set(logLevel: FlyBuy.LogLevel) } diff --git a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64.swiftdoc b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64.swiftdoc similarity index 67% rename from FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64.swiftdoc rename to FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64.swiftdoc index c25670a..680397d 100644 Binary files a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64.swiftdoc and b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64.swiftdoc differ diff --git a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64.swiftinterface b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64.swiftinterface similarity index 92% rename from FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64.swiftinterface rename to FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64.swiftinterface index b82c346..c10eaa1 100644 --- a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64.swiftinterface +++ b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/FlyBuyPickup.swiftmodule/x86_64.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) // swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyPickup import CoreLocation import FlyBuy @@ -27,4 +27,5 @@ extension NSNotification.Name { } extension Manager : FlyBuy.FlyBuyModuleManager { public func configUpdated(_ config: FlyBuy.AppConfig) + public func set(logLevel: FlyBuy.LogLevel) } diff --git a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Modules/module.modulemap b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/module.modulemap similarity index 100% rename from FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Modules/module.modulemap rename to FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Modules/module.modulemap diff --git a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/_CodeSignature/CodeResources b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/_CodeSignature/CodeResources similarity index 60% rename from FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/_CodeSignature/CodeResources rename to FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/_CodeSignature/CodeResources index 7590359..366ced2 100644 --- a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/_CodeSignature/CodeResources +++ b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Headers/FlyBuyPickup-Swift.h - cYvHM3nBQGwifKmoY+Vm/kKAiDw= + w1mULXD7maVp3/sIhPHViAPTZas= Headers/FlyBuyPickup.h @@ -14,31 +14,55 @@ Info.plist - YfcEsmSlFoIZmB5zvzAGfKU3+OI= + gNSt6I95CplF2XJYs1aCWiCuiGE= + + Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + 3QZf2lPC/dAQIgfDZcBSe93rWfU= + + Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + aec6ksvw42wlKhL846oHR7Vtp6s= + + Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + s1pldg+Rsy3U2x7QQ+hdng85syM= + + Modules/FlyBuyPickup.swiftmodule/arm64.swiftdoc + + 3QZf2lPC/dAQIgfDZcBSe93rWfU= + + Modules/FlyBuyPickup.swiftmodule/arm64.swiftinterface + + aec6ksvw42wlKhL846oHR7Vtp6s= + + Modules/FlyBuyPickup.swiftmodule/arm64.swiftmodule + + s1pldg+Rsy3U2x7QQ+hdng85syM= Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - S4DQs4LbD24MKBd2drhmCA9qLnA= + iTXofMciyfxk26h9RkXncjXz7aI= Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - cseBbronLmNEAVkEw+8qzQePOmA= + 7qP1pC88+kLzk0kmKjBkVUP5Yew= Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - vm3q2MgCpEHubRjPGjc0fnck8Lo= + MjNqDHkXzlUiaTRomrtS8J5opq4= Modules/FlyBuyPickup.swiftmodule/x86_64.swiftdoc - S4DQs4LbD24MKBd2drhmCA9qLnA= + iTXofMciyfxk26h9RkXncjXz7aI= Modules/FlyBuyPickup.swiftmodule/x86_64.swiftinterface - cseBbronLmNEAVkEw+8qzQePOmA= + 7qP1pC88+kLzk0kmKjBkVUP5Yew= Modules/FlyBuyPickup.swiftmodule/x86_64.swiftmodule - vm3q2MgCpEHubRjPGjc0fnck8Lo= + MjNqDHkXzlUiaTRomrtS8J5opq4= Modules/module.modulemap @@ -51,7 +75,7 @@ hash2 - F7XMcBphbhNCTC7q2H59CANRBmAnhgC415tYIQletgg= + REogMgCE0PqV3PapNxOphD2pwOC63/dDbFi73oagI0g= Headers/FlyBuyPickup.h @@ -61,46 +85,88 @@ n6TusOPaSIhUx9X3x4dMYJdFpY0qC0DpDqm/VqvaYVA= + Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + HPaStdxG8m7Kk598Z+fPx0fu65IcY8JOFovxprIjgHk= + + + Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + R8qqxqr4MoJWZaRUMY5XxYVT+D+hVP6iuYAni7gb6LM= + + + Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + lU8rOTl7a2t1YX8haZFdrDQGFk6ybauEKJnfV8bqyF4= + + + Modules/FlyBuyPickup.swiftmodule/arm64.swiftdoc + + hash2 + + HPaStdxG8m7Kk598Z+fPx0fu65IcY8JOFovxprIjgHk= + + + Modules/FlyBuyPickup.swiftmodule/arm64.swiftinterface + + hash2 + + R8qqxqr4MoJWZaRUMY5XxYVT+D+hVP6iuYAni7gb6LM= + + + Modules/FlyBuyPickup.swiftmodule/arm64.swiftmodule + + hash2 + + lU8rOTl7a2t1YX8haZFdrDQGFk6ybauEKJnfV8bqyF4= + + Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - 80HSvdRRPcceZBzjmw0po28skDrQSHhGFmcINL4ZVPg= + kU8zN/Ikd3oBtxpBugZkAYTvQoeFbZN3ubgf6pdCHp8= Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - ZoCvzLTHaT83rEXkbH63D+9npxPUEClEiPL8T+mDD3o= + nfey/qYwZOB8dZphYNbG6czIJpJEniub+fFYoNHaz4I= Modules/FlyBuyPickup.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - hA8MpHmrTUQLzq6USXXtJfcY/95bjuiGdXu4bz4MXTw= + LiNVOldVDVWVCRoCWnZqxpJmepHNe5v/9bCcA0AoBb4= Modules/FlyBuyPickup.swiftmodule/x86_64.swiftdoc hash2 - 80HSvdRRPcceZBzjmw0po28skDrQSHhGFmcINL4ZVPg= + kU8zN/Ikd3oBtxpBugZkAYTvQoeFbZN3ubgf6pdCHp8= Modules/FlyBuyPickup.swiftmodule/x86_64.swiftinterface hash2 - ZoCvzLTHaT83rEXkbH63D+9npxPUEClEiPL8T+mDD3o= + nfey/qYwZOB8dZphYNbG6czIJpJEniub+fFYoNHaz4I= Modules/FlyBuyPickup.swiftmodule/x86_64.swiftmodule hash2 - hA8MpHmrTUQLzq6USXXtJfcY/95bjuiGdXu4bz4MXTw= + LiNVOldVDVWVCRoCWnZqxpJmepHNe5v/9bCcA0AoBb4= Modules/module.modulemap diff --git a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/FlyBuyPickup b/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/FlyBuyPickup deleted file mode 100644 index fd5b810..0000000 Binary files a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/FlyBuyPickup and /dev/null differ diff --git a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Headers/FlyBuyPickup-Swift.h b/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Headers/FlyBuyPickup-Swift.h deleted file mode 100644 index 10d173e..0000000 --- a/FlyBuyPickup.xcframework/ios-x86_64-simulator/FlyBuyPickup.framework/Headers/FlyBuyPickup-Swift.h +++ /dev/null @@ -1,238 +0,0 @@ -// Generated by Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -@import CoreLocation; -@import Foundation; -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FlyBuyPickup",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - - - - -SWIFT_CLASS_NAMED("Manager") -@interface FlyBuyPickupManager : NSObject -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyPickupManager * _Nonnull shared;) -+ (FlyBuyPickupManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; -- (void)configure; -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - - - -@class CLLocationManager; -@class CLBeacon; -@class CLBeaconRegion; - -@interface FlyBuyPickupManager (SWIFT_EXTENSION(FlyBuyPickup)) -- (void)locationManager:(CLLocationManager * _Nonnull)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)status; -- (void)locationManager:(CLLocationManager * _Nonnull)manager didUpdateLocations:(NSArray * _Nonnull)locations; -- (void)locationManager:(CLLocationManager * _Nonnull)manager didRangeBeacons:(NSArray * _Nonnull)beacons inRegion:(CLBeaconRegion * _Nonnull)region; -@end - - - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop diff --git a/FlyBuyPresence.xcframework/Info.plist b/FlyBuyPresence.xcframework/Info.plist index 96b1a0f..8eadb37 100644 --- a/FlyBuyPresence.xcframework/Info.plist +++ b/FlyBuyPresence.xcframework/Info.plist @@ -6,29 +6,30 @@ LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath FlyBuyPresence.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator LibraryIdentifier - ios-x86_64-simulator + ios-arm64 LibraryPath FlyBuyPresence.framework SupportedArchitectures - x86_64 + arm64 SupportedPlatform ios - SupportedPlatformVariant - simulator CFBundlePackageType diff --git a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/FlyBuyPresence b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/FlyBuyPresence index 9a2e8a3..03a098c 100644 Binary files a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/FlyBuyPresence and b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/FlyBuyPresence differ diff --git a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Headers/FlyBuyPresence-Swift.h b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Headers/FlyBuyPresence-Swift.h index c3ef556..b632dfe 100644 --- a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Headers/FlyBuyPresence-Swift.h +++ b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Headers/FlyBuyPresence-Swift.h @@ -1,4 +1,6 @@ -// Generated by Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +#ifndef FLYBUYPRESENCE_SWIFT_H +#define FLYBUYPRESENCE_SWIFT_H #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wgcc-compat" @@ -186,7 +188,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if __has_warning("-Watimport-in-framework-header") #pragma clang diagnostic ignored "-Watimport-in-framework-header" #endif -@import CoreBluetooth; @import Foundation; @import ObjectiveC; #endif @@ -207,6 +208,12 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #endif +typedef SWIFT_ENUM(uint8_t, LocatorEvent, open) { + LocatorEventConfirmed = 1, + LocatorEventError = 2, + LocatorEventPresent = 3, + LocatorEventReceived = 4, +}; @class PresenceLocator; @@ -249,6 +256,16 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyPresen @end +enum PresenceErrorType : NSInteger; + +SWIFT_CLASS_NAMED("PresenceError") +@interface FlyBuyPresenceError : NSObject +@property (nonatomic, readonly) enum PresenceErrorType type; +- (nonnull instancetype)init:(enum PresenceErrorType)typeIn OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end typedef SWIFT_ENUM(NSInteger, PresenceErrorType, open) { PresenceErrorTypeInvalidPresenceIdentifierLength = 0, @@ -260,6 +277,7 @@ typedef SWIFT_ENUM(NSInteger, PresenceErrorType, open) { PresenceErrorTypeBluetoothPoweredOff = 6, PresenceErrorTypeBluetoothUnauthorized = 7, PresenceErrorTypeBluetoothUnsupported = 8, + PresenceErrorTypePresenceManagerNotConfigured = 9, }; @@ -269,12 +287,6 @@ SWIFT_CLASS("_TtC14FlyBuyPresence15PresenceLocator") + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end -typedef SWIFT_ENUM(uint8_t, state, open) { - stateConfirmed = 1, - stateError = 2, - statePresent = 3, -}; - SWIFT_PROTOCOL("_TtP14FlyBuyPresence23PresenceLocatorDelegate_") @protocol PresenceLocatorDelegate @@ -282,10 +294,11 @@ SWIFT_PROTOCOL("_TtP14FlyBuyPresence23PresenceLocatorDelegate_") - (void)locatorDidStart:(PresenceLocator * _Nonnull)locator; - (void)locatorDidStop:(PresenceLocator * _Nonnull)locator; - (void)locatorDidFail:(PresenceLocator * _Nonnull)locator error:(NSError * _Nonnull)error; -- (void)locator:(PresenceLocator * _Nonnull)locator didUpdateState:(enum state)state; +- (void)locator:(PresenceLocator * _Nonnull)locator didReceiveEvent:(uint8_t)type; @end #if __has_attribute(external_source_symbol) # pragma clang attribute pop #endif #pragma clang diagnostic pop +#endif diff --git a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Info.plist b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Info.plist index d229826..ecbbffa 100644 Binary files a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Info.plist and b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Info.plist differ diff --git a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios.swiftdoc b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios.swiftdoc index ddb7bdf..0a2d77f 100644 Binary files a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios.swiftdoc and b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios.swiftinterface b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios.swiftinterface index c677cbc..38a73d0 100644 --- a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios.swiftinterface +++ b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) // swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyPresence import CoreBluetooth import CoreLocation @@ -23,6 +23,7 @@ import Swift } extension Manager : FlyBuy.FlyBuyModuleManager { public func configUpdated(_ config: FlyBuy.AppConfig) + public func set(logLevel: FlyBuy.LogLevel) } @objc public enum PresenceErrorType : Swift.Int { case invalidPresenceIdentifierLength @@ -34,6 +35,7 @@ extension Manager : FlyBuy.FlyBuyModuleManager { case bluetoothPoweredOff case bluetoothUnauthorized case bluetoothUnsupported + case presenceManagerNotConfigured public var description: Swift.String { get } @@ -43,32 +45,33 @@ extension Manager : FlyBuy.FlyBuyModuleManager { get } } -@objc(FlyBuyPresenceError) @_objcRuntimeName(FlyBuyPresenceError) public class PresenceError : FlyBuy.FlyBuyError { +@objc(FlyBuyPresenceError) public class PresenceError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { @objc final public let type: FlyBuyPresence.PresenceErrorType - @objc public init(_ typeIn: FlyBuyPresence.PresenceErrorType, context: Any? = nil) + @objc public init(_ typeIn: FlyBuyPresence.PresenceErrorType) @objc override dynamic public var description: Swift.String { @objc get } @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) + @objc override dynamic public init() +} +@objc public enum LocatorEvent : Swift.UInt8 { + case confirmed = 1 + case error = 2 + case present = 3 + case received = 4 + public typealias RawValue = Swift.UInt8 + public init?(rawValue: Swift.UInt8) + public var rawValue: Swift.UInt8 { + get + } } @objc public protocol PresenceLocatorDelegate { @objc optional func locatorDidStart(_ locator: FlyBuyPresence.PresenceLocator) @objc optional func locatorDidStop(_ locator: FlyBuyPresence.PresenceLocator) @objc optional func locatorDidFail(_ locator: FlyBuyPresence.PresenceLocator, error: Swift.Error) - @objc optional func locator(_ locator: FlyBuyPresence.PresenceLocator, didUpdateState state: FlyBuyPresence.PresenceLocator.state) + @objc optional func locator(_ locator: FlyBuyPresence.PresenceLocator, didReceiveEvent type: Swift.UInt8) } @_hasMissingDesignatedInitializers @objc public class PresenceLocator : ObjectiveC.NSObject { - @objc public enum state : Swift.UInt8 { - case confirmed = 1 - case error = 2 - case present = 3 - public typealias RawValue = Swift.UInt8 - public init?(rawValue: Swift.UInt8) - public var rawValue: Swift.UInt8 { - get - } - } final public let uuid: Foundation.UUID final public let identifier: Foundation.Data final public let payload: Swift.String? @@ -79,6 +82,6 @@ extension Manager : FlyBuy.FlyBuyModuleManager { extension FlyBuyPresence.PresenceErrorType : Swift.Equatable {} extension FlyBuyPresence.PresenceErrorType : Swift.Hashable {} extension FlyBuyPresence.PresenceErrorType : Swift.RawRepresentable {} -extension FlyBuyPresence.PresenceLocator.state : Swift.Equatable {} -extension FlyBuyPresence.PresenceLocator.state : Swift.Hashable {} -extension FlyBuyPresence.PresenceLocator.state : Swift.RawRepresentable {} +extension FlyBuyPresence.LocatorEvent : Swift.Equatable {} +extension FlyBuyPresence.LocatorEvent : Swift.Hashable {} +extension FlyBuyPresence.LocatorEvent : Swift.RawRepresentable {} diff --git a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64.swiftdoc b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64.swiftdoc index ddb7bdf..0a2d77f 100644 Binary files a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64.swiftdoc and b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64.swiftdoc differ diff --git a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64.swiftinterface b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64.swiftinterface index c677cbc..38a73d0 100644 --- a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64.swiftinterface +++ b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) // swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyPresence import CoreBluetooth import CoreLocation @@ -23,6 +23,7 @@ import Swift } extension Manager : FlyBuy.FlyBuyModuleManager { public func configUpdated(_ config: FlyBuy.AppConfig) + public func set(logLevel: FlyBuy.LogLevel) } @objc public enum PresenceErrorType : Swift.Int { case invalidPresenceIdentifierLength @@ -34,6 +35,7 @@ extension Manager : FlyBuy.FlyBuyModuleManager { case bluetoothPoweredOff case bluetoothUnauthorized case bluetoothUnsupported + case presenceManagerNotConfigured public var description: Swift.String { get } @@ -43,32 +45,33 @@ extension Manager : FlyBuy.FlyBuyModuleManager { get } } -@objc(FlyBuyPresenceError) @_objcRuntimeName(FlyBuyPresenceError) public class PresenceError : FlyBuy.FlyBuyError { +@objc(FlyBuyPresenceError) public class PresenceError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { @objc final public let type: FlyBuyPresence.PresenceErrorType - @objc public init(_ typeIn: FlyBuyPresence.PresenceErrorType, context: Any? = nil) + @objc public init(_ typeIn: FlyBuyPresence.PresenceErrorType) @objc override dynamic public var description: Swift.String { @objc get } @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) + @objc override dynamic public init() +} +@objc public enum LocatorEvent : Swift.UInt8 { + case confirmed = 1 + case error = 2 + case present = 3 + case received = 4 + public typealias RawValue = Swift.UInt8 + public init?(rawValue: Swift.UInt8) + public var rawValue: Swift.UInt8 { + get + } } @objc public protocol PresenceLocatorDelegate { @objc optional func locatorDidStart(_ locator: FlyBuyPresence.PresenceLocator) @objc optional func locatorDidStop(_ locator: FlyBuyPresence.PresenceLocator) @objc optional func locatorDidFail(_ locator: FlyBuyPresence.PresenceLocator, error: Swift.Error) - @objc optional func locator(_ locator: FlyBuyPresence.PresenceLocator, didUpdateState state: FlyBuyPresence.PresenceLocator.state) + @objc optional func locator(_ locator: FlyBuyPresence.PresenceLocator, didReceiveEvent type: Swift.UInt8) } @_hasMissingDesignatedInitializers @objc public class PresenceLocator : ObjectiveC.NSObject { - @objc public enum state : Swift.UInt8 { - case confirmed = 1 - case error = 2 - case present = 3 - public typealias RawValue = Swift.UInt8 - public init?(rawValue: Swift.UInt8) - public var rawValue: Swift.UInt8 { - get - } - } final public let uuid: Foundation.UUID final public let identifier: Foundation.Data final public let payload: Swift.String? @@ -79,6 +82,6 @@ extension Manager : FlyBuy.FlyBuyModuleManager { extension FlyBuyPresence.PresenceErrorType : Swift.Equatable {} extension FlyBuyPresence.PresenceErrorType : Swift.Hashable {} extension FlyBuyPresence.PresenceErrorType : Swift.RawRepresentable {} -extension FlyBuyPresence.PresenceLocator.state : Swift.Equatable {} -extension FlyBuyPresence.PresenceLocator.state : Swift.Hashable {} -extension FlyBuyPresence.PresenceLocator.state : Swift.RawRepresentable {} +extension FlyBuyPresence.LocatorEvent : Swift.Equatable {} +extension FlyBuyPresence.LocatorEvent : Swift.Hashable {} +extension FlyBuyPresence.LocatorEvent : Swift.RawRepresentable {} diff --git a/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/FlyBuyPresence b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/FlyBuyPresence new file mode 100644 index 0000000..1128765 Binary files /dev/null and b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/FlyBuyPresence differ diff --git a/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Headers/FlyBuyPresence-Swift.h b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Headers/FlyBuyPresence-Swift.h new file mode 100644 index 0000000..d34e22d --- /dev/null +++ b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Headers/FlyBuyPresence-Swift.h @@ -0,0 +1,614 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +#ifndef FLYBUYPRESENCE_SWIFT_H +#define FLYBUYPRESENCE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FlyBuyPresence",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +typedef SWIFT_ENUM(uint8_t, LocatorEvent, open) { + LocatorEventConfirmed = 1, + LocatorEventError = 2, + LocatorEventPresent = 3, + LocatorEventReceived = 4, +}; + +@class PresenceLocator; + +/// Allows creating a presence locator in order to interact with presence detection hardware +/// installed at a site. +/// Example: +/// \code +/// // configure FlyBuy Presence +/// let presenceUUID = UUID(uuidstring: "54003B4B-E2E3-46A3-A2E9-299F9F576C4B")! +/// FlyBuy.presence.configure(presenceUUID: presenceUUID) +/// +/// // ... +/// +/// // create a locator +/// let presenceId = Data([UInt8](arrayLiteral:1,2,3,4,5,6,7,8)) +/// let payload = "{'key':'value'}" +/// FlyBuy.presence.createLocatorWithIdentifier(presenceId, payload: payload) { (locator, error) -> (Void) in +/// locator?.delegate = self +/// FlyBuy.presence.start(locator!) +/// } +/// +/// \endcode +SWIFT_CLASS_NAMED("Manager") +@interface FlyBuyPresenceManager : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyPresenceManager * _Nonnull shared;) ++ (FlyBuyPresenceManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly) NSInteger maxPayloadSize; +@property (nonatomic, readonly, copy) NSUUID * _Nullable presenceUUID; +/// configures the presence UUID associated with the app’s project +- (void)configureWithPresenceUUID:(NSUUID * _Nonnull)presenceUUID; +/// Calls the FlyBuy web API in order to create a presence locator +- (void)createLocatorWithPayload:(NSString * _Nullable)payload callback:(SWIFT_NOESCAPE void (^ _Nonnull)(PresenceLocator * _Nullable, NSError * _Nullable))callback; +/// Creates a presence locator with the given identifier and payload +- (void)createLocatorWithIdentifier:(NSData * _Nonnull)presenceIdentifier payload:(NSString * _Nullable)payload callback:(SWIFT_NOESCAPE void (^ _Nonnull)(PresenceLocator * _Nullable, NSError * _Nullable))callback; +/// starts the bluetooth advertising and service associated with a presence locator +- (void)start:(PresenceLocator * _Nonnull)locator; +/// stops the bluetooth advertising and service associated with a presence locator +- (NSError * _Nullable)stop SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +enum PresenceErrorType : NSInteger; + +SWIFT_CLASS_NAMED("PresenceError") +@interface FlyBuyPresenceError : NSObject +@property (nonatomic, readonly) enum PresenceErrorType type; +- (nonnull instancetype)init:(enum PresenceErrorType)typeIn OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +typedef SWIFT_ENUM(NSInteger, PresenceErrorType, open) { + PresenceErrorTypeInvalidPresenceIdentifierLength = 0, + PresenceErrorTypeInvalidPayloadLength = 1, + PresenceErrorTypeUnableToCreateLocator = 2, + PresenceErrorTypeFailedToStartAdvertising = 3, + PresenceErrorTypeAdvertiserAlreadyStarted = 4, + PresenceErrorTypeLocatorNotStarted = 5, + PresenceErrorTypeBluetoothPoweredOff = 6, + PresenceErrorTypeBluetoothUnauthorized = 7, + PresenceErrorTypeBluetoothUnsupported = 8, + PresenceErrorTypePresenceManagerNotConfigured = 9, +}; + + +SWIFT_CLASS("_TtC14FlyBuyPresence15PresenceLocator") +@interface PresenceLocator : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_PROTOCOL("_TtP14FlyBuyPresence23PresenceLocatorDelegate_") +@protocol PresenceLocatorDelegate +@optional +- (void)locatorDidStart:(PresenceLocator * _Nonnull)locator; +- (void)locatorDidStop:(PresenceLocator * _Nonnull)locator; +- (void)locatorDidFail:(PresenceLocator * _Nonnull)locator error:(NSError * _Nonnull)error; +- (void)locator:(PresenceLocator * _Nonnull)locator didReceiveEvent:(uint8_t)type; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +#ifndef FLYBUYPRESENCE_SWIFT_H +#define FLYBUYPRESENCE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FlyBuyPresence",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +typedef SWIFT_ENUM(uint8_t, LocatorEvent, open) { + LocatorEventConfirmed = 1, + LocatorEventError = 2, + LocatorEventPresent = 3, + LocatorEventReceived = 4, +}; + +@class PresenceLocator; + +/// Allows creating a presence locator in order to interact with presence detection hardware +/// installed at a site. +/// Example: +/// \code +/// // configure FlyBuy Presence +/// let presenceUUID = UUID(uuidstring: "54003B4B-E2E3-46A3-A2E9-299F9F576C4B")! +/// FlyBuy.presence.configure(presenceUUID: presenceUUID) +/// +/// // ... +/// +/// // create a locator +/// let presenceId = Data([UInt8](arrayLiteral:1,2,3,4,5,6,7,8)) +/// let payload = "{'key':'value'}" +/// FlyBuy.presence.createLocatorWithIdentifier(presenceId, payload: payload) { (locator, error) -> (Void) in +/// locator?.delegate = self +/// FlyBuy.presence.start(locator!) +/// } +/// +/// \endcode +SWIFT_CLASS_NAMED("Manager") +@interface FlyBuyPresenceManager : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyPresenceManager * _Nonnull shared;) ++ (FlyBuyPresenceManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly) NSInteger maxPayloadSize; +@property (nonatomic, readonly, copy) NSUUID * _Nullable presenceUUID; +/// configures the presence UUID associated with the app’s project +- (void)configureWithPresenceUUID:(NSUUID * _Nonnull)presenceUUID; +/// Calls the FlyBuy web API in order to create a presence locator +- (void)createLocatorWithPayload:(NSString * _Nullable)payload callback:(SWIFT_NOESCAPE void (^ _Nonnull)(PresenceLocator * _Nullable, NSError * _Nullable))callback; +/// Creates a presence locator with the given identifier and payload +- (void)createLocatorWithIdentifier:(NSData * _Nonnull)presenceIdentifier payload:(NSString * _Nullable)payload callback:(SWIFT_NOESCAPE void (^ _Nonnull)(PresenceLocator * _Nullable, NSError * _Nullable))callback; +/// starts the bluetooth advertising and service associated with a presence locator +- (void)start:(PresenceLocator * _Nonnull)locator; +/// stops the bluetooth advertising and service associated with a presence locator +- (NSError * _Nullable)stop SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +enum PresenceErrorType : NSInteger; + +SWIFT_CLASS_NAMED("PresenceError") +@interface FlyBuyPresenceError : NSObject +@property (nonatomic, readonly) enum PresenceErrorType type; +- (nonnull instancetype)init:(enum PresenceErrorType)typeIn OBJC_DESIGNATED_INITIALIZER; +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +typedef SWIFT_ENUM(NSInteger, PresenceErrorType, open) { + PresenceErrorTypeInvalidPresenceIdentifierLength = 0, + PresenceErrorTypeInvalidPayloadLength = 1, + PresenceErrorTypeUnableToCreateLocator = 2, + PresenceErrorTypeFailedToStartAdvertising = 3, + PresenceErrorTypeAdvertiserAlreadyStarted = 4, + PresenceErrorTypeLocatorNotStarted = 5, + PresenceErrorTypeBluetoothPoweredOff = 6, + PresenceErrorTypeBluetoothUnauthorized = 7, + PresenceErrorTypeBluetoothUnsupported = 8, + PresenceErrorTypePresenceManagerNotConfigured = 9, +}; + + +SWIFT_CLASS("_TtC14FlyBuyPresence15PresenceLocator") +@interface PresenceLocator : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_PROTOCOL("_TtP14FlyBuyPresence23PresenceLocatorDelegate_") +@protocol PresenceLocatorDelegate +@optional +- (void)locatorDidStart:(PresenceLocator * _Nonnull)locator; +- (void)locatorDidStop:(PresenceLocator * _Nonnull)locator; +- (void)locatorDidFail:(PresenceLocator * _Nonnull)locator error:(NSError * _Nonnull)error; +- (void)locator:(PresenceLocator * _Nonnull)locator didReceiveEvent:(uint8_t)type; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Headers/FlyBuyPresence.h b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Headers/FlyBuyPresence.h similarity index 100% rename from FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Headers/FlyBuyPresence.h rename to FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Headers/FlyBuyPresence.h diff --git a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Info.plist b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Info.plist similarity index 54% rename from FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Info.plist rename to FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Info.plist index a70fef7..450682e 100644 Binary files a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Info.plist and b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Info.plist differ diff --git a/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..d309151 Binary files /dev/null and b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..615f79e --- /dev/null +++ b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,87 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyPresence +import CoreBluetooth +import CoreLocation +import FlyBuy +@_exported import FlyBuyPresence +import Foundation +import Swift +@_inheritsConvenienceInitializers @objc(FlyBuyPresenceManager) public class Manager : ObjectiveC.NSObject { + @objc public static let shared: FlyBuyPresence.Manager + @objc final public let maxPayloadSize: Swift.Int + @objc public var presenceUUID: Foundation.UUID? { + get + } + @objc public func configure(presenceUUID: Foundation.UUID) + @objc deinit + @objc public func createLocator(payload: Swift.String? = nil, callback: ((FlyBuyPresence.PresenceLocator?, Swift.Error?) -> (Swift.Void))) + @objc public func createLocatorWithIdentifier(_ presenceIdentifier: Foundation.Data, payload: Swift.String? = nil, callback: ((FlyBuyPresence.PresenceLocator?, Swift.Error?) -> (Swift.Void))) + @objc public func start(_ locator: FlyBuyPresence.PresenceLocator) + @objc public func stop() -> (Swift.Error?) + @objc override dynamic public init() +} +extension Manager : FlyBuy.FlyBuyModuleManager { + public func configUpdated(_ config: FlyBuy.AppConfig) + public func set(logLevel: FlyBuy.LogLevel) +} +@objc public enum PresenceErrorType : Swift.Int { + case invalidPresenceIdentifierLength + case invalidPayloadLength + case unableToCreateLocator + case failedToStartAdvertising + case advertiserAlreadyStarted + case locatorNotStarted + case bluetoothPoweredOff + case bluetoothUnauthorized + case bluetoothUnsupported + case presenceManagerNotConfigured + public var description: Swift.String { + get + } + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc(FlyBuyPresenceError) public class PresenceError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc final public let type: FlyBuyPresence.PresenceErrorType + @objc public init(_ typeIn: FlyBuyPresence.PresenceErrorType) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum LocatorEvent : Swift.UInt8 { + case confirmed = 1 + case error = 2 + case present = 3 + case received = 4 + public typealias RawValue = Swift.UInt8 + public init?(rawValue: Swift.UInt8) + public var rawValue: Swift.UInt8 { + get + } +} +@objc public protocol PresenceLocatorDelegate { + @objc optional func locatorDidStart(_ locator: FlyBuyPresence.PresenceLocator) + @objc optional func locatorDidStop(_ locator: FlyBuyPresence.PresenceLocator) + @objc optional func locatorDidFail(_ locator: FlyBuyPresence.PresenceLocator, error: Swift.Error) + @objc optional func locator(_ locator: FlyBuyPresence.PresenceLocator, didReceiveEvent type: Swift.UInt8) +} +@_hasMissingDesignatedInitializers @objc public class PresenceLocator : ObjectiveC.NSObject { + final public let uuid: Foundation.UUID + final public let identifier: Foundation.Data + final public let payload: Swift.String? + public var delegate: FlyBuyPresence.PresenceLocatorDelegate? + @objc override dynamic public init() + @objc deinit +} +extension FlyBuyPresence.PresenceErrorType : Swift.Equatable {} +extension FlyBuyPresence.PresenceErrorType : Swift.Hashable {} +extension FlyBuyPresence.PresenceErrorType : Swift.RawRepresentable {} +extension FlyBuyPresence.LocatorEvent : Swift.Equatable {} +extension FlyBuyPresence.LocatorEvent : Swift.Hashable {} +extension FlyBuyPresence.LocatorEvent : Swift.RawRepresentable {} diff --git a/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64.swiftdoc b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..d309151 Binary files /dev/null and b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64.swiftdoc differ diff --git a/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64.swiftinterface b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..615f79e --- /dev/null +++ b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/arm64.swiftinterface @@ -0,0 +1,87 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyPresence +import CoreBluetooth +import CoreLocation +import FlyBuy +@_exported import FlyBuyPresence +import Foundation +import Swift +@_inheritsConvenienceInitializers @objc(FlyBuyPresenceManager) public class Manager : ObjectiveC.NSObject { + @objc public static let shared: FlyBuyPresence.Manager + @objc final public let maxPayloadSize: Swift.Int + @objc public var presenceUUID: Foundation.UUID? { + get + } + @objc public func configure(presenceUUID: Foundation.UUID) + @objc deinit + @objc public func createLocator(payload: Swift.String? = nil, callback: ((FlyBuyPresence.PresenceLocator?, Swift.Error?) -> (Swift.Void))) + @objc public func createLocatorWithIdentifier(_ presenceIdentifier: Foundation.Data, payload: Swift.String? = nil, callback: ((FlyBuyPresence.PresenceLocator?, Swift.Error?) -> (Swift.Void))) + @objc public func start(_ locator: FlyBuyPresence.PresenceLocator) + @objc public func stop() -> (Swift.Error?) + @objc override dynamic public init() +} +extension Manager : FlyBuy.FlyBuyModuleManager { + public func configUpdated(_ config: FlyBuy.AppConfig) + public func set(logLevel: FlyBuy.LogLevel) +} +@objc public enum PresenceErrorType : Swift.Int { + case invalidPresenceIdentifierLength + case invalidPayloadLength + case unableToCreateLocator + case failedToStartAdvertising + case advertiserAlreadyStarted + case locatorNotStarted + case bluetoothPoweredOff + case bluetoothUnauthorized + case bluetoothUnsupported + case presenceManagerNotConfigured + public var description: Swift.String { + get + } + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc(FlyBuyPresenceError) public class PresenceError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { + @objc final public let type: FlyBuyPresence.PresenceErrorType + @objc public init(_ typeIn: FlyBuyPresence.PresenceErrorType) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum LocatorEvent : Swift.UInt8 { + case confirmed = 1 + case error = 2 + case present = 3 + case received = 4 + public typealias RawValue = Swift.UInt8 + public init?(rawValue: Swift.UInt8) + public var rawValue: Swift.UInt8 { + get + } +} +@objc public protocol PresenceLocatorDelegate { + @objc optional func locatorDidStart(_ locator: FlyBuyPresence.PresenceLocator) + @objc optional func locatorDidStop(_ locator: FlyBuyPresence.PresenceLocator) + @objc optional func locatorDidFail(_ locator: FlyBuyPresence.PresenceLocator, error: Swift.Error) + @objc optional func locator(_ locator: FlyBuyPresence.PresenceLocator, didReceiveEvent type: Swift.UInt8) +} +@_hasMissingDesignatedInitializers @objc public class PresenceLocator : ObjectiveC.NSObject { + final public let uuid: Foundation.UUID + final public let identifier: Foundation.Data + final public let payload: Swift.String? + public var delegate: FlyBuyPresence.PresenceLocatorDelegate? + @objc override dynamic public init() + @objc deinit +} +extension FlyBuyPresence.PresenceErrorType : Swift.Equatable {} +extension FlyBuyPresence.PresenceErrorType : Swift.Hashable {} +extension FlyBuyPresence.PresenceErrorType : Swift.RawRepresentable {} +extension FlyBuyPresence.LocatorEvent : Swift.Equatable {} +extension FlyBuyPresence.LocatorEvent : Swift.Hashable {} +extension FlyBuyPresence.LocatorEvent : Swift.RawRepresentable {} diff --git a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftdoc similarity index 95% rename from FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftdoc rename to FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index d168fff..c7694cd 100644 Binary files a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftinterface similarity index 76% rename from FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftinterface rename to FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index bc17f82..085ef70 100644 --- a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) // swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyPresence import CoreBluetooth import CoreLocation @@ -23,6 +23,7 @@ import Swift } extension Manager : FlyBuy.FlyBuyModuleManager { public func configUpdated(_ config: FlyBuy.AppConfig) + public func set(logLevel: FlyBuy.LogLevel) } @objc public enum PresenceErrorType : Swift.Int { case invalidPresenceIdentifierLength @@ -34,6 +35,7 @@ extension Manager : FlyBuy.FlyBuyModuleManager { case bluetoothPoweredOff case bluetoothUnauthorized case bluetoothUnsupported + case presenceManagerNotConfigured public var description: Swift.String { get } @@ -43,32 +45,33 @@ extension Manager : FlyBuy.FlyBuyModuleManager { get } } -@objc(FlyBuyPresenceError) @_objcRuntimeName(FlyBuyPresenceError) public class PresenceError : FlyBuy.FlyBuyError { +@objc(FlyBuyPresenceError) public class PresenceError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { @objc final public let type: FlyBuyPresence.PresenceErrorType - @objc public init(_ typeIn: FlyBuyPresence.PresenceErrorType, context: Any? = nil) + @objc public init(_ typeIn: FlyBuyPresence.PresenceErrorType) @objc override dynamic public var description: Swift.String { @objc get } @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) + @objc override dynamic public init() +} +@objc public enum LocatorEvent : Swift.UInt8 { + case confirmed = 1 + case error = 2 + case present = 3 + case received = 4 + public typealias RawValue = Swift.UInt8 + public init?(rawValue: Swift.UInt8) + public var rawValue: Swift.UInt8 { + get + } } @objc public protocol PresenceLocatorDelegate { @objc optional func locatorDidStart(_ locator: FlyBuyPresence.PresenceLocator) @objc optional func locatorDidStop(_ locator: FlyBuyPresence.PresenceLocator) @objc optional func locatorDidFail(_ locator: FlyBuyPresence.PresenceLocator, error: Swift.Error) - @objc optional func locator(_ locator: FlyBuyPresence.PresenceLocator, didUpdateState state: FlyBuyPresence.PresenceLocator.state) + @objc optional func locator(_ locator: FlyBuyPresence.PresenceLocator, didReceiveEvent type: Swift.UInt8) } @_hasMissingDesignatedInitializers @objc public class PresenceLocator : ObjectiveC.NSObject { - @objc public enum state : Swift.UInt8 { - case confirmed = 1 - case error = 2 - case present = 3 - public typealias RawValue = Swift.UInt8 - public init?(rawValue: Swift.UInt8) - public var rawValue: Swift.UInt8 { - get - } - } final public let uuid: Foundation.UUID final public let identifier: Foundation.Data final public let payload: Swift.String? @@ -79,6 +82,6 @@ extension Manager : FlyBuy.FlyBuyModuleManager { extension FlyBuyPresence.PresenceErrorType : Swift.Equatable {} extension FlyBuyPresence.PresenceErrorType : Swift.Hashable {} extension FlyBuyPresence.PresenceErrorType : Swift.RawRepresentable {} -extension FlyBuyPresence.PresenceLocator.state : Swift.Equatable {} -extension FlyBuyPresence.PresenceLocator.state : Swift.Hashable {} -extension FlyBuyPresence.PresenceLocator.state : Swift.RawRepresentable {} +extension FlyBuyPresence.LocatorEvent : Swift.Equatable {} +extension FlyBuyPresence.LocatorEvent : Swift.Hashable {} +extension FlyBuyPresence.LocatorEvent : Swift.RawRepresentable {} diff --git a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64.swiftdoc b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64.swiftdoc similarity index 95% rename from FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64.swiftdoc rename to FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64.swiftdoc index d168fff..c7694cd 100644 Binary files a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64.swiftdoc and b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64.swiftdoc differ diff --git a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64.swiftinterface b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64.swiftinterface similarity index 76% rename from FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64.swiftinterface rename to FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64.swiftinterface index bc17f82..085ef70 100644 --- a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64.swiftinterface +++ b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/FlyBuyPresence.swiftmodule/x86_64.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) +// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) // swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FlyBuyPresence import CoreBluetooth import CoreLocation @@ -23,6 +23,7 @@ import Swift } extension Manager : FlyBuy.FlyBuyModuleManager { public func configUpdated(_ config: FlyBuy.AppConfig) + public func set(logLevel: FlyBuy.LogLevel) } @objc public enum PresenceErrorType : Swift.Int { case invalidPresenceIdentifierLength @@ -34,6 +35,7 @@ extension Manager : FlyBuy.FlyBuyModuleManager { case bluetoothPoweredOff case bluetoothUnauthorized case bluetoothUnsupported + case presenceManagerNotConfigured public var description: Swift.String { get } @@ -43,32 +45,33 @@ extension Manager : FlyBuy.FlyBuyModuleManager { get } } -@objc(FlyBuyPresenceError) @_objcRuntimeName(FlyBuyPresenceError) public class PresenceError : FlyBuy.FlyBuyError { +@objc(FlyBuyPresenceError) public class PresenceError : ObjectiveC.NSObject, FlyBuy.FlyBuyError { @objc final public let type: FlyBuyPresence.PresenceErrorType - @objc public init(_ typeIn: FlyBuyPresence.PresenceErrorType, context: Any? = nil) + @objc public init(_ typeIn: FlyBuyPresence.PresenceErrorType) @objc override dynamic public var description: Swift.String { @objc get } @objc deinit - override public init(_ description: Swift.String?, context: Any? = super) + @objc override dynamic public init() +} +@objc public enum LocatorEvent : Swift.UInt8 { + case confirmed = 1 + case error = 2 + case present = 3 + case received = 4 + public typealias RawValue = Swift.UInt8 + public init?(rawValue: Swift.UInt8) + public var rawValue: Swift.UInt8 { + get + } } @objc public protocol PresenceLocatorDelegate { @objc optional func locatorDidStart(_ locator: FlyBuyPresence.PresenceLocator) @objc optional func locatorDidStop(_ locator: FlyBuyPresence.PresenceLocator) @objc optional func locatorDidFail(_ locator: FlyBuyPresence.PresenceLocator, error: Swift.Error) - @objc optional func locator(_ locator: FlyBuyPresence.PresenceLocator, didUpdateState state: FlyBuyPresence.PresenceLocator.state) + @objc optional func locator(_ locator: FlyBuyPresence.PresenceLocator, didReceiveEvent type: Swift.UInt8) } @_hasMissingDesignatedInitializers @objc public class PresenceLocator : ObjectiveC.NSObject { - @objc public enum state : Swift.UInt8 { - case confirmed = 1 - case error = 2 - case present = 3 - public typealias RawValue = Swift.UInt8 - public init?(rawValue: Swift.UInt8) - public var rawValue: Swift.UInt8 { - get - } - } final public let uuid: Foundation.UUID final public let identifier: Foundation.Data final public let payload: Swift.String? @@ -79,6 +82,6 @@ extension Manager : FlyBuy.FlyBuyModuleManager { extension FlyBuyPresence.PresenceErrorType : Swift.Equatable {} extension FlyBuyPresence.PresenceErrorType : Swift.Hashable {} extension FlyBuyPresence.PresenceErrorType : Swift.RawRepresentable {} -extension FlyBuyPresence.PresenceLocator.state : Swift.Equatable {} -extension FlyBuyPresence.PresenceLocator.state : Swift.Hashable {} -extension FlyBuyPresence.PresenceLocator.state : Swift.RawRepresentable {} +extension FlyBuyPresence.LocatorEvent : Swift.Equatable {} +extension FlyBuyPresence.LocatorEvent : Swift.Hashable {} +extension FlyBuyPresence.LocatorEvent : Swift.RawRepresentable {} diff --git a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Modules/module.modulemap b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/module.modulemap similarity index 100% rename from FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Modules/module.modulemap rename to FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Modules/module.modulemap diff --git a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/_CodeSignature/CodeResources b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/_CodeSignature/CodeResources similarity index 60% rename from FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/_CodeSignature/CodeResources rename to FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/_CodeSignature/CodeResources index fd93057..2a86798 100644 --- a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/_CodeSignature/CodeResources +++ b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Headers/FlyBuyPresence-Swift.h - dbRfF5WJMsdwOcUBSCDthvv2LHQ= + 4iFLJffJWVHsI1Z+rmNLd6DfPGs= Headers/FlyBuyPresence.h @@ -14,31 +14,55 @@ Info.plist - i4OWfwL/v/qB3LXxoN5wOX65XXc= + jy++m6LENJIWzvV16nSHi+aQntU= + + Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + qm0iU13t+0d1N1/ykPq+9Irimtw= + + Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + Mu91vpuktLqS/2atK6eRRC1c5D0= + + Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + 4+tDyCnGZ20F7g8U3+k/4JwhMcA= + + Modules/FlyBuyPresence.swiftmodule/arm64.swiftdoc + + qm0iU13t+0d1N1/ykPq+9Irimtw= + + Modules/FlyBuyPresence.swiftmodule/arm64.swiftinterface + + Mu91vpuktLqS/2atK6eRRC1c5D0= + + Modules/FlyBuyPresence.swiftmodule/arm64.swiftmodule + + 4+tDyCnGZ20F7g8U3+k/4JwhMcA= Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - 7n9XkKZFKHWyOnFd5fbWQJCLns8= + 1xzx1uUbB4yRtHLIhGEYQYPWut8= Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - 143N3KylXuWn9kAeabCYPN+543w= + xFgiddrpZjjunwMjeBCJ+Kg33Ig= Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - dHyRRxx/sV96NAmUQJ8lEHPyh9E= + LnNb/Fgn9xECWxenVQv0jLnn6kQ= Modules/FlyBuyPresence.swiftmodule/x86_64.swiftdoc - 7n9XkKZFKHWyOnFd5fbWQJCLns8= + 1xzx1uUbB4yRtHLIhGEYQYPWut8= Modules/FlyBuyPresence.swiftmodule/x86_64.swiftinterface - 143N3KylXuWn9kAeabCYPN+543w= + xFgiddrpZjjunwMjeBCJ+Kg33Ig= Modules/FlyBuyPresence.swiftmodule/x86_64.swiftmodule - dHyRRxx/sV96NAmUQJ8lEHPyh9E= + LnNb/Fgn9xECWxenVQv0jLnn6kQ= Modules/module.modulemap @@ -51,7 +75,7 @@ hash2 - DtIlip+J2lWSy8raOc2Qs66XMHEQfLmeGXJRqb7EbzQ= + mS86/qZ5Nd3+fbZypSjjzq/ZDYYBIZMC2I16rtLPDNk= Headers/FlyBuyPresence.h @@ -61,46 +85,88 @@ M4hGikSBt08tj8t5zryy3SHvXj/58rywi/LMd557G+k= + Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + EyojLtfh2UXQHzxi0ow3mzB1Pj9SjHsxEnr0oVdy0lg= + + + Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + LmyWXEBeJBCczAkT7HMc+kKdTJr6xLP7ZJTanxcCQpY= + + + Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + zJAP9oTtP8KL655koms5QdJ5JaXLiqL6ZLUEzLCYptI= + + + Modules/FlyBuyPresence.swiftmodule/arm64.swiftdoc + + hash2 + + EyojLtfh2UXQHzxi0ow3mzB1Pj9SjHsxEnr0oVdy0lg= + + + Modules/FlyBuyPresence.swiftmodule/arm64.swiftinterface + + hash2 + + LmyWXEBeJBCczAkT7HMc+kKdTJr6xLP7ZJTanxcCQpY= + + + Modules/FlyBuyPresence.swiftmodule/arm64.swiftmodule + + hash2 + + zJAP9oTtP8KL655koms5QdJ5JaXLiqL6ZLUEzLCYptI= + + Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - mWiKPj6DDUgM9etR+WgSlIQLMlE+S7mHlCz2V7Giu5Q= + plpzEuwErnpFnpd62EL5iu0AVM52BseND5LglWLRtVw= Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - K0BOjOUZsnJOzAXK+sILrwhI75zL2EKHW+9MeWiIIes= + JT0yuMbZGTpBl10rROS5xxEI9egf62SvZhv9VjUt14U= Modules/FlyBuyPresence.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - 1S8iGduO0H58NYIrcj9j3yiGF3uQf9J/2M4rYB9Yclk= + Ylkm0y54O+iQcIJhtYH4Yy4oS9Dq465EzESzJ7jxVts= Modules/FlyBuyPresence.swiftmodule/x86_64.swiftdoc hash2 - mWiKPj6DDUgM9etR+WgSlIQLMlE+S7mHlCz2V7Giu5Q= + plpzEuwErnpFnpd62EL5iu0AVM52BseND5LglWLRtVw= Modules/FlyBuyPresence.swiftmodule/x86_64.swiftinterface hash2 - K0BOjOUZsnJOzAXK+sILrwhI75zL2EKHW+9MeWiIIes= + JT0yuMbZGTpBl10rROS5xxEI9egf62SvZhv9VjUt14U= Modules/FlyBuyPresence.swiftmodule/x86_64.swiftmodule hash2 - 1S8iGduO0H58NYIrcj9j3yiGF3uQf9J/2M4rYB9Yclk= + Ylkm0y54O+iQcIJhtYH4Yy4oS9Dq465EzESzJ7jxVts= Modules/module.modulemap diff --git a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/FlyBuyPresence b/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/FlyBuyPresence deleted file mode 100644 index ace13d0..0000000 Binary files a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/FlyBuyPresence and /dev/null differ diff --git a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Headers/FlyBuyPresence-Swift.h b/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Headers/FlyBuyPresence-Swift.h deleted file mode 100644 index c3ef556..0000000 --- a/FlyBuyPresence.xcframework/ios-x86_64-simulator/FlyBuyPresence.framework/Headers/FlyBuyPresence-Swift.h +++ /dev/null @@ -1,291 +0,0 @@ -// Generated by Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53) -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -@import CoreBluetooth; -@import Foundation; -@import ObjectiveC; -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FlyBuyPresence",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - - - -@class PresenceLocator; - -/// Allows creating a presence locator in order to interact with presence detection hardware -/// installed at a site. -/// Example: -/// \code -/// // configure FlyBuy Presence -/// let presenceUUID = UUID(uuidstring: "54003B4B-E2E3-46A3-A2E9-299F9F576C4B")! -/// FlyBuy.presence.configure(presenceUUID: presenceUUID) -/// -/// // ... -/// -/// // create a locator -/// let presenceId = Data([UInt8](arrayLiteral:1,2,3,4,5,6,7,8)) -/// let payload = "{'key':'value'}" -/// FlyBuy.presence.createLocatorWithIdentifier(presenceId, payload: payload) { (locator, error) -> (Void) in -/// locator?.delegate = self -/// FlyBuy.presence.start(locator!) -/// } -/// -/// \endcode -SWIFT_CLASS_NAMED("Manager") -@interface FlyBuyPresenceManager : NSObject -SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FlyBuyPresenceManager * _Nonnull shared;) -+ (FlyBuyPresenceManager * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; -@property (nonatomic, readonly) NSInteger maxPayloadSize; -@property (nonatomic, readonly, copy) NSUUID * _Nullable presenceUUID; -/// configures the presence UUID associated with the app’s project -- (void)configureWithPresenceUUID:(NSUUID * _Nonnull)presenceUUID; -/// Calls the FlyBuy web API in order to create a presence locator -- (void)createLocatorWithPayload:(NSString * _Nullable)payload callback:(SWIFT_NOESCAPE void (^ _Nonnull)(PresenceLocator * _Nullable, NSError * _Nullable))callback; -/// Creates a presence locator with the given identifier and payload -- (void)createLocatorWithIdentifier:(NSData * _Nonnull)presenceIdentifier payload:(NSString * _Nullable)payload callback:(SWIFT_NOESCAPE void (^ _Nonnull)(PresenceLocator * _Nullable, NSError * _Nullable))callback; -/// starts the bluetooth advertising and service associated with a presence locator -- (void)start:(PresenceLocator * _Nonnull)locator; -/// stops the bluetooth advertising and service associated with a presence locator -- (NSError * _Nullable)stop SWIFT_WARN_UNUSED_RESULT; -- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; -@end - - - -typedef SWIFT_ENUM(NSInteger, PresenceErrorType, open) { - PresenceErrorTypeInvalidPresenceIdentifierLength = 0, - PresenceErrorTypeInvalidPayloadLength = 1, - PresenceErrorTypeUnableToCreateLocator = 2, - PresenceErrorTypeFailedToStartAdvertising = 3, - PresenceErrorTypeAdvertiserAlreadyStarted = 4, - PresenceErrorTypeLocatorNotStarted = 5, - PresenceErrorTypeBluetoothPoweredOff = 6, - PresenceErrorTypeBluetoothUnauthorized = 7, - PresenceErrorTypeBluetoothUnsupported = 8, -}; - - -SWIFT_CLASS("_TtC14FlyBuyPresence15PresenceLocator") -@interface PresenceLocator : NSObject -- (nonnull instancetype)init SWIFT_UNAVAILABLE; -+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); -@end - -typedef SWIFT_ENUM(uint8_t, state, open) { - stateConfirmed = 1, - stateError = 2, - statePresent = 3, -}; - - -SWIFT_PROTOCOL("_TtP14FlyBuyPresence23PresenceLocatorDelegate_") -@protocol PresenceLocatorDelegate -@optional -- (void)locatorDidStart:(PresenceLocator * _Nonnull)locator; -- (void)locatorDidStop:(PresenceLocator * _Nonnull)locator; -- (void)locatorDidFail:(PresenceLocator * _Nonnull)locator error:(NSError * _Nonnull)error; -- (void)locator:(PresenceLocator * _Nonnull)locator didUpdateState:(enum state)state; -@end - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop