Skip to content

Commit

Permalink
Release 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxi87 committed Apr 20, 2022
1 parent 240ad7a commit 4580ced
Show file tree
Hide file tree
Showing 42 changed files with 311 additions and 83 deletions.
10 changes: 5 additions & 5 deletions FlyBuy.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,30 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>FlyBuy.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>FlyBuy.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
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 @@ -284,6 +284,7 @@ SWIFT_CLASS("_TtC6FlyBuy15CreateOrderInfo")

SWIFT_CLASS_NAMED("Customer")
@interface FlyBuyCustomer : NSObject
@property (nonatomic, readonly) NSInteger id;
@property (nonatomic, readonly, copy) NSString * _Nonnull token;
@property (nonatomic, readonly, copy) NSString * _Nullable emailAddress;
@property (nonatomic, readonly, strong) FlyBuyCustomerInfo * _Nonnull info;
Expand Down Expand Up @@ -474,8 +475,8 @@ SWIFT_CLASS("_TtC6FlyBuy12NotifyConfig")
@end

@class FlyBuyPickupWindow;
@class CLLocation;
@class NSNumber;
@class CLLocation;

SWIFT_CLASS_NAMED("Order")
@interface FlyBuyOrder : NSObject
Expand Down Expand Up @@ -527,6 +528,9 @@ SWIFT_CLASS_NAMED("Order")
@property (nonatomic, copy) NSString * _Nullable spotIdentifierInputType;
@property (nonatomic, readonly, copy) NSString * _Nullable partnerIdentifierForCustomer;
@property (nonatomic, readonly, copy) NSString * _Nullable partnerIdentifierForCrew;
@property (nonatomic, readonly) BOOL wrongSiteDetectionEnabled;
@property (nonatomic, readonly) BOOL distanceFilteringDisabled;
@property (nonatomic, readonly, strong) NSNumber * _Nullable wrongSiteSearchRadius;
- (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 Down Expand Up @@ -736,6 +740,8 @@ SWIFT_CLASS_NAMED("Site")
@property (nonatomic, readonly, copy) NSString * _Nullable projectAccentTextColor;
@property (nonatomic, readonly, copy) NSString * _Nullable projectLogoURL;
@property (nonatomic, readonly, strong) FlyBuyGeofence * _Nullable geofence;
@property (nonatomic, readonly, strong) NSNumber * _Nullable wrongSiteArrivalRadius;
@property (nonatomic, readonly, copy) NSString * _Nullable operationalStatus;
- (CLLocation * _Nullable)location SWIFT_WARN_UNUSED_RESULT;
- (NSNumber * _Nullable)distanceFrom:(CLLocation * _Nonnull)loc SWIFT_WARN_UNUSED_RESULT;
@end
Expand All @@ -760,6 +766,7 @@ SWIFT_CLASS_NAMED("SitesManager")
/// \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<FlyBuySite *> * _Nullable, FlyBuyPagination * _Nullable, NSError * _Nullable))callback;
- (void)fetchWithQuery:(NSString * _Nullable)query page:(NSInteger)page operationalStatus:(NSString * _Nonnull)operationalStatus callback:(void (^ _Nullable)(NSArray<FlyBuySite *> * _Nullable, FlyBuyPagination * _Nullable, NSError * _Nullable))callback;
/// fetches the list of sites from the FlyBuy web API
/// \param region a CLCircularRegion for the search region.
///
Expand All @@ -768,6 +775,7 @@ SWIFT_CLASS_NAMED("SitesManager")
/// \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<FlyBuySite *> * _Nullable, NSError * _Nullable))callback;
- (void)fetchWithRegion:(CLCircularRegion * _Nonnull)region page:(NSInteger)page operationalStatus:(NSString * _Nonnull)operationalStatus callback:(void (^ _Nullable)(NSArray<FlyBuySite *> * _Nullable, NSError * _Nullable))callback;
/// fetches the list of sites from the FlyBuy web API
/// \param region a CLCircularRegion for the search region.
///
Expand All @@ -778,6 +786,7 @@ SWIFT_CLASS_NAMED("SitesManager")
/// \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<FlyBuySite *> * _Nullable, NSError * _Nullable))callback;
- (void)fetchWithRegion:(CLCircularRegion * _Nonnull)region page:(NSInteger)page per:(NSInteger)per operationalStatus:(NSString * _Nonnull)operationalStatus callback:(void (^ _Nullable)(NSArray<FlyBuySite *> * _Nullable, NSError * _Nullable))callback;
/// fetches the list of sites from the FlyBuy web API
/// \param query the query string. Optional.
///
Expand Down Expand Up @@ -805,6 +814,13 @@ SWIFT_CLASS_NAMED("UpdateOrderInfo")




SWIFT_CLASS("_TtC6FlyBuy22WrongSiteArrivalConfig")
@interface WrongSiteArrivalConfig : NSObject
- (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
Expand Down
Binary file modified FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Info.plist
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ extension _AnyEncodable {
@objc final public let projectAccentTextColor: Swift.String?
@objc final public let projectLogoURL: Swift.String?
@objc final public let geofence: FlyBuy.Geofence?
@objc public var wrongSiteArrivalRadius: Foundation.NSNumber? {
@objc get
}
@objc final public let operationalStatus: Swift.String?
@objc public func location() -> CoreLocation.CLLocation?
@objc public func distance(from loc: CoreLocation.CLLocation) -> Foundation.NSNumber?
@objc deinit
Expand Down Expand Up @@ -163,7 +167,7 @@ final public class PersistManager : FlyBuy.FlyBuyDBProtocol {
public static var shared: FlyBuy.PersistManager
final public var dbManager: FlyBuy.FlyBuyDBManager
final public var needsInit: Swift.Bool
public init(atPath path: Swift.String = PersistManager.defaultDBPath)
public init(atPath path: Swift.String = PersistManager.defaultDBPath, migrate: Swift.Bool = true)
@objc deinit
}
@objc public enum LocationAuthStatus : Swift.Int, Swift.Codable {
Expand Down Expand Up @@ -259,6 +263,17 @@ public enum HTTPStatusCode : Swift.Int, Swift.Error {
get
}
}
@objc @_hasMissingDesignatedInitializers public class WrongSiteArrivalConfig : ObjectiveC.NSObject, Swift.Codable {
public var siteLimit: Swift.Int?
public var worstAccuracyLimit: Swift.Double?
public static let defaultSiteLimit: Swift.Int
public static let defaultWorstAccuracyLimit: Swift.Double
public static let defaultWrongSiteSearchRadius: Swift.Double
@objc override dynamic public init()
required public init(from decoder: Swift.Decoder) throws
@objc deinit
public func encode(to encoder: Swift.Encoder) throws
}
public typealias ResultType<T> = Swift.Result<T, Swift.Error>
public struct VoidResponse : Swift.Codable {
public init(from decoder: Swift.Decoder) throws
Expand Down Expand Up @@ -351,7 +366,7 @@ extension BaseApiRequest {
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?)
public init(orderID: Swift.Int, location: CoreLocation.CLLocation, beacons: [FlyBuy.Beacon], etaSeconds: Foundation.NSNumber?, possibleWrongSiteId: Swift.Int?)
@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)
Expand All @@ -368,6 +383,7 @@ public struct AppConfigData : Swift.Codable {
public let nearbySitesFeatureUrl: Swift.String?
public let upgrade: FlyBuy.AppUpgrade?
public let notify: FlyBuy.NotifyConfig?
public let wrongSiteArrivalConfig: FlyBuy.WrongSiteArrivalConfig?
public init(from decoder: Swift.Decoder) throws
public func encode(to encoder: Swift.Encoder) throws
}
Expand Down Expand Up @@ -491,6 +507,7 @@ extension DateFormatter {
public static let iso8601FullLocalTZ: Foundation.DateFormatter
}
@_hasMissingDesignatedInitializers @objc(FlyBuyCustomer) open class Customer : ObjectiveC.NSObject, Swift.Decodable {
@objc final public let id: Swift.Int
@objc final public let token: Swift.String
@objc final public let emailAddress: Swift.String?
@objc final public let info: FlyBuy.CustomerInfo
Expand Down Expand Up @@ -549,8 +566,11 @@ public protocol FlyBuyError : Foundation.LocalizedError {
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(query: Swift.String? = nil, page: Swift.Int = 1, operationalStatus: Swift.String = "live", 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 = 1, operationalStatus: Swift.String = "live", 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 fetch(region: CoreLocation.CLCircularRegion, page: Swift.Int, per: Swift.Int, operationalStatus: Swift.String = "live", 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
Expand Down Expand Up @@ -791,6 +811,15 @@ public struct CustomerResponse : Swift.Decodable {
@objc public var spotIdentifierInputType: Swift.String?
@objc final public let partnerIdentifierForCustomer: Swift.String?
@objc final public let partnerIdentifierForCrew: Swift.String?
@objc public var wrongSiteDetectionEnabled: Swift.Bool {
@objc get
}
@objc public var distanceFilteringDisabled: Swift.Bool {
@objc get
}
@objc public var wrongSiteSearchRadius: Foundation.NSNumber? {
@objc get
}
required public init(from decoder: Swift.Decoder) throws
public func encode(to encoder: Swift.Encoder) throws
@objc public func siteLocation() -> CoreLocation.CLLocation?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ extension _AnyEncodable {
@objc final public let projectAccentTextColor: Swift.String?
@objc final public let projectLogoURL: Swift.String?
@objc final public let geofence: FlyBuy.Geofence?
@objc public var wrongSiteArrivalRadius: Foundation.NSNumber? {
@objc get
}
@objc final public let operationalStatus: Swift.String?
@objc public func location() -> CoreLocation.CLLocation?
@objc public func distance(from loc: CoreLocation.CLLocation) -> Foundation.NSNumber?
@objc deinit
Expand Down Expand Up @@ -163,7 +167,7 @@ final public class PersistManager : FlyBuy.FlyBuyDBProtocol {
public static var shared: FlyBuy.PersistManager
final public var dbManager: FlyBuy.FlyBuyDBManager
final public var needsInit: Swift.Bool
public init(atPath path: Swift.String = PersistManager.defaultDBPath)
public init(atPath path: Swift.String = PersistManager.defaultDBPath, migrate: Swift.Bool = true)
@objc deinit
}
@objc public enum LocationAuthStatus : Swift.Int, Swift.Codable {
Expand Down Expand Up @@ -259,6 +263,17 @@ public enum HTTPStatusCode : Swift.Int, Swift.Error {
get
}
}
@objc @_hasMissingDesignatedInitializers public class WrongSiteArrivalConfig : ObjectiveC.NSObject, Swift.Codable {
public var siteLimit: Swift.Int?
public var worstAccuracyLimit: Swift.Double?
public static let defaultSiteLimit: Swift.Int
public static let defaultWorstAccuracyLimit: Swift.Double
public static let defaultWrongSiteSearchRadius: Swift.Double
@objc override dynamic public init()
required public init(from decoder: Swift.Decoder) throws
@objc deinit
public func encode(to encoder: Swift.Encoder) throws
}
public typealias ResultType<T> = Swift.Result<T, Swift.Error>
public struct VoidResponse : Swift.Codable {
public init(from decoder: Swift.Decoder) throws
Expand Down Expand Up @@ -351,7 +366,7 @@ extension BaseApiRequest {
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?)
public init(orderID: Swift.Int, location: CoreLocation.CLLocation, beacons: [FlyBuy.Beacon], etaSeconds: Foundation.NSNumber?, possibleWrongSiteId: Swift.Int?)
@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)
Expand All @@ -368,6 +383,7 @@ public struct AppConfigData : Swift.Codable {
public let nearbySitesFeatureUrl: Swift.String?
public let upgrade: FlyBuy.AppUpgrade?
public let notify: FlyBuy.NotifyConfig?
public let wrongSiteArrivalConfig: FlyBuy.WrongSiteArrivalConfig?
public init(from decoder: Swift.Decoder) throws
public func encode(to encoder: Swift.Encoder) throws
}
Expand Down Expand Up @@ -491,6 +507,7 @@ extension DateFormatter {
public static let iso8601FullLocalTZ: Foundation.DateFormatter
}
@_hasMissingDesignatedInitializers @objc(FlyBuyCustomer) open class Customer : ObjectiveC.NSObject, Swift.Decodable {
@objc final public let id: Swift.Int
@objc final public let token: Swift.String
@objc final public let emailAddress: Swift.String?
@objc final public let info: FlyBuy.CustomerInfo
Expand Down Expand Up @@ -549,8 +566,11 @@ public protocol FlyBuyError : Foundation.LocalizedError {
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(query: Swift.String? = nil, page: Swift.Int = 1, operationalStatus: Swift.String = "live", 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 = 1, operationalStatus: Swift.String = "live", 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 fetch(region: CoreLocation.CLCircularRegion, page: Swift.Int, per: Swift.Int, operationalStatus: Swift.String = "live", 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
Expand Down Expand Up @@ -791,6 +811,15 @@ public struct CustomerResponse : Swift.Decodable {
@objc public var spotIdentifierInputType: Swift.String?
@objc final public let partnerIdentifierForCustomer: Swift.String?
@objc final public let partnerIdentifierForCrew: Swift.String?
@objc public var wrongSiteDetectionEnabled: Swift.Bool {
@objc get
}
@objc public var distanceFilteringDisabled: Swift.Bool {
@objc get
}
@objc public var wrongSiteSearchRadius: Foundation.NSNumber? {
@objc get
}
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.
Loading

0 comments on commit 4580ced

Please sign in to comment.