export default EventsCreateRequestBody; /** * The EventsCreateRequestBody model module. * @module model/EventsCreateRequestBody */ declare class EventsCreateRequestBody { /** * 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 EventsCreateRequestBody 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 {EventsCreateRequestBody} [obj] Optional instance to populate. * @returns {EventsCreateRequestBody} The populated EventsCreateRequestBody instance. */ static constructFromObject(data: Partial, obj?: EventsCreateRequestBody): EventsCreateRequestBody; /** * Validates the JSON data with respect to EventsCreateRequestBody. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @returns {boolean} to indicate whether the JSON data is valid with respect to EventsCreateRequestBody. */ static validateJSON(data: Partial): boolean; /** * Constructs a new EventsCreateRequestBody. * Request body schema for **POST** `v1/events`. * @alias EventsCreateRequestBody * @param {Customer} customer */ constructor(customer: Customer); event: string | undefined; customer: Customer; referral: EventsCreateRequestBodyReferral | undefined; loyalty: EventsCreateRequestBodyLoyalty | undefined; metadata: any | undefined; } declare namespace EventsCreateRequestBody { let RequiredProperties: string[]; } import Customer from './Customer'; import EventsCreateRequestBodyReferral from './EventsCreateRequestBodyReferral'; import EventsCreateRequestBodyLoyalty from './EventsCreateRequestBodyLoyalty';