Vasilis

update

No preview for this file type
......@@ -8,14 +8,22 @@
#ifndef MyApi_h
#define MyApi_h
#import <UIKit/UIKit.h>
@class Coupons;
@class Warply;
@interface MyApi : NSObject
@property (nonatomic, weak) Warply *warply;
+ (void)init:(NSDictionary *)launchOptions uuid:(NSString*)uuid merchantId:(NSString*)merchantId lang:(NSString*)lang;
- (void) setToStage;
- (void) setLang:(NSString*) lang;
- (UIViewController *) openCoupons;
- (UIViewController *) openCoupons:(UIView*) parentView;
- (UIViewController *) openCoupon:(UIView*) parentView;
- (UIViewController *) openGifts:(UIView*) parentView;
- (UIViewController *) openWallet:(UIView*) parentView;
- (UIViewController *) openMoreForYou:(UIView*) parentView;
- (UIViewController *) openCampaign:(UIView*) parentView campaign:(NSString*) campaign;
- (NSDictionary *) provideInfoForCampaign;
- (void) applicationDidEnterBackground:(UIApplication *)application;
- (void) applicationWillEnterForeground:(UIApplication *)application;
- (void) applicationDidBecomeActive:(UIApplication *)application;
......@@ -59,6 +67,7 @@
- (NSDictionary*)getCouponSetsWithActive:(NSNumber*)active andVisible:(NSNumber*)visible andUuids:(NSArray*)uuids;
- (NSDictionary*)redeemCouponWithCoupon:(NSString*)coupon;
- (NSDictionary*)validateCouponWithCoupon:(NSString*)coupon;
- (NSDictionary*)loginCosmoteWithGuid:(NSString*)guid andAppUuid:(NSString*)appUuid andTicket:(NSString*)ticket;
@end
#endif /* MyApi_h */
......
......@@ -189,7 +189,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import ObjectiveC;
@import UIKit;
#endif
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
......@@ -207,25 +206,51 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
# pragma pop_macro("any")
#endif
@class UIView;
@class NSString;
@class NSBundle;
@class NSCoder;
SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS7Coupons")
@interface Coupons : UIViewController
- (void)viewDidLoad;
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
@class UIViewController;
SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS21CampaignViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
@interface CampaignViewInterface : NSObject
+ (UIViewController * _Nonnull)campaignViewController:(UIView * _Nullable)parentView :(NSString * _Nullable)campaign SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS19CouponViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
@interface CouponViewInterface : NSObject
+ (UIViewController * _Nonnull)couponViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS20CouponsViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
@interface CouponsViewInterface : NSObject
+ (UIViewController * _Nonnull)couponsViewController SWIFT_WARN_UNUSED_RESULT;
+ (UIViewController * _Nonnull)couponsViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS18GiftsViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
@interface GiftsViewInterface : NSObject
+ (UIViewController * _Nonnull)giftsViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS23MoreForYouViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
@interface MoreForYouViewInterface : NSObject
+ (UIViewController * _Nonnull)moreForYouViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS19WalletViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
@interface WalletViewInterface : NSObject
+ (UIViewController * _Nonnull)walletViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
......
......@@ -6,7 +6,7 @@
<dict>
<key>Assets.car</key>
<data>
DKCYcKMV6Mb8OA/NHHg7t6AGfa4=
/ozRXUeH5f7rK8V7YqRkg9tofZ8=
</data>
<key>Coupons.nib</key>
<data>
......@@ -30,11 +30,11 @@
</data>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo</key>
<data>
eBAN8llSLGmuQa6JgB+/bvCKocM=
G8EHL5AQxDz1LtDc4lGS38nFSMY=
</data>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/arm64.swiftsourceinfo</key>
<data>
eBAN8llSLGmuQa6JgB+/bvCKocM=
G8EHL5AQxDz1LtDc4lGS38nFSMY=
</data>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftdoc</key>
<data>
......@@ -42,7 +42,7 @@
</data>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftmodule</key>
<data>
1iExhjTxsAwtv5bNFdv65aWHdKg=
l8e7lz5VJ55C2Vbf3oAkocJOn4c=
</data>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64.swiftdoc</key>
<data>
......@@ -50,7 +50,7 @@
</data>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64.swiftmodule</key>
<data>
1iExhjTxsAwtv5bNFdv65aWHdKg=
l8e7lz5VJ55C2Vbf3oAkocJOn4c=
</data>
<key>Modules/module.modulemap</key>
<data>
......@@ -103,7 +103,7 @@
<dict>
<key>hash2</key>
<data>
Xac4exlC0Qp2HTrh0qL4NHqQVZn0lK/wrvzwWVvxpkg=
BUCD1FuzGHHbGTvkjD/cGpAb1UR/SRxslDgUCTWLeug=
</data>
</dict>
<key>Coupons.nib</key>
......@@ -138,14 +138,14 @@
<dict>
<key>hash2</key>
<data>
GPQr6kHtjp8lLYKTLaCsSHGi2GCpIVmefCU43pyy5Qo=
y4wipeUhLVSpthuJGZVf6etKiQkIcQk1SwkuWFW2nX0=
</data>
</dict>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/arm64.swiftsourceinfo</key>
<dict>
<key>hash2</key>
<data>
GPQr6kHtjp8lLYKTLaCsSHGi2GCpIVmefCU43pyy5Qo=
y4wipeUhLVSpthuJGZVf6etKiQkIcQk1SwkuWFW2nX0=
</data>
</dict>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftdoc</key>
......@@ -159,7 +159,7 @@
<dict>
<key>hash2</key>
<data>
9xR0dOGrYO6hv16x5tQ09ZJVk1DK7dnCOre72WlqNiw=
zzXJ2tO7lSUmCAKfWXLA98aYnIR3NdhGDCD7GD+eRoQ=
</data>
</dict>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64.swiftdoc</key>
......@@ -173,7 +173,7 @@
<dict>
<key>hash2</key>
<data>
9xR0dOGrYO6hv16x5tQ09ZJVk1DK7dnCOre72WlqNiw=
zzXJ2tO7lSUmCAKfWXLA98aYnIR3NdhGDCD7GD+eRoQ=
</data>
</dict>
<key>Modules/module.modulemap</key>
......