//
//  CDVIndigitallInAppParse.h
//  Indigitall
//
//  Created by indigitall on 26/7/23.
//

#import <Foundation/Foundation.h>
#import <Indigitall/Indigitall.h>

NS_ASSUME_NONNULL_BEGIN

@interface CDVIndigitallInAppParse : NSObject

+ (NSDictionary *)jsonFromInAppShow: (INInApp *)inApp withError: (INError *) error;
+ (NSDictionary *)jsonFromInApp: (INInApp *)inApp;
+ (NSDictionary *)jsonFromInAppShow: (INInAppShow *)inAppShow;
+ (NSDictionary *)jsonFromInAppProperties: (INInAppProperties *)properties;
+ (NSDictionary *)jsonFromAction: (INCoreAction *)action;
+ (NSArray<NSDictionary *>*) jsonArrayFromtopics: (NSArray<INInAppTopic *>*) topics;
+ (NSDictionary *)jsonFromInAppPageTopic:(INInAppPageTopic *) inAppPageTopic;

@end

NS_ASSUME_NONNULL_END
