export default TemplatesCampaignsCampaignSetupCreateRequestBody; /** * The TemplatesCampaignsCampaignSetupCreateRequestBody model module. * @module model/TemplatesCampaignsCampaignSetupCreateRequestBody */ declare class TemplatesCampaignsCampaignSetupCreateRequestBody { /** * 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 TemplatesCampaignsCampaignSetupCreateRequestBody 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 {TemplatesCampaignsCampaignSetupCreateRequestBody} [obj] Optional instance to populate. * @returns {TemplatesCampaignsCampaignSetupCreateRequestBody} The populated TemplatesCampaignsCampaignSetupCreateRequestBody instance. */ static constructFromObject(data: Partial, obj?: TemplatesCampaignsCampaignSetupCreateRequestBody): TemplatesCampaignsCampaignSetupCreateRequestBody; /** * Validates the JSON data with respect to TemplatesCampaignsCampaignSetupCreateRequestBody. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @returns {boolean} to indicate whether the JSON data is valid with respect to TemplatesCampaignsCampaignSetupCreateRequestBody. */ static validateJSON(data: Partial): boolean; name: string | undefined; description: string | undefined; type: (keyof typeof TemplatesCampaignsCampaignSetupCreateRequestBody.TypeEnum) | undefined; join_once: boolean | undefined; auto_join: boolean | undefined; use_voucher_metadata_schema: boolean | undefined; vouchers_count: number | undefined; start_date: Date | undefined; expiration_date: Date | undefined; validity_timeframe: ValidityTimeframe | undefined; validity_day_of_week: (Array) | undefined; validity_hours: ValidityHours | undefined; activity_duration_after_publishing: string | undefined; category_id: string | undefined; category: string | undefined; metadata: any | undefined; access_settings: AccessSettings | undefined; voucher: TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher | undefined; } declare namespace TemplatesCampaignsCampaignSetupCreateRequestBody { namespace TypeEnum { let AUTO_UPDATE: string; let STATIC: string; let STANDALONE: string; } let ValidityDayOfWeekEnum: { /** * value: 0 * @constant */ "0": number; /** * value: 1 * @constant */ "1": number; /** * value: 2 * @constant */ "2": number; /** * value: 3 * @constant */ "3": number; /** * value: 4 * @constant */ "4": number; /** * value: 5 * @constant */ "5": number; /** * value: 6 * @constant */ "6": number; }; } import ValidityTimeframe from './ValidityTimeframe'; import ValidityHours from './ValidityHours'; import AccessSettings from './AccessSettings'; import TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher from './TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher';