export default SimpleCampaign; /** * The SimpleCampaign model module. * @module model/SimpleCampaign */ declare class SimpleCampaign { /** * Initializes the fields of this object. * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). * Only for internal use. */ static initialize(obj: any): void; /** * Constructs a SimpleCampaign from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @param {SimpleCampaign} [obj] Optional instance to populate. * @returns {SimpleCampaign} The populated SimpleCampaign instance. */ static constructFromObject(data: Partial, obj?: SimpleCampaign): SimpleCampaign; /** * Validates the JSON data with respect to SimpleCampaign. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @returns {boolean} to indicate whether the JSON data is valid with respect to SimpleCampaign. */ static validateJSON(data: Partial): boolean; id: string | undefined; name: string | undefined; campaign_type: string | undefined; type: (keyof typeof SimpleCampaign.TypeEnum) | undefined; is_referral_code: boolean | undefined; voucher: SimpleCampaignVoucher | undefined; referral_program: ReferralProgram | undefined; auto_join: boolean | undefined; join_once: boolean | undefined; active: boolean | undefined; category_id: string | undefined; category: string | undefined; categories: Array | undefined; metadata: any | undefined; start_date: Date | undefined; expiration_date: Date | undefined; description: string | undefined; created_at: Date | undefined; updated_at: Date | undefined; object: (keyof typeof SimpleCampaign.ObjectEnum) | undefined; } declare namespace SimpleCampaign { namespace TypeEnum { let AUTO_UPDATE: string; let STATIC: string; let STANDALONE: string; } namespace ObjectEnum { let campaign: string; } } import SimpleCampaignVoucher from './SimpleCampaignVoucher'; import ReferralProgram from './ReferralProgram'; import Category from './Category';