diff --git a/KatalysatorSDK.framework/Versions/A/Headers/KATCouponManager.h b/KatalysatorSDK.framework/Versions/A/Headers/KATCouponManager.h new file mode 100644 index 0000000..1f0500d --- /dev/null +++ b/KatalysatorSDK.framework/Versions/A/Headers/KATCouponManager.h @@ -0,0 +1,38 @@ +// +// KATCouponManager.h +// KatalysatorSample +// +// Created by Sven Roeder on 26/06/14. +// Copyright (c) 2014 Katalysator AB. All rights reserved. +// + +#import +#import "KATBeaconConfiguration.h" + + +/** + * KATCouponHandler defines the callback for generating a coupon. + * + * @since v1.1.4 + */ +typedef void(^KATCouponHandler)(NSDictionary *coupon); + + +@interface KATCouponManager : NSObject + + +/** + * Allows to generate a coupon. + * This also depends on the beacon configuration on the backend. + * + * @param key coupon storekey + * @param config the api configuration + * @param completion the callback for generating a coupon + * + * @return void + * @since v1.1.4 + */ ++ (void)couponForId:(NSString *)key configuration:(KATBeaconConfiguration *)config completion:(KATCouponHandler)completion; + + +@end diff --git a/KatalysatorSDK.framework/Versions/A/Headers/KATSurveyManager.h b/KatalysatorSDK.framework/Versions/A/Headers/KATSurveyManager.h new file mode 100644 index 0000000..e7d286b --- /dev/null +++ b/KatalysatorSDK.framework/Versions/A/Headers/KATSurveyManager.h @@ -0,0 +1,28 @@ +// +// KATSurveyManager.h +// KatalysatorSample +// +// Created by Sven Roeder on 26/06/14. +// Copyright (c) 2014 Katalysator AB. All rights reserved. +// + +#import +#import "KATBeaconConfiguration.h" + +@interface KATSurveyManager : NSObject + + +/** + * Track answers to a survey. Simply post the array with the questions and + * filled answer key + * + * @param answers + * @param config the api configuration + * + * @return void + * @since v1.1.4 + */ ++ (void)submitSurvey:(NSArray *)answers configuration:(KATBeaconConfiguration *)configuration; + + +@end