Skip to content

Commit

Permalink
Release 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
botnerd committed Dec 9, 2021
1 parent 04c89b1 commit 129e32e
Show file tree
Hide file tree
Showing 37 changed files with 198 additions and 75 deletions.
Binary file modified FlyBuy.xcframework/ios-arm64/FlyBuy.framework/FlyBuy
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,10 @@ SWIFT_CLASS_NAMED("Order")
@property (nonatomic, readonly, copy) NSString * _Nullable curbsideLocalizedString;
@property (nonatomic, readonly, copy) NSString * _Nullable pickupLocalizedString;
@property (nonatomic, copy) NSString * _Nullable pushToken;
@property (nonatomic, copy) NSString * _Nullable spotIdentifer;
@property (nonatomic, copy) NSString * _Nullable spotIdentifierInputType;
@property (nonatomic, readonly, copy) NSString * _Nullable partnerIdentifierForCustomer;
@property (nonatomic, readonly, copy) NSString * _Nullable partnerIdentifierForCrew;
- (CLLocation * _Nullable)siteLocation SWIFT_WARN_UNUSED_RESULT;
- (NSNumber * _Nullable)siteDistanceFrom:(CLLocation * _Nonnull)location SWIFT_WARN_UNUSED_RESULT;
@property (nonatomic, readonly, strong) NSNumber * _Nullable customerID;
Expand All @@ -539,6 +543,7 @@ 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;
- (nonnull instancetype)initWithOrderID:(NSInteger)orderID customerState:(NSString * _Nonnull)customerState spotIdentifier:(NSString * _Nullable)spotIdentifier 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;
Expand Down Expand Up @@ -622,6 +627,16 @@ SWIFT_CLASS_NAMED("OrdersManager")
/// \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 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 spotIdentifier contains the parking spot identifier
///
/// \param callback Gets called at completion with the order or any error encountered. Optional.
///
- (void)updateCustomerStateWithOrderID:(NSInteger)orderID customerState:(NSString * _Nonnull)customerState spotIdentifier:(NSString * _Nullable)spotIdentifier 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
///
Expand Down
Binary file modified FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Info.plist
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ extension BaseApiRequest {
}
final public class PersistManager : FlyBuy.FlyBuyDBProtocol {
public static let defaultDBPath: Swift.String
public static var resetOnInit: Swift.Bool
public static var shared: FlyBuy.PersistManager
final public var dbManager: FlyBuy.FlyBuyDBManager
final public var needsInit: Swift.Bool
Expand Down Expand Up @@ -318,6 +319,7 @@ public protocol FlyBuyError : Foundation.LocalizedError {
@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, customerState: Swift.String, spotIdentifier: Swift.String?)
@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?)
Expand Down Expand Up @@ -393,7 +395,10 @@ extension _AnyDecodable {
open func encode(to encoder: Swift.Encoder) throws
}
final public class FlyBuyDBManager {
final public func setDBVersion(_ version: Swift.Int)
final public var dbVersion: Swift.Int {
get
set
}
public init(atPath path: Swift.String)
final public func fetchAll<T>(_ type: [T].Type) throws -> [T] where T : FlyBuy.PersistableCodable
final public func fetch<T>(_ type: [T].Type, using sql: Swift.String) throws -> [T] where T : FlyBuy.PersistableCodable
Expand All @@ -411,6 +416,7 @@ extension FlyBuyDBProtocol {
public func save<T>(_ value: T) throws where T : FlyBuy.PersistableCodable
public func deleteAll<T>(_ type: T.Type) throws where T : FlyBuy.PersistableCodable
public func execute(sql: Swift.String) throws
public func dbClose()
}
public protocol PersistableCodable : Swift.Decodable, Swift.Encodable {
static var createTable: Swift.String { get }
Expand Down Expand Up @@ -603,6 +609,7 @@ extension String {
public var isBlank: Swift.Bool {
get
}
public func removeDirectory()
}
@objc public class AppUpgrade : ObjectiveC.NSObject, Swift.Codable {
final public let required: Swift.Bool
Expand Down Expand Up @@ -641,6 +648,7 @@ public struct PickupStates : Swift.Codable {
@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 updateCustomerState(orderID: Swift.Int, customerState: Swift.String, spotIdentifier: 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
Expand Down Expand Up @@ -770,6 +778,11 @@ public struct CustomerResponse : Swift.Decodable {
@objc final public let pickupLocalizedString: Swift.String?
@objc public var pushToken: Swift.String?
public var isLocationTrackingEnabled: Swift.Bool?
public var spotIdentifierEntryEnabled: Swift.Bool?
@objc public var spotIdentifer: Swift.String?
@objc public var spotIdentifierInputType: Swift.String?
@objc final public let partnerIdentifierForCustomer: Swift.String?
@objc final public let partnerIdentifierForCrew: Swift.String?
required public init(from decoder: Swift.Decoder) throws
public func encode(to encoder: Swift.Encoder) throws
@objc public func siteLocation() -> CoreLocation.CLLocation?
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ extension BaseApiRequest {
}
final public class PersistManager : FlyBuy.FlyBuyDBProtocol {
public static let defaultDBPath: Swift.String
public static var resetOnInit: Swift.Bool
public static var shared: FlyBuy.PersistManager
final public var dbManager: FlyBuy.FlyBuyDBManager
final public var needsInit: Swift.Bool
Expand Down Expand Up @@ -318,6 +319,7 @@ public protocol FlyBuyError : Foundation.LocalizedError {
@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, customerState: Swift.String, spotIdentifier: Swift.String?)
@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?)
Expand Down Expand Up @@ -393,7 +395,10 @@ extension _AnyDecodable {
open func encode(to encoder: Swift.Encoder) throws
}
final public class FlyBuyDBManager {
final public func setDBVersion(_ version: Swift.Int)
final public var dbVersion: Swift.Int {
get
set
}
public init(atPath path: Swift.String)
final public func fetchAll<T>(_ type: [T].Type) throws -> [T] where T : FlyBuy.PersistableCodable
final public func fetch<T>(_ type: [T].Type, using sql: Swift.String) throws -> [T] where T : FlyBuy.PersistableCodable
Expand All @@ -411,6 +416,7 @@ extension FlyBuyDBProtocol {
public func save<T>(_ value: T) throws where T : FlyBuy.PersistableCodable
public func deleteAll<T>(_ type: T.Type) throws where T : FlyBuy.PersistableCodable
public func execute(sql: Swift.String) throws
public func dbClose()
}
public protocol PersistableCodable : Swift.Decodable, Swift.Encodable {
static var createTable: Swift.String { get }
Expand Down Expand Up @@ -603,6 +609,7 @@ extension String {
public var isBlank: Swift.Bool {
get
}
public func removeDirectory()
}
@objc public class AppUpgrade : ObjectiveC.NSObject, Swift.Codable {
final public let required: Swift.Bool
Expand Down Expand Up @@ -641,6 +648,7 @@ public struct PickupStates : Swift.Codable {
@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 updateCustomerState(orderID: Swift.Int, customerState: Swift.String, spotIdentifier: 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
Expand Down Expand Up @@ -770,6 +778,11 @@ public struct CustomerResponse : Swift.Decodable {
@objc final public let pickupLocalizedString: Swift.String?
@objc public var pushToken: Swift.String?
public var isLocationTrackingEnabled: Swift.Bool?
public var spotIdentifierEntryEnabled: Swift.Bool?
@objc public var spotIdentifer: Swift.String?
@objc public var spotIdentifierInputType: Swift.String?
@objc final public let partnerIdentifierForCustomer: Swift.String?
@objc final public let partnerIdentifierForCrew: Swift.String?
required public init(from decoder: Swift.Decoder) throws
public func encode(to encoder: Swift.Encoder) throws
@objc public func siteLocation() -> CoreLocation.CLLocation?
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,10 @@ SWIFT_CLASS_NAMED("Order")
@property (nonatomic, readonly, copy) NSString * _Nullable curbsideLocalizedString;
@property (nonatomic, readonly, copy) NSString * _Nullable pickupLocalizedString;
@property (nonatomic, copy) NSString * _Nullable pushToken;
@property (nonatomic, copy) NSString * _Nullable spotIdentifer;
@property (nonatomic, copy) NSString * _Nullable spotIdentifierInputType;
@property (nonatomic, readonly, copy) NSString * _Nullable partnerIdentifierForCustomer;
@property (nonatomic, readonly, copy) NSString * _Nullable partnerIdentifierForCrew;
- (CLLocation * _Nullable)siteLocation SWIFT_WARN_UNUSED_RESULT;
- (NSNumber * _Nullable)siteDistanceFrom:(CLLocation * _Nonnull)location SWIFT_WARN_UNUSED_RESULT;
@property (nonatomic, readonly, strong) NSNumber * _Nullable customerID;
Expand All @@ -541,6 +545,7 @@ 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;
- (nonnull instancetype)initWithOrderID:(NSInteger)orderID customerState:(NSString * _Nonnull)customerState spotIdentifier:(NSString * _Nullable)spotIdentifier 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;
Expand Down Expand Up @@ -624,6 +629,16 @@ SWIFT_CLASS_NAMED("OrdersManager")
/// \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 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 spotIdentifier contains the parking spot identifier
///
/// \param callback Gets called at completion with the order or any error encountered. Optional.
///
- (void)updateCustomerStateWithOrderID:(NSInteger)orderID customerState:(NSString * _Nonnull)customerState spotIdentifier:(NSString * _Nullable)spotIdentifier 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
///
Expand Down Expand Up @@ -1325,6 +1340,10 @@ SWIFT_CLASS_NAMED("Order")
@property (nonatomic, readonly, copy) NSString * _Nullable curbsideLocalizedString;
@property (nonatomic, readonly, copy) NSString * _Nullable pickupLocalizedString;
@property (nonatomic, copy) NSString * _Nullable pushToken;
@property (nonatomic, copy) NSString * _Nullable spotIdentifer;
@property (nonatomic, copy) NSString * _Nullable spotIdentifierInputType;
@property (nonatomic, readonly, copy) NSString * _Nullable partnerIdentifierForCustomer;
@property (nonatomic, readonly, copy) NSString * _Nullable partnerIdentifierForCrew;
- (CLLocation * _Nullable)siteLocation SWIFT_WARN_UNUSED_RESULT;
- (NSNumber * _Nullable)siteDistanceFrom:(CLLocation * _Nonnull)location SWIFT_WARN_UNUSED_RESULT;
@property (nonatomic, readonly, strong) NSNumber * _Nullable customerID;
Expand All @@ -1339,6 +1358,7 @@ 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;
- (nonnull instancetype)initWithOrderID:(NSInteger)orderID customerState:(NSString * _Nonnull)customerState spotIdentifier:(NSString * _Nullable)spotIdentifier 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;
Expand Down Expand Up @@ -1422,6 +1442,16 @@ SWIFT_CLASS_NAMED("OrdersManager")
/// \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 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 spotIdentifier contains the parking spot identifier
///
/// \param callback Gets called at completion with the order or any error encountered. Optional.
///
- (void)updateCustomerStateWithOrderID:(NSInteger)orderID customerState:(NSString * _Nonnull)customerState spotIdentifier:(NSString * _Nullable)spotIdentifier 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
///
Expand Down
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 129e32e

Please sign in to comment.