#import "INDIndigitallCustomerBridge.h"
#import "CDVIndigitallCustomer.h" 
@implementation INDIndigitallCustomerBridge

+ (CDVIndigitallCustomer *)buildImplFrom:(CDVPlugin *)plugin {
    CDVIndigitallCustomer *impl = [CDVIndigitallCustomer new];
    impl.commandDelegate = plugin.commandDelegate;
    impl.viewController  = plugin.viewController;
    return impl;
}

+ (void)getCustomerWithPlugin:(CDVPlugin *)plugin command:(CDVInvokedUrlCommand *)command {
    [[self buildImplFrom:plugin] getCustomer:command];
}

+ (void)getCustomerInformationWithPlugin:(CDVPlugin *)plugin command:(CDVInvokedUrlCommand *)command {
    [[self buildImplFrom:plugin] getCustomerInformation:command];
}

+ (void)assignOrUpdateValueToCustomerFieldsWithPlugin:(CDVPlugin *)plugin command:(CDVInvokedUrlCommand *)command {
    [[self buildImplFrom:plugin] assignOrUpdateValueToCustomerFields:command];
}

+ (void)deleteValuesFromCustomerFieldsWithPlugin:(CDVPlugin *)plugin command:(CDVInvokedUrlCommand *)command {
    [[self buildImplFrom:plugin] deleteValuesFromCustomerFields:command];
}

+ (void)linkWithPlugin:(CDVPlugin *)plugin command:(CDVInvokedUrlCommand *)command {
    [[self buildImplFrom:plugin] link:command];
}

+ (void)unlinkWithPlugin:(CDVPlugin *)plugin command:(CDVInvokedUrlCommand *)command {
    [[self buildImplFrom:plugin] unlink:command];
}

+ (void)sendCustomEventWithPlugin:(CDVPlugin *)plugin command:(CDVInvokedUrlCommand *)command {
    [[self buildImplFrom:plugin] sendCustomEvent:command];
}

@end