
#import "INDIndigitallInboxBridge.h"
#import "CDVIndigitallInbox.h" 
@implementation INDIndigitallInboxBridge


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

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

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

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

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

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

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

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

