import Foundation
import Cordova
import IndigitallCordovaObjC

@objc(CDVIndigitallInboxSwift)
class CDVIndigitallInboxSwift: CDVPlugin {
    
    @objc(getMessageCount:)
    public func getMessageCount(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInboxBridge.getMessageCount(with: self, command: command)
    }
    
    @objc(getInbox:)
    public func getInbox(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInboxBridge.getInboxWith(self, command: command)
    }
    
    @objc(getNextPage:)
    public func getNextPage(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInboxBridge.getNextPage(with: self, command: command)
    }
    
    @objc(massiveEditNotificationsWithSendingIdsList:)
    public func massiveEditNotificationsWithSendingIdsList(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInboxBridge.massiveEditNotificationsWithSendingIdsList(with: self, command: command)
    }
    
    @objc(massiveEditNotificationsWithInitialStatus:)
    public func massiveEditNotificationsWithInitialStatus(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInboxBridge.massiveEditNotificationsWithInitialStatus(with: self, command: command)
    }
    
    @objc(getInfoFromNotificationWithSendingId:)
    public func getInfoFromNotificationWithSendingId(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInboxBridge.getInfoFromNotificationWithSendingId(with: self, command: command)
    }
    
    @objc(modifyStatusFromNotificationWithSendingId:)
    public func modifyStatusFromNotificationWithSendingId(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInboxBridge.modifyStatusFromNotificationWithSendingId(with: self, command: command)
    }
}
