
#import "INDIndigitallInAppBridge.h"
#import "CDVIndigitallInApp.h" 
@implementation INDIndigitallInAppBridge


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

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

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

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

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


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

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

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

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

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

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

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

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

+ (void) topicsUnsubscribeAllWithPlugin:(CDVPlugin *)plugin command:(CDVInvokedUrlCommand *)command {
    [[self buildImplFrom:plugin] topicsUnsubscribeAll:command];
}
@end

