


#import <React/RCTBridgeModule.h>

@interface RCT_EXTERN_MODULE(MapplsIntouchApi, NSObject)
RCT_EXTERN_METHOD(initializeApisSdk:(NSDictionary *)params)
RCT_EXTERN_METHOD(getDevices:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(getDevice:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(getDevicesInfo:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)

RCT_EXTERN_METHOD(getLocationsEvents:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)

RCT_EXTERN_METHOD(getDrive:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)

RCT_EXTERN_METHOD(createGeoFence:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(getGeoFences:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(updateGeoFence:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(deleteGeoFence:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(getGeoFenceActivity:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)

RCT_EXTERN_METHOD(createTrip:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(getTrips:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(getTripInfo:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(closeTrip:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)

RCT_EXTERN_METHOD(createAlarm:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(getAlarmConfigs:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(updateAlarm:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(deleteAlarm:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(getAlarmsLogs:(NSDictionary *)params reslover:(RCTPromiseResolveBlock)resolve
                     rejecter:(RCTPromiseRejectBlock)reject)

@end
