//
//  RCTConvert+SurveyStatus.m
//  ReactLightspeedSDK
//
//  Created by marc matta on 12/18/17.
//  Copyright © 2017 com.lightspeed. All rights reserved.
//

#import "RCTConvert+SurveyStatus.h"
#import <LightspeedSDK/LightspeedSDK.h>

@implementation RCTConvert (SurveyStatus)

RCT_ENUM_CONVERTER(SurveyStatus, (@{@"SurveyStatusNone" : @(SurveyStatusNone),
                                     @"SurveyStatusCompleted" : @(SurveyStatusCompleted),
                                     @"SurveyStatusScreened" : @(SurveyStatusScreened),
                                     @"SurveyStatusQuotaFull" : @(SurveyStatusQuotaFull),
                                     @"SurveyStatusStudyClosed" : @(SurveyStatusStudyClosed),
                                     @"SurveyStatusAlreadyTaken" : @(SurveyStatusAlreadyTaken),
                                     @"SurveyStatusStudyTemporarilyClosed" : @(SurveyStatusStudyTemporarilyClosed)}), SurveyStatusNone, integerValue)

@end

