//
//  SentianceDrivingInsights.m
//  SentianceDrivingInsights
//
//  Created by Mohammed Aouf Zouag on 17/09/2025.
//

#import <React/RCTBridgeModule.h>

@interface RCT_EXTERN_MODULE(SentianceDrivingInsights, NSObject)

RCT_EXTERN_METHOD(getCallWhileMovingEvents:(NSString*)transportId
                  resolver:(RCTPromiseResolveBlock)resolve
                  rejecter:(RCTPromiseRejectBlock)reject)

RCT_EXTERN_METHOD(getWrongWayDrivingEvents:(NSString*)transportId
                  resolver:(RCTPromiseResolveBlock)resolve
                  rejecter:(RCTPromiseRejectBlock)reject)

RCT_EXTERN_METHOD(getPhoneUsageEvents:(NSString*)transportId
                  resolver:(RCTPromiseResolveBlock)resolve
                  rejecter:(RCTPromiseRejectBlock)reject)

RCT_EXTERN_METHOD(getCallEvents:(NSString*)transportId
                  resolver:(RCTPromiseResolveBlock)resolve
                  rejecter:(RCTPromiseRejectBlock)reject)

RCT_EXTERN_METHOD(getHarshDrivingEvents:(NSString*)transportId
                  resolver:(RCTPromiseResolveBlock)resolve
                  rejecter:(RCTPromiseRejectBlock)reject)

RCT_EXTERN_METHOD(getSpeedingEvents:(NSString*)transportId
                  resolver:(RCTPromiseResolveBlock)resolve
                  rejecter:(RCTPromiseRejectBlock)reject)

+ (BOOL)requiresMainQueueSetup
{
  return NO;
}

@end
