/** * Audius API * * The version of the OpenAPI document: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface Event */ export interface Event { /** * * @type {string} * @memberof Event */ eventId: string; /** * * @type {string} * @memberof Event */ eventType: EventEventTypeEnum; /** * * @type {string} * @memberof Event */ userId: string; /** * * @type {string} * @memberof Event */ entityType?: EventEntityTypeEnum; /** * * @type {string} * @memberof Event */ entityId?: string; /** * * @type {string} * @memberof Event */ endDate?: string; /** * * @type {boolean} * @memberof Event */ isDeleted?: boolean; /** * * @type {string} * @memberof Event */ createdAt: string; /** * * @type {string} * @memberof Event */ updatedAt: string; /** * * @type {object} * @memberof Event */ eventData: object; } /** * @export */ export declare const EventEventTypeEnum: { readonly RemixContest: "remix_contest"; readonly LiveEvent: "live_event"; readonly NewRelease: "new_release"; }; export type EventEventTypeEnum = typeof EventEventTypeEnum[keyof typeof EventEventTypeEnum]; /** * @export */ export declare const EventEntityTypeEnum: { readonly Track: "track"; readonly Collection: "collection"; readonly User: "user"; }; export type EventEntityTypeEnum = typeof EventEntityTypeEnum[keyof typeof EventEntityTypeEnum]; /** * Check if a given object implements the Event interface. */ export declare function instanceOfEvent(value: object): value is Event; export declare function EventFromJSON(json: any): Event; export declare function EventFromJSONTyped(json: any, ignoreDiscriminator: boolean): Event; export declare function EventToJSON(value?: Event | null): any;