import Foundation
import Cordova
import IndigitallCordovaObjC

@objc(CDVIndigitallInAppSwift)
class CDVIndigitallInAppSwift: CDVPlugin {
      @objc(packageName:)
    public func packageName(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInAppBridge.packageName(with: self, command: command)
    }
    
    @objc(inAppWasShown:)
    public func inAppWasShown(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInAppBridge.inAppWasShown(with: self, command: command)
    }
    
    @objc(inAppAddNewClick:)
    public func inAppAddNewClick(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInAppBridge.inAppAddNewClick(with: self, command: command)
    }
    
    @objc(inAppFormSubmit:)
    public func inAppFormSubmit(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInAppBridge.inAppFormSubmit(with: self, command: command)
    }
    
    
    
    @objc(eventClickInAppRequest:)
    public func eventClickInAppRequest(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInAppBridge.eventClickInAppRequest(with: self, command: command)
    }
    
    @objc(eventPrintInAppRequest:)
    public func eventPrintInAppRequest(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInAppBridge.eventPrintInAppRequest(with: self, command: command)
    }
    
    @objc(topicsListFromConsole:)
    public func topicsListFromConsole(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInAppBridge.topicsListFromConsole(with: self, command: command)
    }
    
    @objc(topicsList:)
    public func topicsList(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInAppBridge.topicsList(with: self, command: command)
    }
    
    @objc(topicsSubscribe:)
    public func topicsSubscribe(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInAppBridge.topicsSubscribe(with: self, command: command)
    }
    
    @objc(topicsUnsubscribe:)
    public func topicsUnsubscribe(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInAppBridge.topicsUnsubscribe(with: self, command: command)
    }
    
    @objc(showPopUp:)
    public func showPopUp(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInAppBridge.showPopUp(with: self, command: command)
    }
    
    @objc(updateInAppGetWithInAppDb:)
    public func updateInAppGetWithInAppDb(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInAppBridge.updateInAppGetWithInAppDb(with: self, command: command)
    }
    
    @objc(topicsUnsubscribeAll:)
    public func topicsUnsubscribeAll(_ command: CDVInvokedUrlCommand) {
        INDIndigitallInAppBridge.topicsUnsubscribeAll(with: self, command: command)
    }
}
