//
//  RNGizSDKManagerModule.m
//  RNGizSDKManagerModule
//
//  Copyright © 2022 Gizwits. All rights reserved.
//

#import <React/RCTBridgeModule.h>

@interface RCT_EXTERN_MODULE(RNGizDeviceManagerModule, NSObject)

RCT_EXTERN_METHOD(connect:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(disConnect:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(sendDp:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(getDp:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(getDeviceInfo:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(checkUpdate:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(startUpgrade:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(cancelUpgrade:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(register:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(bind:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(updateDeviceInfo:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(unBind:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(stopProvideWiFiCredentials:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(provideWiFiCredentials:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(queryTimer:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(deleteTimer:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(createTimer:(NSDictionary *)options result:(RCTResponseSenderBlock)result)
RCT_EXTERN_METHOD(editTimer:(NSDictionary *)options result:(RCTResponseSenderBlock)result)

@end
