export default CustomEvent; /** * The CustomEvent model module. * @module model/CustomEvent */ declare class CustomEvent { /** * 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, customer: any): void; /** * Constructs a CustomEvent 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 {CustomEvent} [obj] Optional instance to populate. * @returns {CustomEvent} The populated CustomEvent instance. */ static constructFromObject(data: Partial, obj?: CustomEvent): CustomEvent; /** * Validates the JSON data with respect to CustomEvent. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @returns {boolean} to indicate whether the JSON data is valid with respect to CustomEvent. */ static validateJSON(data: Partial): boolean; /** * Constructs a new CustomEvent. * @alias CustomEvent * @param {SimpleCustomerRequiredObjectType} customer */ constructor(customer: SimpleCustomerRequiredObjectType); id: string | undefined; object: (keyof typeof CustomEvent.ObjectEnum) | undefined; type: string | undefined; customer: SimpleCustomerRequiredObjectType; referral: CustomEventReferral | undefined; loyalty: CustomEventLoyalty | undefined; metadata: any | undefined; created_at: Date | undefined; } declare namespace CustomEvent { let RequiredProperties: string[]; namespace ObjectEnum { let event: string; } } import SimpleCustomerRequiredObjectType from './SimpleCustomerRequiredObjectType'; import CustomEventReferral from './CustomEventReferral'; import CustomEventLoyalty from './CustomEventLoyalty';