Skip to content

Commit

Permalink
Release 2.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
botnerd committed Aug 8, 2023
1 parent b66e5bb commit 4713e93
Show file tree
Hide file tree
Showing 36 changed files with 280 additions and 40 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 @@ -617,6 +617,12 @@ typedef SWIFT_ENUM(NSInteger, FlyBuyAPIErrorType, open) {
FlyBuyAPIErrorTypeResponseError = 1,
};

typedef SWIFT_ENUM(NSInteger, FlybuyLinkType, open) {
FlybuyLinkTypeDineIn = 0,
FlybuyLinkTypeRedemption = 1,
FlybuyLinkTypeOther = 2,
};


/// Data model representing a geofence.
SWIFT_CLASS_NAMED("Geofence")
Expand All @@ -627,6 +633,26 @@ SWIFT_CLASS_NAMED("Geofence")
@end


@class FlyBuyOrderOptionsBuilder;

SWIFT_CLASS_NAMED("LinkDetails")
@interface FlybuyLink : NSObject
@property (nonatomic, readonly, copy) NSString * _Nonnull url;
@property (nonatomic, readonly) enum FlybuyLinkType type;
@property (nonatomic, readonly, strong) FlyBuyOrderOptionsBuilder * _Nullable orderOptions;
@property (nonatomic, readonly, copy) NSDictionary<NSString *, NSString *> * _Nonnull params;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end

@class NSURL;

SWIFT_CLASS_NAMED("Links")
@interface FlyBuyLinks : NSObject
+ (FlybuyLink * _Nonnull)parseWithUrl:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

typedef SWIFT_ENUM(NSInteger, LocationAuthStatus, open) {
LocationAuthStatusNotDetermined = 0,
LocationAuthStatusRestricted = 1,
Expand Down Expand Up @@ -748,6 +774,23 @@ SWIFT_CLASS_NAMED("OrderEvent")

SWIFT_CLASS_NAMED("OrderOptions")
@interface FlyBuyOrderOptions : NSObject
@property (nonatomic, readonly, copy) NSString * _Nonnull customerName;
@property (nonatomic, readonly, copy) NSString * _Nullable customerPhone;
@property (nonatomic, readonly, copy) NSString * _Nullable customerCarColor;
@property (nonatomic, readonly, copy) NSString * _Nullable customerCarType;
@property (nonatomic, readonly, copy) NSString * _Nullable customerCarLicensePlate;
@property (nonatomic, readonly, copy) NSString * _Nonnull partnerIdentifier;
@property (nonatomic, readonly, strong) FlyBuyPickupWindow * _Nullable pickupWindow;
@property (nonatomic, readonly, copy) NSString * _Nullable state;
@property (nonatomic, readonly, copy) NSString * _Nullable pickupType;
@property (nonatomic, readonly, copy) NSString * _Nullable spotIdentifier;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end


SWIFT_CLASS_NAMED("Builder")
@interface FlyBuyOrderOptionsBuilder : NSObject
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
Expand Down Expand Up @@ -991,11 +1034,11 @@ SWIFT_CLASS_NAMED("OrdersManager")
@end



@interface FlyBuyOrdersManager (SWIFT_EXTENSION(FlyBuy)) <CLLocationManagerDelegate>
@end



enum OrdersManagerErrorType : NSInteger;

/// Error that may be returned from OrdersManager methods.
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 @@ -16,6 +16,23 @@ import _Concurrency
public func encode(to encoder: Swift.Encoder) throws
required public init(from decoder: Swift.Decoder) throws
}
@objc public enum FlybuyLinkType : Swift.Int {
case dineIn
case redemption
case other
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers @objc(FlybuyLink) open class LinkDetails : ObjectiveC.NSObject {
@objc final public let url: Swift.String
@objc final public let type: FlyBuy.FlybuyLinkType
@objc final public let orderOptions: FlyBuy.OrderOptions.Builder?
@objc final public let params: [Swift.String : Swift.String]
@objc deinit
}
public struct PickupLocationFilters : Swift.Codable {
public let ios: [FlyBuy.PickupLocationFilterData]?
public func encode(to encoder: Swift.Encoder) throws
Expand Down Expand Up @@ -484,8 +501,19 @@ extension Swift.Error {
}
}
@_hasMissingDesignatedInitializers @objc(FlyBuyOrderOptions) public class OrderOptions : ObjectiveC.NSObject {
public class Builder {
@objc final public let customerName: Swift.String
@objc final public let customerPhone: Swift.String?
@objc final public let customerCarColor: Swift.String?
@objc final public let customerCarType: Swift.String?
@objc final public let customerCarLicensePlate: Swift.String?
@objc final public let partnerIdentifier: Swift.String
@objc final public let pickupWindow: FlyBuy.PickupWindow?
@objc final public let state: Swift.String?
@objc final public let pickupType: Swift.String?
@objc final public let spotIdentifier: Swift.String?
@objc(FlyBuyOrderOptionsBuilder) public class Builder : ObjectiveC.NSObject {
public init(customerName: Swift.String)
public func setCustomerName(_ name: Swift.String) -> FlyBuy.OrderOptions.Builder
public func setCustomerPhone(_ customerPhone: Swift.String?) -> FlyBuy.OrderOptions.Builder
public func setCustomerCarColor(_ customerCarColor: Swift.String?) -> FlyBuy.OrderOptions.Builder
public func setCustomerCarType(_ customerCarType: Swift.String?) -> FlyBuy.OrderOptions.Builder
Expand All @@ -494,6 +522,7 @@ extension Swift.Error {
public func setPickupWindow(_ pickupWindow: FlyBuy.PickupWindow?) -> FlyBuy.OrderOptions.Builder
public func setState(_ state: Swift.String?) -> FlyBuy.OrderOptions.Builder
public func setPickupType(_ pickupType: Swift.String?) -> FlyBuy.OrderOptions.Builder
public func setSpotIdentifier(_ spotIdentifier: Swift.String?) -> FlyBuy.OrderOptions.Builder
public func build() -> FlyBuy.OrderOptions
@objc deinit
}
Expand Down Expand Up @@ -907,6 +936,11 @@ extension FlyBuy.OrdersManager : CoreLocation.CLLocationManagerDelegate {
@objc public func setOptions(_ opts: [Swift.String : Any]) -> FlyBuy.ConfigOptionsBuilder
@objc deinit
}
@_inheritsConvenienceInitializers @objc(FlyBuyLinks) public class Links : ObjectiveC.NSObject {
@objc public static func parse(url: Foundation.URL) -> FlyBuy.LinkDetails
@objc override dynamic public init()
@objc deinit
}
@objc(FlyBuyOrder) open class Order : ObjectiveC.NSObject {
@objc final public let id: Swift.Int
@objc final public let siteID: Swift.Int
Expand Down Expand Up @@ -1012,6 +1046,9 @@ extension FlyBuy.Order {
@objc get
}
}
extension FlyBuy.FlybuyLinkType : Swift.Equatable {}
extension FlyBuy.FlybuyLinkType : Swift.Hashable {}
extension FlyBuy.FlybuyLinkType : Swift.RawRepresentable {}
extension FlyBuy.LocationAuthStatus : Swift.Equatable {}
extension FlyBuy.LocationAuthStatus : Swift.Hashable {}
extension FlyBuy.LocationAuthStatus : Swift.RawRepresentable {}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,12 @@ typedef SWIFT_ENUM(NSInteger, FlyBuyAPIErrorType, open) {
FlyBuyAPIErrorTypeResponseError = 1,
};

typedef SWIFT_ENUM(NSInteger, FlybuyLinkType, open) {
FlybuyLinkTypeDineIn = 0,
FlybuyLinkTypeRedemption = 1,
FlybuyLinkTypeOther = 2,
};


/// Data model representing a geofence.
SWIFT_CLASS_NAMED("Geofence")
Expand All @@ -629,6 +635,26 @@ SWIFT_CLASS_NAMED("Geofence")
@end


@class FlyBuyOrderOptionsBuilder;

SWIFT_CLASS_NAMED("LinkDetails")
@interface FlybuyLink : NSObject
@property (nonatomic, readonly, copy) NSString * _Nonnull url;
@property (nonatomic, readonly) enum FlybuyLinkType type;
@property (nonatomic, readonly, strong) FlyBuyOrderOptionsBuilder * _Nullable orderOptions;
@property (nonatomic, readonly, copy) NSDictionary<NSString *, NSString *> * _Nonnull params;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end

@class NSURL;

SWIFT_CLASS_NAMED("Links")
@interface FlyBuyLinks : NSObject
+ (FlybuyLink * _Nonnull)parseWithUrl:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

typedef SWIFT_ENUM(NSInteger, LocationAuthStatus, open) {
LocationAuthStatusNotDetermined = 0,
LocationAuthStatusRestricted = 1,
Expand Down Expand Up @@ -750,6 +776,23 @@ SWIFT_CLASS_NAMED("OrderEvent")

SWIFT_CLASS_NAMED("OrderOptions")
@interface FlyBuyOrderOptions : NSObject
@property (nonatomic, readonly, copy) NSString * _Nonnull customerName;
@property (nonatomic, readonly, copy) NSString * _Nullable customerPhone;
@property (nonatomic, readonly, copy) NSString * _Nullable customerCarColor;
@property (nonatomic, readonly, copy) NSString * _Nullable customerCarType;
@property (nonatomic, readonly, copy) NSString * _Nullable customerCarLicensePlate;
@property (nonatomic, readonly, copy) NSString * _Nonnull partnerIdentifier;
@property (nonatomic, readonly, strong) FlyBuyPickupWindow * _Nullable pickupWindow;
@property (nonatomic, readonly, copy) NSString * _Nullable state;
@property (nonatomic, readonly, copy) NSString * _Nullable pickupType;
@property (nonatomic, readonly, copy) NSString * _Nullable spotIdentifier;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end


SWIFT_CLASS_NAMED("Builder")
@interface FlyBuyOrderOptionsBuilder : NSObject
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
Expand Down Expand Up @@ -993,11 +1036,11 @@ SWIFT_CLASS_NAMED("OrdersManager")
@end



@interface FlyBuyOrdersManager (SWIFT_EXTENSION(FlyBuy)) <CLLocationManagerDelegate>
@end



enum OrdersManagerErrorType : NSInteger;

/// Error that may be returned from OrdersManager methods.
Expand Down Expand Up @@ -1884,6 +1927,12 @@ typedef SWIFT_ENUM(NSInteger, FlyBuyAPIErrorType, open) {
FlyBuyAPIErrorTypeResponseError = 1,
};

typedef SWIFT_ENUM(NSInteger, FlybuyLinkType, open) {
FlybuyLinkTypeDineIn = 0,
FlybuyLinkTypeRedemption = 1,
FlybuyLinkTypeOther = 2,
};


/// Data model representing a geofence.
SWIFT_CLASS_NAMED("Geofence")
Expand All @@ -1894,6 +1943,26 @@ SWIFT_CLASS_NAMED("Geofence")
@end


@class FlyBuyOrderOptionsBuilder;

SWIFT_CLASS_NAMED("LinkDetails")
@interface FlybuyLink : NSObject
@property (nonatomic, readonly, copy) NSString * _Nonnull url;
@property (nonatomic, readonly) enum FlybuyLinkType type;
@property (nonatomic, readonly, strong) FlyBuyOrderOptionsBuilder * _Nullable orderOptions;
@property (nonatomic, readonly, copy) NSDictionary<NSString *, NSString *> * _Nonnull params;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end

@class NSURL;

SWIFT_CLASS_NAMED("Links")
@interface FlyBuyLinks : NSObject
+ (FlybuyLink * _Nonnull)parseWithUrl:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

typedef SWIFT_ENUM(NSInteger, LocationAuthStatus, open) {
LocationAuthStatusNotDetermined = 0,
LocationAuthStatusRestricted = 1,
Expand Down Expand Up @@ -2015,6 +2084,23 @@ SWIFT_CLASS_NAMED("OrderEvent")

SWIFT_CLASS_NAMED("OrderOptions")
@interface FlyBuyOrderOptions : NSObject
@property (nonatomic, readonly, copy) NSString * _Nonnull customerName;
@property (nonatomic, readonly, copy) NSString * _Nullable customerPhone;
@property (nonatomic, readonly, copy) NSString * _Nullable customerCarColor;
@property (nonatomic, readonly, copy) NSString * _Nullable customerCarType;
@property (nonatomic, readonly, copy) NSString * _Nullable customerCarLicensePlate;
@property (nonatomic, readonly, copy) NSString * _Nonnull partnerIdentifier;
@property (nonatomic, readonly, strong) FlyBuyPickupWindow * _Nullable pickupWindow;
@property (nonatomic, readonly, copy) NSString * _Nullable state;
@property (nonatomic, readonly, copy) NSString * _Nullable pickupType;
@property (nonatomic, readonly, copy) NSString * _Nullable spotIdentifier;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end


SWIFT_CLASS_NAMED("Builder")
@interface FlyBuyOrderOptionsBuilder : NSObject
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
Expand Down Expand Up @@ -2258,11 +2344,11 @@ SWIFT_CLASS_NAMED("OrdersManager")
@end



@interface FlyBuyOrdersManager (SWIFT_EXTENSION(FlyBuy)) <CLLocationManagerDelegate>
@end



enum OrdersManagerErrorType : NSInteger;

/// Error that may be returned from OrdersManager methods.
Expand Down
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 4713e93

Please sign in to comment.